Data Transfer Command - Lexmark FORMS 249X Technical Reference

Forms printer
Table of Contents

Advertisement

b1: human readable character
0:
1:
b2: flag character position (for EAN-13 and UPC-A only)
0:
1:
b3-b7:
An example of deriving the c parameter follows:
1
2
b7

Data Transfer Command

This command transfers the barcode data to the printer for printing.
Syntax:
Decimal: 27
Hex:
Use the following steps to calculate the values of n1 and n2, which specify the
number of characters of barcode data:
1
2
3
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
Prints human readable character.
Does not print human readable character.
Center
Under
Not used
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.
b6
b5
b4
ESC [
p
91
112 n1
1B
5B
70
Let N = the actual number of characters of data to be transferred.
n1 is the lower byte of N (remainder of N divided by 256).
n2 is the upper byte of N (quotient of N divided by 256).
n2 is normally 0.
0
0
b3
b2
b1
n1
n2
data
n2
data
n1
n2
data
1
b0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Forms 248x2480248124902491Dot matrix

Table of Contents