IBM TF6 Printer User Manual


 
where:
n1 The high-order byte of the dot offset from the beginning of the print
line.
n2 The low-order byte of the dot offset from the beginning of the print
line.
Default:
n1=0,n2=0
Remarks:
In the customer receipt station, 1 mm = 8 dots.
In the document station, 1 inch = 150 half-dots (75 dots).
n1 and n2 are hex values. Convert each to decimal. Then, use this formula
to get the decimal equivalent: (n1 × 256) + n2.
If the number exceeds the printable area, it is ignored.
The maximum value for the customer receipt station is 576. The maximum
value for the document insert station is 474.
In the customer receipt station, this number is rounded back to a factor of
8.
This command should be sent after “Set print station parameters” on page
136.
Set relative position
EIA-232 Syntax:
ESC <5C>h n1 n2 or X'1B5C;n1;n2'
where:
n1 The high-order byte of the dot offset from the left margin.
n2 The low-order byte of the dot offset from the left margin.
Default:
n1=0,n2=0
Remarks:
In the thermal station, 1 mm = 8 dots.
In the impact station, 1 in. = 75-dots (150 half-dots).
n1 and n2 are hex values. Convert each to decimal, then use this formula
to get the decimal equivalent: (n2 × 256) + n1
To move the position to the left, use a negative number.
Example: To move N dots to the left 65536 N.
If this number plus the left margin exceeds the printable area it is ignored.
See “Set left margin position” on page 138.
In the customer receipt station, this number is rounded back to a factor of
8.
Align positions
EIA-232 Syntax:
ESC a n or X'1B61;n'
Updated April 2, 2009
Appendix D. EIA-232 programming information 139