Programming examples

Barcodes

i

The following examples use blank zones before and after the barcode symbol. The size of the blank zones is barcode-specific. The minimum sizes must be observed and must be provided by the application by positioning control functions before and after the barcode symbol.

Two horizontal barcode symbols side by side

Programming:

Barcode header

: ESC

[

;

n2

;

n3

;

n4

;

n5

;

n6

SP

z

Example

: ESC

[

;

201

;

7

;

0

;

0

;

1

SP

z

Set barcode mode

: ESC [ ? 0 h

 

 

 

 

 

 

 

 

 

 

Data

: * CODE 39 *

 

 

 

 

 

 

 

 

 

 

Reset barcode mode

: ESC [ ? 0 l1)

 

 

 

 

 

 

 

 

 

 

Blank zone

: SP SP SP

 

 

 

 

 

 

 

 

 

 

 

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 * * C O D E

3 9 *

Programmer Reference Guide

U26169-J-Z716-1-7600

Page 161
Image 161
Siemens 9014, 9016, 9015 E manual Code, Two horizontal barcode symbols side by side