Brother International TD-2135N ESC/ P Command Reference - Page 4

Contents, Specify auto-canceling stretched characters

Page 4 highlights

ESC/P Command Reference Contents Introduction 1 What is ESC/P 2 1. Using ESC/P Commands 3 2. Examples of Using ESC/P Commands 5 3. ESC/P Command Limitations 11 3.1 Print area ...11 3.2 Characters...13 3.2.1 Character sizes 13 3.2.2 Character pitches 14 3.3 Print position...15 3.3.1 Characters 15 3.3.2 Bitmaps, barcodes and downloaded images 15 3.4 Line feed amount 16 4. Control Code List 17 5. Control Command Details 21 5.1 Character/style selection commands 21 ESC R ESC q ESC k ESC t Select international character set 21 Select character style 22 Select font 23 Select character code set 25 5.2 Text printing commands 26 ESC 4 ESC 5 ESC E ESC F ESC G ESC H ESC P ESC M ESC g ESC p ESC W SO ESC SO SI ESC SI DC2 DC4 ESC - ESC ! ESC SP ESC X Apply italic style 26 Cancel italic style 26 Apply bold style 27 Cancel bold style 27 Apply double-strike printing 28 Cancel double-strike printing 28 Apply pica pitch (10 cpi 29 Apply elite pitch (12 cpi 31 Apply micron pitch (15 cpi 32 Specify proportional characters 33 Specify double-width characters 33 Specify auto-canceling stretched characters 34 Specify auto-canceling stretched characters 34 Specify compressed characters 35 Specify compressed characters 35 Cancel compressed characters 36 Cancel auto-canceling double-width characters 36 Apply/cancel underlining 37 Global formatting 38 Specify character spacing 39 Specify character size 40 5.3 Line feed commands 41 ESC 0 ESC 2 ESC 3 ESC A Specify line feed of 1/8 inch 41 Specify line feed of 1/6 inch 41 Specify minimum line feed 42 Specify line feed of n/60 inch 42 5.4 Horizontal movement commands 43 ESC l ESC Q Specify left margin 43 Specify right margin 45 - i - Introduction

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142

ESC/P Command Reference
- i -
Introduction
Contents
Introduction ···························································································· 1
What is ESC/P? ······················································································· 2
1. Using ESC/P Commands ······································································ 3
2. Examples of Using ESC/P Commands··················································· 5
3. ESC/P Command Limitations······························································ 11
3.1 Print area
...............................................................................................................
11
3.2 Characters
.............................................................................................................
13
3.2.1 Character sizes
..........................................................................................
13
3.2.2 Character pitches
.......................................................................................
14
3.3 Print position
..........................................................................................................
15
3.3.1 Characters
..................................................................................................
15
3.3.2 Bitmaps, barcodes and downloaded images
.............................................
15
3.4 Line feed amount
...................................................................................................
16
4. Control Code List ·············································································· 17
5. Control Command Details ·································································· 21
5.1 Character/style selection commands
....................................................................
21
ESC R
Select international character set
...................................................
21
ESC q
Select character style
......................................................................
22
ESC k
Select font
.......................................................................................
23
ESC t
Select character code set
...............................................................
25
5.2 Text printing commands
........................................................................................
26
ESC 4
Apply italic style
..............................................................................
26
ESC 5
Cancel italic style
............................................................................
26
ESC E
Apply bold style
...............................................................................
27
ESC F
Cancel bold style
.............................................................................
27
ESC G
Apply double-strike printing
.............................................................
28
ESC H
Cancel double-strike printing
..........................................................
28
ESC P
Apply pica pitch (10 cpi)
..................................................................
29
ESC M
Apply elite pitch (12 cpi)
..................................................................
31
ESC g
Apply micron pitch (15 cpi)
..............................................................
32
ESC p
Specify proportional characters
......................................................
33
ESC W
Specify double-width characters
.....................................................
33
SO
Specify auto-canceling stretched characters
..................................
34
ESC SO
Specify auto-canceling stretched characters
..................................
34
SI
Specify compressed characters
......................................................
35
ESC SI
Specify compressed characters
......................................................
35
DC2
Cancel compressed characters
......................................................
36
DC4
Cancel auto-canceling double-width characters
.............................
36
ESC –
Apply/cancel underlining
.................................................................
37
ESC !
Global formatting
.............................................................................
38
ESC SP
Specify character spacing
...............................................................
39
ESC X
Specify character size
.....................................................................
40
5.3 Line feed commands
.............................................................................................
41
ESC 0
Specify line feed of 1/8 inch
............................................................
41
ESC 2
Specify line feed of 1/6 inch
............................................................
41
ESC 3
Specify minimum line feed
..............................................................
42
ESC A
Specify line feed of n/60 inch
..........................................................
42
5.4 Horizontal movement commands
..........................................................................
43
ESC l
Specify left margin
..........................................................................
43
ESC Q
Specify right margin
........................................................................
45