Epson TM-H5000/H5000P Printer User Manual


 
Commands 5-13
[Description] The horizontal starting position, vertical starting position,
printing area width, and printing area height are defined as x0,
y0, dX, dY, respectively.
Each setting for the printing area is calculated as follows:
x0 = [(
x
L
+
x
H
( 256) × (horizontal motion unit)]
y0 = [(
y
L
+
y
H
( 256) × (vertical motion unit)]
d
x
= [
dx
L
+
dx
H
( 256) × (horizontal motion unit)]
d
y
= [
dy
L
+
dy
H
( 256) × (vertical motion unit)]
ESC \
n
L
n
H
[Name] Set relative print position
[Format] ASCII ESC \
n
L
n
H
Hex 1B 5C
n
L
n
H
Decimal 27 92
n
L
n
H
[Range] 0
n
L
255
0
n
H
255
[Description] Sets the print starting position based on the current position.
This command sets the distance from the current position to [(
n
L
+
n
H
× 256) × horizontal or vertical motion unit]
ESC a
n
[Name] Select justification
[Format] ASCII ESC a
n
Hex 1B 61
n
Decimal 27 97
n
[Range] 0
n
2, 48
n
50
[Description] Aligns all the data in one line to the specified position
n
selects the justification as follows
:
ESC c 0
n
[Name] Select paper type(s) for printing
[Format] ASCII ESC c 0
n
Hex 1B 63 30
n
Decimal279948
n
[Range] 1
n
4
nJustification
0, 48 Left justification
1, 49 Centering
2, 50 Right justification