Line Thermal Printer DEP-50
58
59
User’s Manual
ESC x n
Reversing the print direction
[Code]
[1Bh] + [78h] + n
[Outline]
This command changes the characters’ print direction from left to
right to right to left. The character itself is not mirrored horizontally.
The command is intended for languages that use right to left
scripting, like Hebrew and Arabic.
Only the lowest bit of “
n
” is valid with the following meaning:
0
– left to right printing
1
– right to left printing
[Caution]
The command changes only the print direction of the characters - all
graphics and bar codes are unaffected.
This command is ignored in the Chinese version of the printer.
The command reverses all print attributes of the line and the characters,
though the characters themselves are not mirrored horizontally.
Though the command allows mixing reversed and non-reversed
characters in one line the print results could be unsatisfactory and
unreliable.
[Default]
The default value is 0 – left to right printing.
[Exsample]
n
Code Table
0
USA (CP437)
1
Chinese GB2312
[Caution]
In the international version of the printer when the code page is set
by the DIP switches the command is disabled and a code page
other than this one cannot be set.
In the Chinese version of the printer the code table can be changed
regardless of the DIP switch setting.
If the code page is set by the DIP switches the command ESC > wil
store this code page into the flash for further use.
[Default]
The default value is 0 – USA CP437 code page.
ESC v
Transmitting the printer status
[Code]
[1Bh] + [76h]
[Outline]
Current printer status is transmitted..
Status sent out consists of 1 byte whose content is as in the
table below.
Bit
Function
Value 0
Value 1
0
Not defined
1
Not defined
2
Paper end
With paper
Without paper
3
Head temperature
Normal
Overheated
4
Not defined
5
Not defined
6
Not defined
7
Not defined
[Sample Program]
OPEN “COM1:N81NN” AS #1 ;
PRINT #1, CHR$ (&H1B) ; “v” ;
A$ = INPUT$ (1, #1) ;
CLOSE #1
END
ESC { n
Specifying/Canceling the Inverted Characters
[Code]
[1Bh] + [7Bh] + n
[Range]
{0 <= n <= FFh}
[Outline]
Specifying/canceling inverted characters.
•
“n” is valid only for the lowest bit (n0).
•
Bit n (n0) means the followings.
0
Canceling inverted characters.
1
Specifying inverted characters.
[Caution]
•
Inverted printing means printing the line at 180º turned.
•
Valid is the last value specified in a line.
[Default]
•
The initial value of n is “0”.