7. IBM Host Programming Features and Examples

Hex Transfer

The Hex Transfer feature allows the user to send PCL escape sequence printer commands to the printer with simple text strings. You may send any valid command or string of commands with no limit on the length or complexity. Form macros, signatures, or simple commands may be passed through any platform to the printer since they are simple text. The printer will convert them back to ESC (escape) sequences when they arrive at the printer. Hex Transfer is automatically enabled while in MICR Mode. To enable it for all applications use the following commands:

Turning Hex Transfer On

To enable Hex Transfer, send the following command:

&&??&%

Once Hex Transfer is enabled, the character sequence &% will act as a trigger sequence. Any data following these trigger characters will not be printed and will be treated as Hex Transfer data until the Hex Transfer ending character $ is encountered.

Turning Hex Transfer Off

To turn Hex Transfer off, send the following command:

&&??!!

This command will clear the trigger sequence and allow the &% characters to print. This clear command may be sent at any time to assure that Hex Transfer is disabled. When MICR Mode is entered, Hex Transfer will automatically be turned on, and when MICR Mode is exited, Hex Transfer will be turned off unless it has previously been activated outside of MICR Mode with the &&??&% string.

Secure MICR Printer User’s Guide

30

© Source Technologies

September 2005

All Rights Reserved

Page 34
Image 34
Source Technologies ST9530 manual IBM Host Programming Features and Examples, Turning Hex Transfer On