5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual

254
Chapter 5 Accessing Characters and Character Sets
Building a Character Translation Table
The character set for resident fonts on the Graphics Controller contains
special characters in hex values. These characters are not directly accessible
from the keyboard. As an example, the tilde (~) may not have a corresponding
key on the keyboard. There are three choices available if characters such as
this are required on a regular basis.
Select an ISO character set that contains the character as one of the
substitutions. See “Selecting an ISO Character Set” on page 259.
Use the ^IHEX command to transmit the character hex value to the
printer.
Build a character translation table.
A character translation table reassigns keys to the hex value of special
characters you want to print. Use the ^ITRANS command to build a character
translation table.
Mode Standard Graphics or Graphics with an Extended Graphics
Command selected
Format (cc) ITRANS,D,
xxvv,xxvv,xxvv,xxvv, ... ,xxvv
(cc) G (cc) -
(cc) Represents the Special Function Control Code
(SFCC). Enter the specific SFCC for your Code V
configuration.
ITRANS,D The Build Character Translation Table command;
enter ITRANS,D (the comma is required).
xx
The input hex value from the host.
vv
The hex value that will replace the input hex value
before the data is sent to the printer.
(cc)G Terminator. Enter the SFCC for your Code V
configuration immediately followed by G, the
universal terminator, or another valid Graphics
Mode command to end the input of vertical line and
form data.
(cc)- Graphics Mode CR used as a sequence terminator.
Enter the SFCC for your IGP configuration
immediately followed by - to end the command
sequence.