Lexmark 249X, 248X manual Data Transfer Command

Models: 249X 248X

1 227
Download 227 pages 723 b
Page 152
Image 152

b1: human readable character

0:Prints human readable character.

1:Does not print human readable character.

b2: flag character position (for EAN-13 and UPC-A only)

0:Center

1:Under

b3-b7:

Not used

An example of deriving the c parameter follows:

1

2

Check digit is to be printed by the printer. The human readable character is to be printed. The flag character position is to be centered.

Therefore, b2 = 0, b1 = 0, and b0 = 1.

0

0

1

b7

b6

b5

b4

b3

b2

b1

b0

Data Transfer Command

This command transfers the barcode data to the printer for printing.

Syntax: ESC [ p n1 n2 data

Decimal: 27 91 112 n1 n2 data

Hex: 1B 5B 70 n1 n2 data

Use the following steps to calculate the values of n1 and n2, which specify the number of characters of barcode data:

1 Let N = the actual number of characters of data to be transferred.

2 n1 is the lower byte of N (remainder of N divided by 256).

3 n2 is the upper byte of N (quotient of N divided by 256). n2 is normally 0.

The printer may not print the barcode if N does not match the number of characters required for the barcode type.

After sending the data transfer command and the barcode data, sufficient vertical movement is required to move past the length of the bars. In the Barcode Symbology examples that follow, this movement is indicated by an ellipsis.

152 Section 8: Barcodes

Page 152
Image 152
Lexmark 249X, 248X manual Data Transfer Command