Lexmark Forms Printer 2590 Technical Reference - Page 61

Barcode Control Flag, Setup Barcode Data

Page 61 highlights

Draft document 2-41 Bar Code Table 2-20: Barcode Length (Continued) all barcodes except Post-Net a Model 24 wire (259X) 9 wire (248X) V1, V2 value Dec Hex 12 0C 30 1E Vertical Pitch 1/180 inch 1/72 inch Post-Net b Model 24 wire (259X) Dec 288 Hex 120 9 wire (248X) 270 10E a. All the input data is rounded to the multiple value shown. b. Barcode height is fixed to the values shown. long bar height 24/180 inch 18/144 inch short bar height 8/180 inch 6/144 inch Barcode Control Flag The control flag is made up of 8 bits as follows: Bit b1 b2 b3 b4-b8 Table 2-21: Barcode Control Flags Description Check Digit Decimal 0 1 Human Readable Character 0 1 EAN-13 (13th digit), UPC-A 0 (number system character) flag character position 1 not used Hexadecimal Effect 00 No check code is generated by the printer. The host computer should generate the check code. 01 Check code is generated automatically by the printer. 00 Print On 01 Print Off 00 Center 01 Under Setup Barcode Data This command sets the barcode data on the current printing position. Format ESC [ p n1 n2 d1 d2 Decimal 27 91 112 n1 n2 d1 d2 Hexadecimal 1B 5B 70 n1 n2 d1 d2

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120

Bar Code
2-41
Draft document
Barcode Control Flag
The control flag is made up of 8 bits as follows:
Setup Barcode Data
This command sets the barcode data on the current printing position.
Model
Dec
Hex
Vertical Pitch
all barcodes except
Post-Net
a
24 wire (259X)
12
0C
1/180 inch
9 wire (248X)
30
1E
1/72 inch
Model
Dec
Hex
long bar height
short bar height
Post-Net
b
24 wire (259X)
288
120
24/180 inch
8/180 inch
9 wire (248X)
270
10E
18/144 inch
6/144 inch
a. All the input data is rounded to the multiple value shown.
b. Barcode height is fixed to the values shown.
Table 2-21:
Barcode Control Flags
Bit
Description
Decimal
Hexadecimal
Effect
b1
Check Digit
0
00
No check code is generated by the printer.
The host computer should generate the
check code.
1
01
Check code is generated automatically by
the printer.
b2
Human Readable Character
0
00
Print On
1
01
Print Off
b3
EAN-13 (13th digit), UPC-A
(number system character) flag
character position
0
00
Center
1
01
Under
b4-b8
not used
Format
ESC
[
p
n1
n2
d1
d2
Decimal
27
91
112
n1
n2
d1
d2
Hexadecimal
1B
5B
70
n1
n2
d1
d2
Table 2-20:
Barcode Length (Continued)
V1, V2 value