Line Thermal Printer DEP-50
56
57
User’s Manual
ESC t
Selecting the character code table
[Code]
[1Bh] + [74h] + n
[Range]
{ 0 <= n <= 19 }
[Outline]
Selects the code table for ASCII codes 80h-FFh.
In the international version of the printer one of the following
supported code tables is selected according to the value of
n
:
ESC i
Cutting the paper
[Code]
[1Bh] + [69h]
[Outline]
Performs a paper feed, so the last printed line remains after the cover’s
cutting edge.
This command is valid only at the beginning of the line.
ESC p
Generating a drawer-kick pulse
[Code]
[1Bh] + [70h] + m + n1 + n2
[Range]
{ 0 <= m <= 255 }
{ 0 <= n1 <= 255 }
{ 0 <= n2 <= 255 }
[Outline]
The value of
m
is ignored.
The printer generates a 2*n1 milliseconds long pulse and
2*n2 milliseconds long rest after the pulse. n2 must be at
least four times greater than n1 or the command will be dis
carded.
[Sample Program]
LPRINT CHR$(&H1B) + “p”;
LPRINT CHR$(0);
LPRINT CHR$(5); Sets ON time to 10ms
LPRINT CHR$(50); Sets OFF time to 100ms
END
ESC m
Cutting the paper
[Code]
[1Bh] + [6Dh]
[Outline]
The command is exactly the same as ESC i.
n
Code Table
0
USA (CP437)
1
Litva
2
West Europe Latin I (CP850)
3
Brasil (CP860)
4
Poland
5
Bulgarian (CP856)
6
Central Europe Latin II (CP852)
7
Russian (CP866)
8
Turkish (CP857)
9
Windows English Latin I (CP1252)
10
Baltic (CP775)
11
Latvia
12
Greek (CP737)
13
Hebrew (CP862)
14
Windows Central European Latin II (CP1250)
15
Windows Cyrilic (CP1251)
16
Windows Greek (CP1253)
17
Windows Turkish (CP1254)
18
Windows Hebrew (CP1255)
19
Windows Baltic (CP1257)
In the Chinese version of the printer one of the following supported
code tables is selected according to the value of
n
: