Lexmark MX722 Forms and Bar Code Card P4.2 Technical Reference - Page 28
PCL 5 emulation: Lexmark, Transferring bar code data
View all Lexmark MX722 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 28 highlights
Lexmark Confidential until announced PCL 5 emulation: Lexmark 28 PCL 5 emulation: Lexmark This section discusses the Lexmark-specific commands implemented in Forms and Bar Code Card. PCL 5 commands to support bar codes Support of bar code functionality requires Lexmark‑unique PCL 5 definitions that provide access to the functionality. Esc&x#W and Esc&y#W are implemented. Lexmark-specific PCL 5 command description Support of bar code functionality requires Lexmark‑unique PCL 5 definitions that provide access to the functionality. Esc&x#W and Esc&y#W are implemented. Bar code descriptor-ESC&x#W (descriptor data) Use the escape sequence to describe the bar code to print, and the parameter settings required to build the bar code. The first two bytes of this command designate the symbology and are required. The remaining bytes are interpreted accordingly, based on the symbology, and are optional. If the optional bytes are not sent, then the settings are set to appropriate defaults. Each symbology has its own defined descriptor header. The # symbol represents the number of bytes of descriptor data. Transferring bar code data-ESC&y#W (bar code data) Use this command to transfer a raw block of bar code data to be encoded according to the specifications in the last valid Bar Code Descriptor command received. If no valid descriptor is sent, then this command is ignored and the data is flushed. The # symbol represents the number of bytes of descriptor data. Compatibility safeguard These commands, if sent to an HP printer, are flushed, and nothing prints. Future HP PCL 5 enhancement could use the two escape sequences that have been selected. This forces future Lexmark PCL 5 emulations to use the HP versions of these commands and to ignore them in a bar code context. To avoid this conflict, use the Lexmark PCL 5 enhancement switch. Setting this switch allows future Lexmark PCL 5 emulations to decide how to interpret the new escape sequences. The switch is a GL/2 command. Compatibility safeguard examples Esc%0B COLexmark Enhanced GL/2; Esc%0A Sample commands and their characteristics Command Characteristic Esc&x8W[00 14 32 18 82 B9 01]Esc&y8W12345678 Australia Post 4‑State bar code where FCC is 11, encoding table is N, and data is 12345678. Esc&x3W[00 01 02]Esc&y8W12345678 Two‑dimensional PDF417 where ECC is 12, and data is 12345678. The general strategy for assigning Lexmark symbology IDs and defining Lexmark bar code descriptors is defined in the following table: