Programming examples | Barcodes |
UPC-A Add-on 5
Programming:
Barcode header | : ESC | [ | ; | n2 | ; | n3 | ; | n4 | ; | n5 | ; | n6 | SP | z |
Example | : ESC | [ | ; | 210 | ; | 8 | ; |
| ; |
| ; | 1 | SP | z |
Set barcode mode | : ESC [ ? 0 h |
|
|
|
|
|
|
|
|
|
| |||
Data | : 0 1 2 3 4 5 6 7 8 9 0 5 8 | 6 1 0 4 |
|
|
|
| ||||||||
Reset barcode mode | : ESC [ ? 0 l1) |
|
|
|
|
|
|
|
|
|
|
1)This letter is a small “L”!
Printout:
8 6 1 0 4
1 2 3 4 5 6 7 8 9 0
Code 128
Programming:
Barcode header | : | ESC [ | ; | n2 | ; | n3 | ; | n4 | ; | n5 | ; | n6 | SP | z |
Example | : | ESC [ | ; | 211 | ; | 8 | ; | 1 | ; | 1 | ; |
| SP | z |
Set barcode mode | : | ESC [ ? 0 h |
|
|
|
|
|
|
|
|
|
| ||
Data | : | Code 128 |
|
|
|
|
|
|
|
|
|
| ||
Reset barcode mode | : | ESC [ ? 0 l1) |
|
|
|
|
|
|
|
|
|
|
1)This letter is a small “L”!
Printout: |
|
|
|
|
|
C | o | d | e | 1 2 | 8 |
Programmer Reference Guide |