Bar code commands, Setup barcode parameter, Barcode types – Lexmark 258x User Manual

Page 58: Bar code commands -38, Setup barcode parameter -38, Barcode types -38, Bar code

Advertising
background image

Bar Code

2-38

Draft document

Bar Code Commands

Setup Barcode Parameter

This command sets the barcode parameters to the printer.

USAGE NOTES

The printer must receive this command prior to the barcode data command.
The printer may ignore this command when the received parameters include
undefined data.

The latest barcode command cancels all previous commands.

n1 and n2 specify command length. n1 is always 6 (dec), 06 (hex). n2 is
always 0 (dec), 00 (hex).

k specifies the barcode type . See “Barcode Types” on page 2-38.

m specifies the module width. See “Barcode Module Width” on page 2-39.

The variable s denotes the space width adjustment and affects the barcode
printing width. "s" specifies space width adjustment and is used for each
'spaces' to match optical conditions. There is no effect for the 'bar' width
adjustment. The s parameter is ignored in Post-Net. See remarks in this
section for definition of 'space' and 'bar'. See “Adjustment Unit” on page 2-39.

V1 and V2 specify bar length (2 bytes). See “Barcode Length” on page 2-40.

c specifies control flag. See “Barcode Control Flag” on page 2-41.

Barcode Types

The following values are valid for k:

Format

ESC

[

f

n1

n2

k

m

s

V1

V2

c

Decimal

27

91

102

6

0

k

m

s

V1

V2

Hexadecimal 1B

5B

66

06

00

k

m

s

V1

V2

Table 2-17: Barcode Types

Decimal

Hexadecimal

Barcode

177

B1 NW7

178 B2 EAN-13

179 B3 EAN-8

Advertising
This manual is related to the following products: