1-64 Command Descriptions Rev. A
m specifies the printing position within the entire range of printed digits, as follows:
GS C 1 aL aH bL bH n r
[Name] Select count mode (A)
[Format] ASCII GS C 1 a
L aH bL bH nr
Hex 1D 43 31 a
L aH bL bH nr
Decimal 29 67 49 a
L aH bL bH nr
[Range] 0 ≤ a
L ≤ 255
0 ≤ a
H ≤ 255
0 ≤ b
L ≤ 255
0 ≤ b
H ≤ 255
0 ≤ n ≤ 255
0 ≤ r ≤ 255
GS C 2 nL nH
[Name] Set counter
[Format] ASCII GS C 2 n
L nH
Hex 1D 43 32 nL nH
Decimal 29 67 50 nL nH
[Range] 0 ≤ nL ≤ 255
0 ≤ n
H ≤ 255
m
Printing Position Processing of Digits Less Than Those Specified
0,48 Align right Adds spaces to the left
1,49 Align right Adds "0" to the left
2,50 Align left Adds spaces to the right
Program Example Print Sample
PRINT #1, CHR$(&H1D);"C0";CHR$(3);CHR$(0); AAAAA 1 ←
Align right and adds spaces to the left
PRINT #1, "AAAAA"; CHR$(&H1D);"c";CHR$(&HA); BBBBB0002 ←
Align right and adds "0" to the left
PRINT #1, CHR$(&H1D);"C0";CHR$(4);CHR$(1);
PRINT #1, "BBBBB"; CHR$(&H1D);"c";CHR$(&HA);
Comments to this Manuals