Esc $ N1 N2 - Citizen CT-S280 Command Reference Manual

Hide thumbs Also See for CT-S280:
Table of Contents

Advertisement

ESC $ n1 n2

Support model
[Function]
Specifying the absolute positions
[Code]
<1B>H<24>H<n1><n2>
[Range]
0≤n1≤255
0≤n2≤255
[Outline]
[The specification which is common to the model]
• The printing start position is specified by the absolute position from the left margin with the number of dots
divided by 256 and quotient specified as "n2" and remainder as "n1". Therefore, the printing start position is
designated as n1+n2×256×basic calculation pitch from the left margin.
[Caution]
[The specification which is common to the model]
• The basic calculation pitch is set by GS P. After the line feed width is set, if the basic calculation by
GS P leaves a fraction, the fraction is corrected with the minimum pitch of the mechanism, and
the remainder is omitted.
• In STANDARD MODE, this command uses the horizontal (Paper feed direction) 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 right or bottom left, the command uses the vertical (Paper feed
direction) basic calculation pitch (y).
(2) If the start point specified by ESC T is top left or bottom right, the command uses the horizontal
(Perpendicular to the paper feed direction) basic calculation pitch (x). Specification beyond the end of the
line is ignored.
[See Also]
ESC
GS
\,
[Sample Program]
LPRINT CHR$(&H1B);"$";
LPRINT CHR$(0); CHR$(0);"A";
LPRINT CHR$(&H1B);"$";
LPRINT CHR$(50); CHR$(0);"B";
LPRINT CHR$(&H1B);"$";
LPRINT CHR$(0); CHR$(1);"C"; CHR$(&HA);
LPRINT CHR$(&H1B);"$";
LPRINT CHR$(100); CHR$(0);"A";
LPRINT CHR$(&H1B);" \ " ;
LPRINT CHR$(&HC2); CHR$(&HFF);"B"; CHR$(&HA);
CT-S280
CT-S300
CT-S281
CT-S310
P,
GS
GS $
\,
CT-S2000
CT-S4000
CT-S801/851
CT-S601/651
[Print Results]
Absolute position specified
0
50
A
B
A
B
-62
Relative position specified
- 81 -
CT-S251
CT-P29x series
CT-S310 II
100
256
C
A

Advertisement

Table of Contents
loading

Table of Contents