Lexmark 249X Printer User Manual


 
Section 8: Barcodes
184
Example:
Barcode data and other print data (for example, text data) are controlled
independently. It is necessary to provide sufficient horizontal space for the
barcode when mixing barcodes with other data, otherwise, the text and
barcode data will overlap, as shown in the following example:
Example:
<x
1B5B66 - barcode setup command prefix
0600 - setup data length (low byte
first) - x0006, 6
B4 - barcode type = Code 39
00 - module width = default
00 - space width adjustment = default
5000 - height (low byte first) - x0050
= 0.037 inches
00 - control byte
1B5B70 - barcode data transfer command
prefix
0400 - data transfer length (low byte
first) - x0004, 4
30 33 39 32 - data string "0392"
0D0A0A0A0A0A0A
- 1 carriage return and 6 line
feeds
>
<x1B5B66 0600 B4 00 00 3804 00>
Barcode Print Sample: <x1B5B70 0300> 395 Text Printing
<x0A0A0A0A0A>
Barcode Print Sample: