COMMAND SETS (ESC/P2)
Function Command
Set vertical tabs
The values of n
1
to n
k
in this
command are the ASCII values of the
lines (at the current line spacing)
at which tabs are to be set.
(1 <
n < 255) (1 < k < 16)
Move to dot line (d
1
+ d
2
× 256)/360
(*1)
inch
n
1
= 2, n
2
= 0
(0 <
d
1
< 255) (0 < d
2
< 127)
Vertical relative move by (d
1
+ d
2
× 256)/360
(*1)
Inch
n
1
= 2, n
2
= 0
(0 <
d
1
< 255) (0 < d
2
< 127)
-32768 <
d
1
+ d
2
256 × 32768
ESC ( v (n
1
) (n
2
)
ESC B (n
1
)...
(n
k
) NUL
ESC ( V (n
1
) (n
2
)
(d
1
) (d
2
)
(d
1
) (d
2
)
Page Formatting
Set right margin to column n
(1 <
n < 255)
Set left margin to column n
(0 <
n < 255)
Set top and bottom margins from top of page
n
1
= 4, n
2
= 0
• Top margin = (t
1
+ t
2
× 256)/360
(*1)
inch
(0 <
t
1
< 255) (0 < t
2
< 127)
• Bottom margin = (b
1
+b
2
× 256)/360
(*1)
inch
(0 <
b
1
< 255)
(0 <
b
2
< 127)
Set perforation skip by n lines
(1 <
n < 127)
Perforation skip off
Set page length to n lines (1 <
n < 127)
Set page length to n inches (1 <
n < 22)
Set page length to (d
1
+ d
2
× 256)/360
(*1)
inch
n
1
= 2, n
2
= 0
(0 <
d
1
< 255) (0 < d
2
< 127)
ESC l (n)
(t
1
) (t
2
) (b
1
) (b
2
)
ESC Q (n)
ESC ( c (n
1
) (n
2
)
ESC N (n)
ESC O
ESC C (n)
ESC C NUL (n)
ESC ( C (n
1
) (n
2
)
(d
1
) (d
2
)
*1
The value depends on the pitch set by the ESC (U command.
The default is 1/360 inch.
C-30 User's Manual