Esc J N Print And Feed Paper; Esc D N Print And Feed N Lines - SNBC BTP-R580II Programming Manual

Table of Contents

Advertisement

ESC J n Print and feed paper

[Function]
Print the data in buffer and feed paper [n × vertical/horizontal motion unit] inch.
[Format]
ASCII
Hex
Decimal 27
[Range]
0 ≤n ≤ 255
[Notes]
• After printing is completed, this command sets the current print position to the
beginning of the line.
• The paper feed amount set by this command is not affected by the values set by ESC
2 or ESC 3.
• The horizontal and vertical motion unit is specified by GS P.
• In standard mode, the printer uses the vertical motion unit (y).
• In page mode, this command functions as follows, depending on the direction and
print starting position of the print area:
① When the print starting position is set to the upper left or lower right of the print
② When the starting position is set to the upper right or lower left of the print area by
• The maximum paper feed amount is 1016mm (40 inches). When the setting value
exceeds the maximum, it is converted to the maximum automatically.
[Relative]
GS P
[Example]
1B 40 (Initialize the printer)
1D 50 CB CB (set the resolution to 203×203)
41 41 41 41 41 41 41 (data to be printed)
1B 4A 50 (print and feed paper 80/203 inch)
42 42 42 42 42 42 42 0A (data to be printed)
Result:

ESC d n Print and feed n lines

[Function]
Print the data in buffer and feed n lines (character line).
[Format]
ASCII
Hex
Decimal 27
[Range]
0 ≤n ≤ 255
[Notes]
• This command sets the print starting position to the beginning of the line.
• This command does not affect the line spacing set by ESC 2 or ESC 3.
ESC J n
1B
4A n
74 n
area by ESC T, the vertical motion unit (y) is used;
ESC T, the horizontal motion unit (x) is used;
ESC
d
n
1B
64
n
100 n
BTP-R580II Programming Manual
- 4 -

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents