36. GS (A pL pH n m
Print a self-test
[Code]
[1Dh] + [28h] + [41h] + pL + pH + n + m
[Range]
{ 0 <=
pL
<= 255 }
{ 0 <=
pH
<= 255}
{ 0 <=
n
<= 255 }
{ 2 <=
m
<= 3 }
[Outline]
This command is intended for compatibility purposes. A “short” or
“long” test is printed depending on the value of m.
m = 2 – printing a “long” test (ESC .)
m = 3 – printing diagnostic information (“short” test) (ESC T)
37. GS L n1 n2
Set left margin
[Code]
[1Dh] + [4Ch] + n1 + n2
[Range]
{0 <= n1 <= FFh}
{0 <= n2 <= FFh}
[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.
[Default]
Default value is n1=n2=0.
38. (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:
case (1)
- if m=0 or m=48 (‘0’) a full cut is performed
- if m=1 or m=49 (‘1’) a partial cut is performed
case (2)
- if m=65 (‘A’) the paper is fed by n/8 mm and then a full cut is
performed
- if m=66 (‘B’) the paper is fed by n/8 mm and then a partial cut is
performed
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 prior to
cutting.
39. GS W
Select printable area width
[Code]
[1Dh] + [57h] + n1 + n2
[Outline]
This command sets width of the printable area
n1+256*n2
dots.