Lexmark 249X Printer User Manual


 
151
Section 8: Barcodes
v1, v2 define the bar height.
Use the following steps to calculate the values of v1 and v2:
1
Determine the approximate desired height (in inches) of the bar.
2
Let V = 2160 x (height in inches). Round V to the nearest whole number.
3
v1 is the lower byte of V (remainder of V divided by 256).
4
v2 is the upper byte of V (quotient of V divided by 256).
Example:
1
Desired height is 0.47 inch.
2
V = round (2160 x 0.47) = round (1015.2) = 1015.
3
v1 = remainder (1015 divided by 256) = 247, xF7
4
v2 = quotient (1015 divided by 256) = 3, x03
v1, v2 are subject to the following limitation:
Notes:
If you try to use values less than the minimum values, the printer
ignores your values and uses the minimum values.
The vertical pitch for 248x printers is 1/72 inch.
The vertical pitch for 249x printers is 1/180 inch.
c is the control flag.
c is a multi-purpose parameter. It has three bits that determine check digit,
human readable character, and flag character position.
b7 b6 b5 b4 b3 b2 b1 b0
b0: check digit
0: If check digit is to be printed, host/software generates it.
1: Printer generates and prints check digit.
Printer Model
Minimum
V
value
Minimum v1, v2
values
248x 270 x0E, x01
249x 288 x20, x01
xxxxx
Flag
Char.
Human
Read.
Char.
Check
Digit