The barcode type is denoted by k. The following values are valid for k:

 

k

Barcode Type

 

 

 

Dec

 

Hex

 

 

 

 

 

 

177

 

B1

<reserved>

 

 

 

 

178

 

B2

EAN-13

 

 

 

 

179

 

B3

EAN-8

 

 

 

 

180

 

B4

CODE 39

 

 

 

 

181

 

B5

<reserved>

 

 

 

 

182

 

B6

INTERLEAVED 2 of 5

 

 

 

 

183

 

B7

UPC-A

 

 

 

 

184

 

B8

<reserved>

 

 

 

 

185

 

B9

POST-NET (barcode)

 

 

 

 

186

 

BA

CODE 128

 

 

 

 

Module width is denoted by m. When m is 1, the barcode prints by

1/360 or 1/240 full dot method. For all other values, the barcode prints by half dot method. The suggested values for m are as follows:

 

m

Unit Module

 

Width

 

 

 

 

 

 

 

 

 

Dots

 

 

 

Dec

 

Hex

24 wire

 

9 wire

 

 

 

 

 

 

 

 

 

 

0

 

00

 

0.015 in.

 

0.021 in.

 

 

 

 

 

 

 

1

 

01

 

0.012 in.

 

0.017 in.

 

 

 

 

 

 

 

2

 

02

 

0.015 in.

 

0.021 in.

 

 

 

 

 

 

 

3

 

03

 

0.021 in.

 

0.030 in.

 

 

 

 

 

 

 

4

 

04

 

0.026 in.

 

0.038 in.

 

 

 

 

 

 

 

The variable s denotes the space width adjustment and affects the barcode printing width. The value for s may range from 3 (03 hex) to -3 (FD hex), however, 0 is the default value. The adjustment unit for 24 wire printers is 1=1/360 in. and for 9 wire printers the unit is 1=1/240 in.

The variables v1 and v2 control the bar length. The minimum value of v1, v2 is 288 dec (24 wire) and 270 (9 wire).

62

Section 3: IBM Emulation Mode Printer Commands

Page 62
Image 62
Lexmark 249X, 248X manual Barcode Type, Unit Module Width Dots Dec Hex Wire