homesite mapcontact search
Newsroom   
Careers   
Solutions     
Products & Services    
Support    
Whitepapers     
Case Studies    
Alliances     
Sales     
Offices     

Support
HSM
 
Using printer escape sequences when printing PIN and KEY mailers with the Host Security Module

The HSM supports the inclusion of printer escape sequences within a printer format for either PIN or key mailers.

By inserting an escape sequence within a printer format as a symbol, the HSM will include the escape sequence when constructing the mailer. When creating a print format, the escape sequence takes the following format:

Field Length & Type Details

Start of Sequence 1 A Value '|', ASCII X'7C or EBCDIC X'6A

Length field 1 H The number of bytes in the escape sequence, in the range X'1 to X'F.

Data field n H Data field containing the escape sequence in expanded hex form, 2 hex characters representing 1 byte.

The above three fields can be used as a print symbol to control the printer, any where within a print format definition. Note that the length of the data field within a print format definition command, PA or PC, must not exceed 299 characters.

Example:

The escape sequence to set 7/72" line spacing; ESC 1 (X'1B31), would take the following form:


| 2 1 B 3 1 Character representations in hex:

ASCII - X' 7C 32 31 42 33 31

EBCDIC - X' 6A F2 F1 C2 F3 F1

For more information on print format definition Refer to the HSM System and Programmers Manual Part 5, section 3.15.

 

 

 



View FAQs:
 
 
 
           © Thales 2007         Legal Notice