Printek 4503 User Manual

Page of 167
Optional Coaxial/Twinaxial Interface
Page A-2
Command Interpreter
A user friendly command interpreter has been built into the coaxial/twinaxial
interface.  This feature allows you to send any hexadecimal character or string of
characters to the printer through the coaxial/twinaxial port.
The logical not character (__) used below may be shown as the carat (^) on some
keyboards.  Either character is usually the accessed as a SHIFT-6 on the main
keyboard.
The command interpreter is enabled by receiving "__ONN" and disabled by
receiving "__OFF".  The default is "__OFF".
If enabled, the command interpreter examines all printable data received from the
host for the string "__HEX"  Once this string is found, then all EBCDIC characters
following are converted to hexadecimal and sent to the printer.  The conversion
process is terminated by receiving an "@" character.  Receiving any non-hexadecimal
character during the conversion process will also terminate the conversion.  Spaces
may be included between pairs of hex digits for readability.
Example:
The following string will cause the interface command interpreter to
send the ESC L n sequence (see the "Forms and Tractors" section in the Printek
emulation chapter) to the printer to load form number two.
Turn the command interpreter on by sending
__
ONN
then send
__
HEX 1B 4C 32 @
in which the hexadecimal character 1B is an Escape character, the
hexadecimal character 4C is the ASCII character "L", and the hexadecimal
character 32 is the ASCII character "2".
The command interpreter should now be turned off by sending
__
OFF
to prevent any inadvertent triggering of the interpreter by random
combinations of data.