22
49. GS L n1 n2
Setting the left margin
[Code]
[1Dh] + [4Ch] + n1 + n2
[Range]
{0 <= n1 <= FFh}
{0 <= n2 <= FFh}
{n1+256*n2 < 432}
[Outline] Sets the position in dots (1/203 inches) from which each line starts. This command works only if
entered at the beginning of the line. The start position is equal to
n1+256*n2
dots from the left end
of the printable area.
[Caution] If a value that exceeds the length of the print area is set the left margin is set to 0.
[Default] Default value is 0.
50. (1)GS V m
(2)GS V m n
Cutting the paper
[Code]
(1) [1Dh] + [56h] + m
(2) [1Dh] + [56h] + m + n
[Range]
(1) {m=1, m=49}
(2) {m=66}
{0 <= n <= 255}
[Outline] Depending on the value of m one of the following actions is performed:
- if m=1 or m=49 (‘1’) a paper feed, so the last printed line remains after the auto cutter’s edge is
performed. Then the paper is cut.
- if m=66 (‘B’) the paper is fed by n/8 mm and the cut.
In both cases the paper is first fed to the cut position so the last printed line remains after the
cutter’s edge. This means that in case (2) the paper is fed by “cut po n/8” millimeters total.
51. (1) GS k m [ d ] k NUL
(2) GS k m n [ d ] k
(3) GS k m a [ d ] k NUL
(4) GS k m a xL xH [ d ] k
Printing the bar code
[Code]
(1)
[1Dh] + [6Bh] + m + D
i
+ [00h]
(2) [1Dh] + [6Bh] + m + n + D
i
(3) [1Dh] + [6Bh] + m + a + D
i
+ [00h]
(4) [1Dh] + [6Bh] + m + a + xL + xH + D
i
[Range] (1) {0 <= m <= 6}
(2) {65 <= m <= 73}
(3) {m=9; a=0,1}
(4) {m=74; 256*xH+xL<=3000; a=0,1}
[Outline] Specifying a type of bar code and printing bar codes.
• The beginning of line is considered as the next printing start position.
• Depending on the value of m, the following bar code can be selected.
d
indicates a bar code data to be printed and
k
indicates the number of character to be printed.
n
indicates indicates number of characters when
65 <= m <= 73.
a
is a setting for PDF-417 bar code. Setting
a
=0 will make the printer to automatically choose
PDF-417 compression modes, while
a
=1 will force byte compression mode.
xL
and
xH
indicates the number of bytes for PDF-417 bar code when
m
=74. The number of bytes
is equal to
256*xH+xL
.
m
determines bar code type and it is one of the following: