Lexmark CX622 Forms and Bar Code Card P4.2 Technical Reference - Page 139
MaxiCode block call method, MaxiCode separator change, <Esc>s24800T1
View all Lexmark CX622 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 139 highlights
Lexmark Confidential until announced Appendix F - Deviations 139 1,1,01234567...... where 1,1, represents the structured append and 01234567.... represents the rest of the MaxiCode data structure. The HP BarDIMM Pro specification version 3.0 and later is consistent with this PCL data stream calling sequence: (s24800T1,1,x,01234567..... where x is either a 2 or 3, corresponding to MaxiCode Mode 2 or Mode 3. Mode 2 encodes numeric-only data, and Mode 3 allows a reduced amount of alphanumeric data. The mode of the MaxiCode is specified within the input data after the typeface command 24800T. If the two extra bytes (Mode 2 or 3 plus a separator) are included in the input data, then the BCE shows an error. Users must add more parsing that examines input data: • Byte 5 for either a 2 or 3 • Byte 6 for a separator character If the extra bytes are found, then remove them, and pass the four structured append bytes and the rest of the input data to the BCE. This method still allows existing HP-coded data streams to work on HP BarDIMM Pro, while allowing Forms and Bar Code Card to work correctly. MaxiCode block call method The minimum amount of input data to invoke a MaxiCode starts with this command: 1B 26 78 33 57 00 02 This command includes the following: • Esc & x 3 W (block bar code PCL call, with 3 following command bytes) • 0002 (the MaxiCode symbology identifier) • One or more of these data blocks (one per MaxiCode symbol): - 1B 26 79 34 57 - 31 1D 31 1D - 31 2C 31 2C These data blocks include the following: - Esc & y 4 W (data bar code PCL call, with 4 following data bytes) - 1 GS 1 GS or 1, 1, A valid MaxiCode data separator for the previous data block is either of the following: - Group separator-29 decimal (1D hexadecimal) - Comma- 44 decimal (2C hexadecimal) Any other separator characters produce an error on the page. MaxiCode separator change A valid MaxiCode with any encodable data requires a second separator for the PCL block call, and is placed after the number-of-labels field. If the four-byte structured append is specified alone, then Forms and Bar Code Card prints a valid MaxiCode symbol that is empty. Depending on the scanner used, Forms and Bar Code Card may not produce a valid scan. If an outdated three-byte structured append is specified alone, then Forms and Bar Code Card shows an error.