User`s manual
1 DATECS EP-50
34 35
User’s Manual
7. ESC # n
Setting the Euro symbol position
[Code] [1Bh] + [23h] + n
[Range] {0 <= n <= FFh}
[Outline] This command is provided because most of the old OEM/DOS code
pages do not have the euro symbol mapped. This command shows the
direct position of the euro symbol in the code table. If n is given value
less than 20h the Euro symbol will not be shown.
[Caution] When the code page is changed the Euro symbol position is cleared!
The Euro symbol position must be re-entered any time the code page is
changed (see below).
Any symbol of the code table could be remapped, with no restrictions.
The user must take care not to remap some of the most commonly used
symbols.
Some of the code pages supported by the printer (Windows code
pages) include the Euro symbol, using the command in such case will
result in Euro symbol appearing twice in the code table.
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 the command is used with some of these pages the
Euro symbol position will be changed, i.e. it will not appear twice.
The command ESC > stores the Euro symbol position for further use as
a default value.
[Default] n = 0 (Not selected)
if code page = 20 (CP858), n = D5h;
if code page = 21 (CP852 + Euro), n = AAh;
if code page = 22 (CP808), n = F2h;
if code page = 23 (CP857 + Euro), n = D5h.
8. ESC $ n1 n2
Specifying the Absolute Positions
[Code] [1Bh] + [24h] + n1 + n2
[Range] {0 <= n1 <= FFh}
{0 <= n2 <= 2}
{0 <= n1+n2*256 <= 384}
[Outline] The printing start position is specified in the number of dots
(1/203 inch unit) from the beginning of line.
• The number of dots is divided by 256, whose quotient is taken as
n2 and the residual as n1.
•Therefore, the printing start position is equal to n1 + n2 x 256 from
the beginning of line.
[Caution]
• Specifying beyond the line end is ignored.
[Default]
• The initial value is not specified.
[See Also] ESC \
[Sample Program]
LPRINT CHR$ (&H1B) + “$”;
LPRINT CHR$ (0) + CHR$ (0) + “A”;
LPRINT CHR$ (&H1B) + “$”;
LPRINT CHR$ (50) + CHR$ (0) + “B”;
LPRINT CHR$ (&H1B) + “$”;
LPRINT CHR$ (0) + CHR$ (1) + “C”;
LPRINT CHR$ (&HA);
LPRINT CHR$ (&H1B) + “$”;
LPRINT CHR$ (100) + CHR$ (0) + “A”;
LPRINT CHR$ (&H1B) + “¥”;
LPRINT CHR$ (&HC2) + CHR$ (&HFF) + “B”;
LPRINT CHR$ (&HA);
[Print Results]