User`s manual

FEATURES AND FONTS
AXIS AX-3 Cobra+ Technical Reference 46
Modification of the Character Translation Table
Normally, there is no need to modify the EBCDIC International Set 5-To-ASCII
Character Translation Table since the table activated by the System Language and
Printer Driver selections is designed to produce the same printouts as the emulated
IBM printer. If you anyway need to print characters not available in the standard
translation table, this Section describes how to do the necessary modifications.
The translation table translates printable characters from EBCDIC International Set 5
to ASCII character codes. The ASCII character codes that are being produced depends
on the ASCII character set, selected by the current Printer Driver or explicitly by the
user, see page 44.
Example: If we have an application using the characters ‘(’ and ‘)’ (EBCDIC code $4D and $5D)
but instead of these want to print the characters ‘[’ and ‘]’ (ASCII code $5B and $5D),
we can either change the application or modify the translation table. Below is shown
how the translation table can be modified to accomplish the desired change.
Notes: 1. When the protocol converter is set for 4214 emulation (see the User’s Manual), this
programming line shall be excluded. In 3812/5219 emulation, it selects the
Editable Character Set that unmodified is equal to PC-850.
2. Function #203 edits the translation table with EBCDIC and ASCII codes in pairs as
input data. For example will the EBCDIC character $4D be translated to ASCII
$5B.
3. Function #205 saves the change permanently and #206 performs a software reset.
4. If EBCDIC $41 (required Space) is programmed with other than ASCII $20 in
3812/ 5219 emulation, this function is disabled and the programmed character is
printed.
5. Extended Emulation Mode has to be active. See page 33.
Result: The characters ‘(’ and ‘)’ will be printed as ‘[’ and ‘]’.
%P
=54,5
Note 1
=203,$4D,$5B,$5D,$5D
Note 2
=205=206
Note 3
%