1-36 Command Descriptions Rev. A
GS $ nL nH
[Name] Set absolute vertical print position in page mode
[Format] ASCII GS $ n
L nH
Hex 1D 24 nL nH
Decimal 29 36 nL nH
[Range] 0 ≤ nL ≤ 255
0 ≤ n
H ≤ 255
GS \ nL nH
[Name] Set relative vertical print position in page mode
[Format] ASCII GS \ n
L nH
Hex 1D 5C nL nH
Decimal 29 92 nL nH
[Range] 0 ≤ nL ≤ 255
0 ≤ n
H ≤ 255
GS $ n
L nH sets the absolute vertical print starting position for buffer character data in page mode to
[(n
L + nH × 256) × (vertical or horizontal motion unit)] inches. This command is effective only in page
mode.
GS \ n
L nH moves the vertical print starting position in page mode to [(nL + nH × 256) × (vertical or
horizontal motion unit)] inches from the current position. This command is ignored in standard
mode. Use the complement of N for setting pitch movement upward: − N pitch = 65536 − N, where
N=(n
L + nH × 256).
The horizontal and vertical motion units set by GS P are used for the print direction set by ESC T.
Program Example Print Sample
PRINT #1, CHR$(&H1D);"P";CHR$(180);CHR$(180);
PRINT #1, CHR$(&H1B);"L";← Select page mode
PRINT #1, CHR$(&H1B);"W";CHR$(0);CHR$(0);CHR$(0);CHR$(0);
CHR$(180);CHR$(0);CHR$(132);CHR$(3);
PRINT #1, CHR$(&H1B);"T";CHR$(0);← Select print direction
PRINT #1, "AAAAA"; CHR$(&HA);← Store characters for printing
PRINT #1, "BBBBB";
PRINT #1, CHR$(&H1D);"$";CHR$(90);CHR$(0);
PRINT #1, "CCCCC"; CHR$(&HA);← Store characters for printing
PRINT #1, "DDDDD"; CHR$(&HA);← Store characters for printing
PRINT #1, "EEEEE";
PRINT #1, CHR$(&H1D);"\";CHR$(90);CHR$(0);
PRINT #1, "FFFFF"; CHR$(&HC);← Batch print and return to standard mode
AAAAA
BBBBB
CCCCC
DDDDD
EEEEE
FFFFF
← Printing
area set
by ESC W
90/180 inch
90/180 inch
Comments to this Manuals