Chapter —Commands
oR – Character Substitution
This command allows the advanced programmer to substitute the
Description
Euro currency character (€) for any ASCII character in printer-
resident fonts 1-5. The original character can be restored by
sending the oR command.
Syntax
oR[p
Parameters
p
1
p
2
The oR command is a global printer command.
Remarks
• It cannot be issued inside a form.
• It must be issued prior to issuing a text command and printing
it.
• It affects a single character on all code pages. Changing the
character position will restore the original character.
• Flash memory printer parameter data are preserved until they
are changed by the oR command or the printer is reset to
default.
Examples
oRE↵
oRE,128↵
oR↵
ESim v5.12 for EasyCoder PD4—Programmer's Reference Manual
[,p
]]
1
2
If p
= E , t he E uro c haracter w ill b e m apped t o t he c ode p age p osition s pecified
1
by p
. If no p
or p
parameters are given, all code pages will be reset to original
2
1
2
default character mapping.
Specifies t he c ode p age p osition f or t he E uro c haracter i n t he r ange A SCII 3 2-255
decimal for all code pages, provided p
will be mapped to the code page position ASCII 213 decimal for all code pages,
provided p
= E.
1
:Places the Euro character in position ASCII 128
= E. If p
is omitted, the Euro character
1
2
:Places the Euro character in position
:Clears character substitution and
restores default character maps
ASCII 213 dec.
dec.