User`s manual
1 DATECS EP-50
60 61
User’s Manual
In the Chinese version of the printer one of the following supported code tables is
selected according to the value of n:
n Code Table
0 USA (CP437)
1 Chinese GB2312
44. 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
45. 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] 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.
Code pages 20, 21, 22 and 23 (CP858, CP852 + Euro, CP808 and CP857
+ Euro) are not hard-coded code pages, i.e. they do not have the Euro
Symbol built in. They are produced by giving the Euro symbol position
the proper value. If ESC # is used with some of these pages the Euro
symbol position will be changed, i.e. it will not appear twice.
Even if the code page is set by the DIP switches the command ESC > will
store this code page into the flash for further use.
The command <ESC t 14h> is equal to the combination of commands
<ESC t 02h> + <ESC # D5h>.
The command <ESC t 15h> is equal to the combination of commands
<ESC t 06h> + <ESC # AAh>.
The command <ESC t 16h> is equal to the combination of commands
<ESC t 07h> + <ESC # F2h>.
The command <ESC t 17h> is equal to the combination of commands
<ESC t 08h> + <ESC # D5h>.
[Default] The default value is 0 – USA CP437 code page.