Brother International TD-4410D ESC/ P Command Reference - Page 13

Step 2: Specify the length., Step 3: Specify the horizontal position., ESC $ CBh 00h

Page 13 highlights

ESC/P Command Reference Step 2: Specify the page length. ESC (C Specify page length 5inches ASCII: ESC ( C nL nH mL mH Decimal: 27 40 67 nL nH mL mH Hexadecimal: 1B 28 43 nL nH mL mH Parameters nL=2, nH=0 0≤(mL+mH*256)

  • 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

ESC/P Command Reference
- 7 -
2. Examples of Using ESC/P Commands
Step 2: Specify the page length.
ESC (C
Specify page length
ASCII:
ESC
(
C
nL
nH
mL
mH
Decimal:
27
40
67
nL
nH
mL
mH
Hexadecimal: 1B
28
43
nL
nH
mL
mH
Parameters
nL=2, nH=0
0
mL+mH*256
<8192(for 203dpi printers)
0
mL+mH*256
<12000(for 300dpi printers)
Description
Specifies the page length.
* A page length 0 indicates the Auto setting.
The unit is 1 dot.
Page length=mL+mH*256
The current paper position is the TOF.
The top and bottom margins are canceled with ESC ( c.
All previously entered text is cleared.
A standard unit is not used.
This command is available only with continuous length tape.
5inches
*The page length does not include the margins.
For the margins, subtract 6 mm (48 dots) from the page length.
nL
nH
mL
mH
ESC ( C 02h 00h C7h 03h
Entered command
5 inches=1015 dots
1015 dots–
48 dots
=967 dots
Page length=mL+mH*256=967
=
=
3
03h
=
=
199
C7h
Example: A case 203dpi printer is used
Step 3: Specify the horizontal position.
1 inch
1 inch=203 dots
Horizontal position=n1+n2*256=203
ESC $ CBh 00h
n1
n2
Entered command
=
=
203
CBh
0
00h
=
=
Example: A case 203dpi printer is used