Lexmark X925 Forms and Bar Code Card Technical Reference Guide - Page 55

Bar code descriptor for MaxiCode, Symbology ID bytes 0 and 1: Required = 00 02x, Mode: Default = 02x

Page 55 highlights

• Aspect ratio = 1:4 Note: Using this aspect ratio, the bar code symbol is constructed as nearly as possible with a height-to-width ratio of 1:4. PCL 5 Data: ESC&x16W0001 04 02 0008 02 00 00 00 01 04 0000 0000 ESC&y39WHere_are_39_bytes_of_data_to_be_encoded Note that the bar code descriptor data is in bold. Each digit is a hex nibble. Two nibbles make each byte and thus there are 32 nibbles. Each descriptor field is separated by a space to make the header more readable. These spaces will not be sent with the data. Bar code descriptor for MaxiCode The following is the header definition of the bar code descriptor for MaxiCode: Bytes 0-1 2-3 MSB Symbology ID byte 1 (00x) Mode LSB Symbology ID byte 2 (02x) Reserved Symbology ID bytes 0 and 1: (Required = 00 02x) These two bytes signify the symbology. Since most descriptors have different sizes and information, all bar code descriptors must reserve the first two bytes for the symbology ID so the remaining bytes can be interpreted accordingly. For MaxiCode, these two bytes must be 00x and 02x. Mode: (Default = 02x) This field designates what mode to use when interpreting the input data. Valid modes are (in hex):. Value 02x 03x 04x 05x 06x Description Structured carrier message with numeric postal code Structured carrier message with alphanumeric postal code Standard symbol with standard error correction Full symbol with enhanced error correction Reader program with standard error correction 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). Two-dimensional bar codes 52

  • 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
  • 166
  • 167
  • 168
  • 169
  • 170

Two-dimensional bar codes
52
Aspect ratio = 1:4
Note:
Using this aspect ratio, the bar code symbol is constructed as nearly as possible
with a height-to-width ratio of 1:4.
PCL 5 Data:
ESC
&x16W0001 04 02 0008 02 00 00 00 01 04 0000 0000
ESC
&y39WHere_are_39_bytes_of_data_to_be_encoded
Note that the bar code descriptor data is in bold. Each digit is a hex nibble. Two nibbles make each
byte and thus there are 32 nibbles. Each descriptor field is separated by a space to make the header
more readable. These spaces will not be sent with the data.
Bar code descriptor for MaxiCode
The following is the header definition of the bar code descriptor for MaxiCode:
Symbology ID bytes 0 and 1: (Required = 00 02x)
These two bytes signify the symbology. Since most descriptors have different sizes and information,
all bar code descriptors must reserve the first two bytes for the symbology ID so the remaining bytes
can be interpreted accordingly. For MaxiCode, these two bytes must be 00x and 02x.
Mode: (Default = 02x)
This field designates what mode to use when interpreting the input data. Valid modes are (in hex):.
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).
Bytes
MSB
LSB
0–1
Symbology ID byte 1 (00x)
Symbology ID byte 2 (02x)
2–3
Mode
Reserved
Value
Description
02x
Structured carrier message with numeric postal code
03x
Structured carrier message with alphanumeric postal code
04x
Standard symbol with standard error correction
05x
Full symbol with enhanced error correction
06x
Reader program with standard error correction