
Set/reset barcode modeBarcodes
Set/reset barcode mode
Mode | Control sequence | Hexadecimal | Decimal | ||||
|
|
|
|
|
|
|
|
Set | ESC [ ? 0 h | 1B | 5B | 3F | 30 | 68 | 27 91 63 48 104 |
|
|
|
|
|
|
|
|
Reset | ESC [ ? 0 l1) | 1B | 5B | 3F | 30 | 6C | 27 91 63 48 108 |
1)This letter is a small „L“!
The printing of barcode symbols is set or reset with this control character.
i
The barcode must be selected before the barcode mode is activated. While the barcode mode is on, no other escape sequences are permitted. No page break is allowed within a barcode symbol!
Programming examples
Code 39
Programming:
Barcode header | : ESC | [ | ; | n2 | ; | n3 | ; | n4 | ; | n5 | ; | n6 | SP | z |
header |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example | : ESC | [ | ; | 201 | ; | 8 | ; | 1 | ; | 1 | ; | 1 | SP | z |
Set barcode mode | : ESC [ ? 0 h |
|
|
|
|
|
|
|
|
|
| |||
Data | : * CODE 39 * |
|
|
|
|
|
|
|
|
|
| |||
Reset barcode mode | : ESC [ ? 0 l1) |
|
|
|
|
|
|
|
|
|
|
1)This letter is a small “L”!
Printout: |
|
|
|
|
|
| |
* | C | O | D | E | 3 | 9 | * |
Programmer Reference Guide |