Lexmark X864 Forms and Bar Code Technical Reference - Page 56

Bar code descriptor for MicroPDF417, Bar code descriptor - specs

Page 56 highlights

MaxiCode notes: Depending on the mode, the input data sent with the Transfer Bar Code Data command must follow these rules: • For all modes, the input data must start with a label-number field and number-of-labels field. Both fields are one digit in length, and are terminated with either a comma or group separator (GS, ASCII 29). • For modes 2 and 3, there are 3 extra fields that must follow the label fields: the postal code, country code, and class of service. Each field must be terminated with either a comma or GS. • A mode 2 postal code can be 0 to 9 digits. Postal codes greater than 9 digits will be truncated. For country code 840 (USA), postal codes of length 5 will be padded with 4 zeros. • A mode 3 postal code can be 0 to 6 alphanumeric characters (any printable character in code set A as defined in AIM spec). Codes longer than 6 characters will be truncated. Codes shorter than 6 characters will be padded with spaces. • The country code must be 3 digits in length and thus padded with leading zeros if necessary. • The class of service must be 3 digits in length and thus padded with leading zeros if necessary. • For modes 2 and 3, an optional ANSI message header (for example, [)>RS01GSyy) can be inserted prior to the postal code. (RS = record separator, ASCII 30; yy is a two-digit year) This message is automatically moved to the secondary message. Neither a group separator nor a comma should terminate this message. An optional secondary message follows the class of service for modes 2 and 3. For modes 4, 5, and 6, the message follows the number-of-labels field. MaxiCode examples Here are some MaxiCode examples of the ASCII data that would be sent with the transfer bar code data command: Mode 2, separated with commas: ESC&y48W1,1,40361,840,001,This is the secondary message. Mode 3, separated with commas: ESC&y48W1,1,ABC01,840,001,This is the secondary message. Mode 3, separated with GS and commas plus optional ANSI message header (yy = 99): ESC&y44W1,1,[)RS01GS99ABC01GS840GS022GSsecondary message. Mode 4, separated with commas: ESC&y29W1,1,Here is a mode 4 message. Bar code descriptor for MicroPDF417 The MicroPDF417 is a multi-row symbology based on PDF417 and is used for small area applications that require greater area efficiency but lower data capacity than PDF417. MicroPDF417 is distinctive from PDF417 in that the symbol may only be produced within specific row, column and error correction codeword combinations, up to a maximum of four data columns by 44 rows. A specific and limited set of symbol sizes is available, each size including a fixed level of error correction. MicroPDF417 provides for three encoding modes: Text, Byte and Numeric compaction. Text is for general text, Numeric for encoding data consisting only of digits, and Byte to allow for the first 127 Bar code descriptor for MicroPDF417 53

  • 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

Bar code descriptor for MicroPDF417
53
MaxiCode notes:
Depending on the mode, the input data sent with the Transfer Bar Code Data command must follow these
rules:
For all modes, the input data must start with a label-number field and number-of-labels field. Both fields
are one digit in length, and are terminated with either a comma or group separator (GS, ASCII 29).
For modes 2 and 3, there are 3 extra fields that must follow the label fields: the postal code, country code,
and class of service. Each field must be terminated with either a comma or GS.
A mode 2 postal code can be 0 to 9 digits. Postal codes greater than 9 digits will be truncated. For country
code 840 (USA), postal codes of length 5 will be padded with 4 zeros.
A mode 3 postal code can be 0 to 6 alphanumeric characters (any printable character in code set A as
defined in AIM spec). Codes longer than 6 characters will be truncated. Codes shorter than 6 characters
will be padded with spaces.
The country code must be 3 digits in length and thus padded with leading zeros if necessary.
The class of service must be 3 digits in length and thus padded with leading zeros if necessary.
For modes 2 and 3, an optional ANSI message header (for example, [)>RS
01GS
yy) can be inserted prior
to the postal code. (RS
= record separator, ASCII 30; yy is a two-digit year) This message is automatically
moved to the secondary message. Neither a group separator nor a comma should terminate this
message.
An optional secondary message follows the class of service for modes 2 and 3. For modes 4, 5, and 6, the
message follows the number-of-labels field.
MaxiCode examples
Here are some MaxiCode examples of the ASCII data that would be sent with the transfer bar code
data command:
Mode 2, separated with commas:
ESC
&y48W1,1,40361,840,001,This is the secondary message.
Mode 3, separated with commas:
ESC
&y48W1,1,ABC01,840,001,This is the secondary message.
Mode 3, separated with GS and commas plus optional ANSI message header (yy = 99):
ESC
&y44W1,1,[)RS
01GS
99ABC01GS
840GS
022GS
secondary message.
Mode 4, separated with commas:
ESC
&y29W1,1,Here is a mode 4 message.
Bar code descriptor for
MicroPDF417
The MicroPDF417 is a multi-row symbology based on PDF417 and is used for small area
applications that require greater area efficiency but lower data capacity than PDF417. MicroPDF417
is distinctive from PDF417 in that the symbol may only be produced within specific row, column and
error correction codeword combinations, up to a maximum of four data columns by 44 rows. A
specific and limited set of symbol sizes is available, each size including a fixed level of error
correction.
MicroPDF417 provides for three encoding modes: Text, Byte and Numeric compaction. Text is for
general text, Numeric for encoding data consisting only of digits, and Byte to allow for the first 127