Lexmark X864 Forms and Bar Code Technical Reference - Page 55
Bar code descriptor for MaxiCode, Symbology ID bytes 0 and 1: Required = 00 02x, Mode: Default = 02x
View all Lexmark X864 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 55 highlights
This example prints a PDF417 bar code with the following settings: • ECC Level 4 • X dimension = 8/600ths • Y Ratio = 16/600ths • Non-truncated • Aspect Ratio = 1:4 Note: Using this Aspect Ratio, the bar code symbol is constructed as nearly as possible with a height-to-width ratio of 1:4. PCL5 Data: ESC&x16W0001 04 02 0008 02 00 00 00 01 04 0000 0000 ESC&y39WHere_are_39_bytes_of_data_to_be_encoded Note that the bar code descriptor data is in bold. Each digit is really a hex nibble. Two nibbles make each byte and thus there are 32 nibbles. Each descriptor field is separated by a space to make the header more readable. These spaces would not be sent with the data. Bar code descriptor for MaxiCode Below is the header definition of the bar code descriptor for MaxiCode: Bytes 0 - 1 2 - 3 MSB Symbology ID byte 1 (00x) Mode LSB Symbology ID byte 2 (02x) Reserved Symbology ID bytes 0 and 1: (Required = 00 02x) These two bytes signify the symbology. All bar code descriptors must reserve the first two bytes for the symbology ID so the remaining bytes can be interpreted accordingly, because most descriptors are of different sizes and information. For MaxiCode, these two bytes must be 00x and 02x. Mode: (Default = 02x) This field designates what mode to use when interpreting the input data. Valid modes are (in hex):. Value 02x 03x 04x 05x 06x Description Structured carrier message with numeric postal code Structured carrier message with alphanumeric postal code Standard symbol with standard error correction Full symbol with enhanced error correction Reader program with standard error correction Two-dimensional bar codes 52