Esc \ Nl Nh (Specifying The Relative Position) - Citizen CT-S2000 Command Reference Manual

Line thermal printer
Hide thumbs Also See for CT-S2000:
Table of Contents

Advertisement

ESC \ nL nH
[Function]
[Code]
[Range]
[Outline]
[Caution]
[See Also]
[Sample Program]
Specifying the relative position
<1B>H<5C>H<nL><nH>
0≤nL≤255
0≤nH≤255
This command specifies the next print start position in a relative position with respect
to the current position. The next print start position will be at a point of [(nL + nH x
256) x basic calculation pitch] inches away from the current position.
• Specification of a position outside the print area is ignored.
• If a new position is specified to the right of the current position in the direction of
printing, it should be specified as positive (+). If it is to the left, it should be as
negative (–).
• A negative value is the complement of 65536. For example, to move the position by
N pitches to the left, specify it as:
nL + nH x 256 = 65536 – N
• The basic calculation pitch is set by GS P.
• Fractions resulting from calculation are corrected with the minimum pitch of the
mechanism, and the remainder is omitted.
• In STANDARD MODE, this command uses the horizontal basic calculation pitch (x).
• In PAGE MODE, this command acts differently depending on the start point:
(1) If the start point specified by ESC T is top left or bottom right, the command
specifies the relative position in the direction perpendicular to the paper feed (The
character's side-to-side direction), using the horizontal basic calculation pitch (x).
(2) If the start point is top right or bottom left, the command specifies the relative
position in the paper feed direction (The character's side-to-side direction), using
the vertical basic calculation pitch (y).
ESC $, GS P
Refer to Sample Program and Print Results for ESC $.
- 38 -

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents