Lexmark X864 Forms and Bar Code Technical Reference - Page 13

Lexmark-Unique PCL5 Command Description, Bar Code Descriptor - ESC&x#W [descriptor data]

Page 13 highlights

• UPC-E • UPC-E + 2 • UPC-E + 5 • USPS POSTNET 5-digit ZIP code • USPS POSTNET 9-digit ZIP with 4 code • USPS POSTNET 11-digit Delivery Point Code • USPS Expanded POSTNET • USPS Tray label, 10-digit 2 of 5 • USPS Sack label, 8-digit 2 of 5 • USPS Zebra code • USPS FIM Face Identification Marking The following is a list of two-dimensional bar codes: • Codablock F • Data Matrix • MaxiCode • MicroPDF417 • PDF417 • QR Lexmark-Unique PCL5 Command Description Support of new bar code functionality is not available in HP BarDIMM, which requires the new Lexmark-unique PCL5 definitions that provide access to the new functionality. Two new commands are implemented, ESC&x#W and ESC&y#W. Bar Code Descriptor - ESC&x#W [descriptor data] This new escape sequence is used to describe not only what bar code to print, but also all of the parameter settings required to build the bar code. The first two bytes of this command always designate the symbology. The remaining bytes are then interpreted accordingly, based on the symbology. Each symbology has its own defined descriptor header. The first two bytes are required. The remaining bytes are optional. If those bytes are not sent, the settings are set to appropriate defaults. # is the number of bytes of descriptor data. Transfer Bar Code Data - ESC&y#W [bar code data] This new PCL5 command is used to transfer a raw block of bar code data to be encoded. The bar code data is encoded according to what was specified in the last valid Bar Code Descriptor command received. If no valid Descriptor is sent, then this command is ignored and the data is flushed. # is the number of bytes of bar code data. Compatibility Safeguard These two new commands, if sent to an HP printer, are flushed and nothing prints. There is a possibility that a future HP PCL5 enhancement could utilize the two escape sequences that have HP BarDIMM compatibility intercept 10

  • 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
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165

HP BarDIMM compatibility intercept
10
UPC-E
UPC-E + 2
UPC-E + 5
USPS POSTNET 5-digit ZIP code
USPS POSTNET 9-digit ZIP with 4 code
USPS POSTNET 11-digit Delivery Point Code
USPS Expanded POSTNET
USPS Tray label, 10-digit 2 of 5
USPS Sack label, 8-digit 2 of 5
USPS Zebra code
USPS FIM Face Identification Marking
The following is a list of two-dimensional bar codes:
Codablock F
Data Matrix
MaxiCode
MicroPDF417
PDF417
QR
Lexmark-Unique PCL5 Command Description
Support of new bar code functionality is not available in HP BarDIMM, which requires the new
Lexmark-unique PCL5 definitions that provide access to the new functionality. Two new commands
are implemented, ESC&x#W and ESC&y#W.
Bar Code Descriptor - ESC&x#W [descriptor data]
This new escape sequence is used to describe not only what bar code to print, but also all of the
parameter settings required to build the bar code. The first two bytes of this command always
designate the symbology. The remaining bytes are then interpreted accordingly, based on the
symbology. Each symbology has its own defined descriptor header.
The first two bytes are required. The remaining bytes are optional. If those bytes are not sent, the
settings are set to appropriate defaults. # is the number of bytes of descriptor data.
Transfer Bar Code Data - ESC&y#W [bar code data]
This new PCL5 command is used to transfer a raw block of bar code data to be encoded. The bar
code data is encoded according to what was specified in the last valid Bar Code Descriptor
command received. If no valid Descriptor is sent, then this command is ignored and the data is
flushed. # is the number of bytes of bar code data.
Compatibility Safeguard
These two new commands, if sent to an HP printer, are flushed and nothing prints. There is a
possibility that a future HP PCL5 enhancement could utilize the two escape sequences that have