Citizen iDP-3221 Series User Manual page 67

Line thermal printer
Hide thumbs Also See for iDP-3221 Series:
Table of Contents

Advertisement

ESC
$
n1
[Function]
Specifying the absolute positions
[Code]
<1B> H <24> H < n1> <n2>
[Range]
0 n1 255
0 n2
[Outline]
The printing start position is specified in the number of dots (1/203 inch unit) from the
beginning of line.
• The number of dots is divided by 256, whose quotient is taken as "n2" and the residual as
"n1."
• Therefore, the printing start position is equal to n1 + n2
[Caution]
The basic calculation pitch is set by GS P.
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 vertical (paper feed direction) basic calculation
pitch (y).
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 uses the
(2) If the start point specified by ESC T is top right or bottom left, the command uses the
Specification beyond the end of the line is ignored.
[Default]
The initial value is not specified.
[See Also]
ESC ¥, GS P, GS Y, 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" ;
LPRINT CHR$ (&HA) ;
LPRINT CHR$ (&H1B) ; "$" ;
LPRINT CHR$ (100) ; CHR$ (0) ; "A" ;
LPRINT CHR$ (&H1B) ; "¥" ;
LPRINT CHR$ (&HC2) ; CHR$ (&HFF) ; "B" ;
LPRINT CHR$ (&HA) ;
END
n2
1
vertical (paper feed direction) basic calculation pitch (y).
horizontal (perpendicular to the paper feed direction) basic calculation pitch (x).
After the line feed width is set, if the basic
[Print Results]
51
iDP3221 User's Manual
256 from the beginning of line.
CITIZEN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Idp3221rfIdp3221pf

Table of Contents