Source Technologies 1352 MICR 40 manual Escape Character Translation, STY4040$, STY4000$

Page 37

Section 7: IBM Host Programming Features and Examples

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$

Secure MICR Printer User’s Guide July 2003

Page 33

© Source Technologies

All rights reserved

Image 37
Contents IBM Infoprint 1352 Micr Secure Micr Printer User’s Guide Page Table of Contents Audit Trail Report Error MessagesPrinter Installation Check Processing System Micr OverviewMicr Printing Today Micr Overview Position and Dimension Gauge General Features of Check DesignMicr Check Design Design Elements in Detail PaperMicr Clear Band DuplexingData Elements Date Amount Convenience AmountDollars Amount In WordsPayee Area Signature AreaCheck Serial Number Fractional Routing Number Micr Line Account Title Memo LineAuxiliary On-Us Field Positions 65 to External Processing Code EPC Field PositionOn-Us Field Positions 32 to Routing Field Positions 43 toSample Check Quality Issues Micr Check Stock WeightQuality LayoutMoisture Check Stock Security Features Security IssuesSecurity Note Security Issues Micr Mode Micr FeaturesMicr Fonts Secure Fonts@PJL Ustatus Device Bi-Directional FeedbackResource Storage Micr Menu STF Command Entering Micr ModeSTH Command Micr Definition Command SMCPxxxx$ optional PasswordSet New Password Command &%STExxxxxxxx$ SmcpPrint Micr E-13B Font SMDddd...ddd$ STSSMD Print Micr CMC7 Font SM7ddd...ddd$Print ICR Secure Numeric Font &%SMIxxxxxx~ Print Secure Numeric Font SMFddd..ddd~Print MicroPrint Line SMMxxxxxxxxx!$ Load Flash Resource STLxxxxxyyyyyyzdd....ddTray Lock Command STTL#$ Secure Flash Resource Unlock Command STPxxxxx$Tray Unlock Command STTU#$ Tray Swapping CommandsDES and AES Decryption STDON$ Customer Character Conversation Command Special Alert and Custom Beep Command Hex Transfer IBM Host Programming Features and ExamplesTurning Hex Transfer On Turning Hex Transfer OffHex Transfer Examples Micr Mode Command Example NON-NEGOTIABLE STFPASSWORD$ Commands in .1 in order of appearanceSTY4040$ Escape Character TranslationSTY4000$ Example &%STY2300$Audit Trail Reports Print Audit Report End Audit Record Audit Trail Report Command SetAudit Report Field One SQ1d..d$ Audit Report Field Two-MICR Line SMDd..d$ or &%SM7d..d$Audit Report Field Five SQ5d..d$ Audit Report Field Four SQ4d..d~Audit Report Field Six SQ6d..d$ Audit Report Field Seven SQ7d..d$Spurge Print and Purge Audit Report &%SPURGExx$Print Audit Report SPRINTxx$ SprintSQ4 Start Audit Feedback CommandSQ5 SQ6Audit Trail Commands Example Void SAR$ Command terminatorSQ1200$200 SQ6October 5, 2005$SQ7103345 AM$ SMD...$Msmith See list of Micr Error Messages on following Error MessagesError Message On Display Printed Message Description Action Appendix a E13B Micr Font Mapping Command&%SMDddd..ddd$Appendix B CMC7 Micr Font Mapping Command SM7ddd..ddd$Appendix C Secure Numeric Font Mapping Command SMFddd...dd~Example &%SMF$1,123.00~ Will print Appendix D ICR Secure Numeric Font Mapping Command SMIxxxxxx~Description Command Appendix E Micr Mode Command SummaryDescription Command Structure Function Appendix F Audit Report Command SummaryFonts and Secured Resources Appendix G PJL Based Micr CommandsPJL Unlock Sequence PJL Re-Lock SequencePCL Font Call Commands PJL Re-Lock Sequence With a New Password ValuePJL Info Micr Command Cartridge Status = Unknown PCL Macro Call PCL Initial Set-UpPCL Font Calls, Positioning Commands and Variable Print Data Sample Accounts Payable Check @PJL Enter Language = PCL PJL and PCL commands used to print the sample check