Esc \ Nl Nh Set Relative Horizontal Printing Position - SNBC BTP-R580II Programming Manual

Table of Contents

Advertisement

1D 50 CB CB (set printer resolution to 203×203)
1B 4C (enter page mode)
1B 57 20 00 00 00 40 01 90 01 (set print area in page mode)
1B 24 00 00 (set absolute horizontal starting position to be starting point)
41
1B 24 32 00 (set absolute horizontal starting position to be 50/203 inch)
42
1B 24 64 00 (set absolute horizontal starting position to be 100/203 inch)
43
0A (new line)
1B 24 00 00 (set absolute horizontal starting position to be starting point)
41
1B 5C 32 00 (set relative horizontal starting position to be 50/203 inch)
42
1B 5C 64 00 (set relative horizontal starting position to be 100/203 inch)
43
0A (new line)
0C (print in page mode)
Result:

ESC \ nL nH Set relative horizontal printing position

[Function]
Set the print starting position based on the current position by using the horizontal or
vertical motion unit.
• This command sets the distance from the current position to the print position to be
[ (nL + nH × 256) × horizontal or vertical motion unit].
[Format]
ASCII
Hex
Decimal 27
[Range]
0 ≤ nl ≤ 255
0 ≤ nH ≤ 255
[Notes]
• Any setting that exceeds the printable area is ignored.
• When pitch N is specified to the right: nL+ nH × 256 = N.
• When pitch N is specified to the left, use the complement code: nL+ nH × 256 =
65536 – N.
• The print starting position moves from the current position to [N × horizontal or
vertical motion unit].
ESC
\
nL nH
1B
5C
nL nH
92
nL nH
BTP-R580II Programming Manual
- 10 -

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents