- 85 -
ESC $ n1 n2
CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 PMU series
Supportmodel
CT-S281
CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310II
[Function] Specifying the absolute positions
[Code] <1B>H<24>H<n1><n2>
[Range] 0≤n1≤255
0≤n2≤255
[Outline] [The specification which is commontothemodel]
• 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
designatedas n1+n2×256×basic calculation pitch fromtheleftmargin.
[Caution] [The specification which is commontothemodel]
•The basiccalculation pitchisset by GS P.After theline feed width is set, if thebasic calculation by
GSP leavesa fraction,the fraction iscorrected withthe minimum pitch of themechanism, and
the remainder is omitted.
•InSTANDARD MODE, thiscommanduses the horizontal (Paperfeed direction) basic calculation pitch(x).
•InPAGE MODE, thiscommandacts differentlydepending on thestart point:
(1)IfthestartpointspecifiedbyESCTistop rightor bottom left,thecommand usesthe vertical(Paperfeed
direction) basic calculation pitch(y).
(2) If thestart point specifiedby ESCT is top leftor bottom right, thecommanduses thehorizontal
(Perpendiculartothepaperfeeddirection) basiccalculationpitch(x).Specification beyondtheend of the
line isignored.
[See Also] ESC\, GSP, GS\, GS $
[Sample Program] [Print Results]
LPRINTCHR$(&H1B);"$";
LPRINTCHR$(0); CHR$(0);"A";
LPRINTCHR$(&H1B);"$";
LPRINTCHR$(50);CHR$(0);"B";
LPRINTCHR$(&H1B);"$";
LPRINTCHR$(0); CHR$(1);"C"; CHR$(&HA);
LPRINTCHR$(&H1B);"$";
LPRINTCHR$(100);CHR$(0);"A";
LPRINTCHR$(&H1B);"
\
";
LPRINTCHR$(&HC2); CHR$(&HFF);"B"; CHR$(&HA);
Absolute position specified
0 50 100 256
A B C
A B A
-62
Relative positionspecified