Using bar code escape sequences – Visara 1330-X02 User Manual

Page 148

Advertising
background image

701333-004

B-21

Programming Notes

Using Bar Code Escape Sequences

The following formats are used to print bar codes. Number 1 includes all parameters
(required and optional), and Number 2 includes only required parameters. > = escape
character and NL = new line (carriage return plus line feed). NL = hexadecimal 15. The
data separator character is a semicolon.

1.

Required and optional escape sequence data:

>XXYYY;bar code data;37PPP;standard text;NLNLNLNLNLNL31

2.

Required escape sequence data:

>XXYYY;bar code data;NLNLNLNLNLNL30

Escape Sequence Format

1.

Escape character

2.

XX Bar code type

32 through 36 and 38 through 39 are valid bar code types.

3.

YYY Print head position for bar codes

This parameter is measured in 0.1-inch (2.5-mm) units from the left margin. Field is
one to three digits long.

4.

; Data separator character

5.

Bar code data

This data is the symbols to be printed in the bar code strip.

6.

; Data separator character

Items g through k are optional.

7.

37 Standard Text command

This is a command triggering the printing of standard text between bar codes.

8.

PPP Print head position for standard text

This parameter is measured in 0.1-inch (2.5-mm) units from the left margin. Field is
one to three digits long.

9.

; Data separator character

Advertising