- 120 -
2.2.14 Special Commands
ESC n n
[Function]
Setting the remaining amount of printout
[Code]
<
1B
>
H
<
6E
>
H
<
n
>
[Range]
0
≦n≦
255
(“n” in the 3rd byte denotes this command.)
[Outline]
• This command sets the remaining amount of printout after detecting paper near-end1.
• “n” is set in cm.
[Caution]
• If the paper near-end (PNE) sensor is disabled, this command has no function.
• The set value and the remaining amount of printout are not cleared by the initialize
command (ESC @).
• If a value lower than the preset value is set during PNE detection, the printer may
stop printing.
• The set value remains valid until the printer is restarted or a new value is set.
[Default]
n = 150 (150 cm)
[Sample Program]
LPRINT CHR$(&H1B); CHR$(&H6E); CHR$(100);
ESC Y n1 n2
[Function]
Specifying length of paper feed after black mark detection
[Code]
<
1B
>
H
<
59
>
H
<
n1
><
n2
>
[Range]
0
≦
n1
≦
255
0
≦
n2
≦
3
Length of paper feeding
=(
n1
+
256×n2
)
×1/203 inch
[Outline]
• This command specifies length of paper feeding after detecting black mark for 0 mm
to 127.875 mm by
(n
1
+
256×n2
)
×1/203 inch
• If length of paper feed is specified by this command and when printer receives GS+S
(Black mark detection command), printer feeds paper for the specified length after
detecting black mark.
[Default]
n=
0