Specifications

EM 220
Rev. 1.00
- 21 -
Mobile Printer Command Manual
ESC T n
[Name]
[Format]
[Range]
[Default]
[Description]
Select print direction in page mode.
ASCII ESC T n
Hex 1B 54 n
Decimal 27 84 n
0 n 3, 48 n 51
n=o
Selects the print direction and starting position in page mode.
n Print Direction Starting Position
0,48 Left right Upper left
1,49 Bottom to top Lower left
2,50 Right left Lower right
3,51 Top bottom Upper right
ESC W xL xH yL yH dxL dxH dyL dyH
[Name]
[Format]
[Range]
[Default]
[Description]
Set relative print position.
ASCII ESC W xL xH yL yH dxL dxH dyL dyH
Hex 1B 57 xL xH yL yH dxL dxH dyL dyH
Decimal 27 87 xL xH yL yH dxL dxH dyL dyH
0 (xL + xH x 256) 65535 (0 xL 255, 0 xH 255)
0 (yL + yH x 256) 65535 (0 yL 255, 0 yH 255)
1 (dxL + dxH x 256) 65535 (0 dxL 255, 0 dxH 255)
1 (dyL + dyH x 256) 65535 (0 dyL 255, 0 dyH 255)
Horizontal logical origin and vertical logical origin = 0
xL=0, xH =0, yL=0, yH=0
dxL = 128, dxH = 1, dyL = 72, dyH = 3
When paper width of 58mm is selected:
(xL + xH x 256) = 0 (xL=0, xH=0)
(dyL + dyH x 256) = 840 (dyL=72, dyH=3)
Set the position and the size of the printing area.
-
Horizontal starting position = [(xL + xH x 256) x (horizontal motion units)].
- Vertical starting position = [(yL + yH x 256) x (vertical motion units)].
-
Horizontal printing area width = [(dxL + dxH x 256) x (horizontal motion units)].
-
Vertical printing area width = [(dyL + dyH x 256) x (vertical motion units)].
The printer ignores any setting that exceeds the print area.