Справочник Пользователя для IBM TF7

Скачать
Страница из 210
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. 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 130.
Set Relative Position
RS-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. 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 right
⇒ 65536 − N.
If this number plus the left margin exceeds the printable area it is ignored.
In the customer receipt station, this number is rounded back to a factor of
8.
Align Positions
RS-232 Syntax:
ESC a or X'1B61;n'
where:
n=00
Align Left
n=01
Align Center
n=02
Align Right
updated March 18, 2002
134
SureMark DBCS User’s Guide