Source Technologies ST9530 Escape Character Translation, STY4040$, STY4000$, Example &%STY2300$

Page 38

Escape Character Translation

In many IBM host environments, the programmer cannot send an ESC character (ASCII hex 1B) to the printer from within the application. Your Secure MICR Printer allows you to define the ESC character as a printable character or a combination of two printable characters. You can select combinations of 1 or 2 characters which are translated to a Hex 1B when they are sent to the printer.

The command &%STYxxyy$ is used to select the character or character combination. The pair xx represents the first characters’ ASCII hex value, yy represents the second characters hex value.

Example: The symbols @@ should be translated into the escape character:

&%STY4040$

After this is sent to the printer, anytime an @ @ is received in exact sequence, the pair is translated into the ESC character (Hex 1B). A single @ would print normally.

If yy is equal to 00, only the first character is used for the escape character.

Example: The symbol @ should translate into the escape character:

&%STY4000$

After this is sent to the printer, anytime an @ is received it is translated into the ESC character. This means that the printer will never print the @ character. The only invalid single characters are the & (HEX 26) and a null (00).

Example: &%STY2300$

#&l8D

The printer would translate the number sign (Hex 23) to the ESC character and it would act on the sequence Esc&l8D which will set line spacing to 8 lines per inch.

If you want to reset the ESC character translation from the previous settings then you can send the &%STY Command to deactivate the translation.

Example: &%STY0000$ 8

Secure MICR Printer User’s Guide

34

© Source Technologies

September 2005

All Rights Reserved

Image 38
Contents ST9530 Secure Micr Printer User’s Guide Page Table of Contents Error Messages Audit Trail ReportPrinter Installation Micr Printing Today Micr OverviewCheck Processing System Secure Micr Printer User’s Guide Micr Check Design General Features of Check DesignPosition and Dimension Gauge Design Elements in Detail PaperData Elements Date DuplexingMicr Clear Band Amount Convenience AmountSignature Area Amount In WordsPayee Area Drawee Institution NameAuxiliary On-Us Field Positions 65 to Memo LineCheck Serial Number Fractional Routing Number Micr Line External Processing Code EPC Field PositionOn-Us Field Positions 32 to Sample Check Quality Issues Quality WeightMicr Check Stock LayoutSecurity Issues Check Stock Security FeaturesSecurity Note Secure Micr Printer User’s Guide Micr Fonts Micr FeaturesMicr Mode Secure Fonts@PJL Ustatus Device CODE=40020 MicroPrintBi-Directional Feedback Resource Storage Micr MenuEntering Micr Mode STF CommandMicr Definition Command SMCPxxxx$ optional STH CommandPassword SmcpSTS Set New Password Command &%STExxxxxxxx$STE Print Micr E-13B Font SMDddd...ddd$Print ICR Secure Numeric Font &%SMIxxxxxx~ Print Micr CMC7 Font SM7ddd...ddd$Print Secure Numeric Font SMFddd..ddd~ Print MicroPrint Line SMMxxxxxxxxx!$Load Flash Resource STLxxxxxyyyyyyzdd....dd Secure Flash Resource Unlock Command STPxxxxx$Tray Lock Command STTL#$ Format Flash Memory SFF$STTU# Tray Unlock Command STTU#$Tray Swapping Commands SttsonDecryption Commands DES and AES DecryptionTurn DES Decryption OFF Turn DES Decryption onTurn AES Decryption on Turn AES Decryption OFFCustomer Character Conversation Command STBEEP2$ Special Alert and Custom Beep CommandSTBEEP1$ MICRpoint Feature Secure Micr Printer User’s Guide Turning Hex Transfer On IBM Host Programming Features and ExamplesHex Transfer Turning Hex Transfer Off Hex Transfer Examples Micr Mode Command Example Command terminator Commands in .1 in order of appearanceSTFPASSWORD$ Micr font character mapping in Appendix aSTY4000$ Escape Character TranslationSTY4040$ Example &%STY2300$Sample Check Audit Trail Reports SAR Audit Trail Report Command SetPrint Audit Report End Audit RecordAudit Report Field Three SQ3d..d$ Audit Report Field One SQ1d..d$Audit Report Field Two-MICR Line Audit Report Field Four SQ4d..d~Audit Report Field Seven SQ7d..d$ Audit Report Field Five SQ5d..d$Audit Report Field Six SQ6d..d$ Print and Purge Audit Report &%SPURGExx$Start Audit Feedback Command Print Audit Report SPRINTxx$Audit Trail Commands Example Audit Trail Check Sample SQ6October 5, 2005$ SAR$SQ1200$200 TerminatorSMD...$ SQ7103345 AM$Msmith Description Error MessagesError Message on Display Printed Message ActionMacro Definition Error Invalid decode Page Appendix a E13B Micr Font Mapping Command&%SMDddd..ddd$ Example &%SMD 00001234 T01234567T3210987654321$ Will printAppendix B CMC7 Micr Font Mapping Less Than Equal Greater Than Appendix C Secure Numeric Font Mapping Description Alpha/Numeric Hex Value Secure Font CharacterTwo Three Four Five Six Seven Eight Nine Arrow Example&%SMF$15,575.00~ Appendix D ICR Secure Numeric Font Mapping Appendix E Micr Mode Command Summary STTSOFF$ SPURGE$ SPRINT$STORE$ Previous Audit Report information will be lostAppendix G PJL Based Micr Commands PJL Re-Lock Sequence With a New Password Value UEL @PJL Info MicrCartridge Status = Unknown PCL Font Calls, Positioning Commands and Variable Print Data Sample Accounts Payable Check PJL and PCL commands used to print the sample check ESC%-12345X@PJL Ldeletepassword LRESOURCEflash