Line Thermal Printer DEP-50
60
61
User’s Manual
[Sample Program]
LPRINT CHR$ (&H1B) + “{“ + CHR$ (0);
LPRINT “AAAAA” + CHR$ (&HA);
LPRINT “BBBBB” + CHR$ (&HA);
LPRINT CHR$ (&H1B) + “{“ + CHR$ (1);
LPRINT “AAAAA” + CHR$ (&HA);
LPRINT “BBBBB” + CHR$ (&HA);
[Print Results]
Inversion Canceled
Inversion Specificed
Paper Feed Direction
GS (A pL pH n m
Printing 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 ,)
GS B n
Specifying/canceling the black/white inverted printing
[Code]
[1Dh] + [62h] + n
[Range]
{ 0 <= n <= 255 }
[Outline]
According to the least significant bit of n (n0) the following modes
are possible:
n0 = 0 – Black/white inverted printing is canceled
n0 = 1 – Black/white inverted printing is specified
The space skipped by tab command or by positioning commands
(ESC $, ESC \) is not affected.
Both built-in and downloaded character sets are inverted by this
command.
The black/white inversion works on the right space defined by ESC SP
command.
[Default]
The initial value is n=0
[Sample Program]
LPRINT CHR$(&H1D) + “B” + CHR$(0);
LPRINT “AAAAA”;
LPRINT CHR$(&H1D) + “B” + CHR$(1);
LPRINT “AAAAA”;
[Print Results]
AAAAA
AAAAA