Line Thermal Printer DEP-50
54
55
User’s Manual
ESC a n
Aligning the characters
[Code]
[
1Bh] + [61h] + n
[Range]
{0 <= n <= 2}
{4 <= n <=6 }
[Outline]
This command is extended and has the following format:
All the printed text data, the barcode or the raster bit image (GS v0)
within one line are aligned in the specified position. If used before
printing a barcode with this command can be specified vertical
direction for printing the barcode.
•
Depending on
n
value, positional alignment is carried out as in the
table below:
Left-justified
Centred
Right-justified
Paper Feed Direction
0
Left end alignment
1
Centering
2
Right end alignment
4
Left end aligned vertical barcode
5
Centered vertical barcode
6
Right end aligned vertical barcode
[Default]
•
The initial value of n is “0”.
[Sample Program]
LPRINT CHR$ (&H1B) + “a” + CHR$ (0);
LPRINT “AAAAA” + CHR$ (&HA);
LPRINT CHR$ (&H1B) + “a” + CHR$ (1);
LPRINT “AAAAA” + CHR$ (&HA);
LPRINT CHR$ (&H1B) + “a” + CHR$ (2);
LPRINT “AAAAA” + CHR$ (&HA);
[Print Results]
ESC c5 n
Enabling/Disabling Panel Switches
[Code]
[1Bh] + [63h] + [35h] + n
[Range]
{0 <= n <= FFh}
[Outline]
Selecting the LF switch valid/invalid.
•
“n” is valid only in the lowest bit (n0).
•
“n” bit means the followings.
0
LFSW valid.
1
LFSW invalid.
[Caution]
When the panel switch is disabled with this command, the LF switch
is disabled. Therefore, the paper cannot be fed by op erating the LF
switch.
[Default]
•
The initial value of n is “0”.
[Sample Program]
LPRINT CHR$ (&H1B) + “c5” + CHR$ (0); ¼¼
When enabling the LF switch
LPRINT CHR$ (&H1B) + “c5” + CHR$ (1); ¼¼
When disabling the LF switch
ESC d n
Printing and Feeding the paper by n lines
[Code]
[1Bh] + [64h] + n
[Range]
{0 <= n <= FFh}
[Outline]
Prints data inside the buffer and feeds paper by n lines.
•
Specified line does not remain.
•
The beginning of the line is to be considered as the next printing
start position.
[Default]
•
The initial value is not defined.
[Sample Program]
LPRINT “AAAAA”
LPRINT CHR$ (&H1B) + “d” + CHR$ (2);
LPRINT “AAAAA” + CHR$ (&HA);
[Print Results]
2/6-inch line feed