Siemens 9016, 9014, 9015 E manual Set/reset barcode mode, Programming examples, Code, Printout

Models: 9015 E 9016 9014 9015

1 230
Download 230 pages 262 b
Page 150
Image 150

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

U26169-J-Z716-1-7600

Page 150
Image 150
Siemens 9015, 9016 Set/reset barcode mode, Programming examples, Mode Control sequence Hexadecimal Decimal, Code, Printout