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

Bar code descriptor for Japan Post 4-State bar code, Bar code descriptor for Dutch Post 4-State bar

Page 37 highlights

Bar code descriptor for Japan Post 4-State bar code Byte Field name Range Default value Description 0-1 Symbology ID - 23 (dec) Selects Japan Post 4-State bar code 00 17(hex) symbology 2 Bar Code Size 80-115 (dec) 50-73 (hex) 100 (dec) 64 (hex) Sets overall bar code size This value called "a" is a unit-less value multiplying factor used below in other parameters. 3 Bar Width 0.5a-0.7a 0.6a Set the bar width (a = bar code size from byte 2) 4 Space Width 0.45a-0.6a 0.6a Sets space width (a = bar code size from byte 2) 5 Timing Bar Height 1.05a-1.35a 1.2a Sets the timing bar height (a = bar code size from byte 2) 6-7 Long Bar Height 3.4a-3.6a 3.6a Sets the long bar height (a = bar code size from byte 2) 8-15 Reserved - - - Notes on Japan Post data: • Data consists of a 7-digit postal code number, followed optionally by any block and house number information. • A hyphen may be included between the third and fourth digits of the postal number, and between the postal number and the block and house number. Each of these hyphens, if included, is ignored. • Any hyphens included as part of the block and house number information are encoded as data in the bar code. • Invalid characters or lengths in the postal code are flagged with an error. • Invalid characters in the block and house number information are flagged with an error. Bar code descriptor for Dutch Post 4-State bar code Byte Field name 0-1 Symbology ID 2 Bar Width 3 Bar Pitch 4 Synchronization Bar Height 5 Upward, Downward Bar Height Range - 38-63 (dec) 26-3F (hex) 20-24 (dec) 14-18 (hex) 102-152 (dec) 66-98 (hex) 160-216 (dec) A0-D8 (hex) Default value 24 (dec) 00 18(hex) 50 (dec) 32 (hex) 22 (dec) 16 (hex) 127 (dec) 7F (hex) 188 (dec) BC (hex) Description Selects Dutch Post 4-State symbology Sets the bar width to 1/100 mm Sets the number of bars that print per inch Sets the synchronization bar height to 1/100 mm Sets the upward and downward bar height to 1/100 mm One-dimensional bar codes 34

  • 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

One-dimensional bar codes
34
Bar code descriptor for Japan Post 4-State bar code
Bar code descriptor for Dutch Post 4-State bar code
Byte
Field name
Range
Default
value
Description
0–1
Symbology ID
23 (dec)
00 17(hex)
Selects Japan Post 4-State bar code
symbology
2
Bar Code Size
80–115 (dec)
50–73 (hex)
100 (dec)
64 (hex)
Sets overall bar code size
This value called “a” is a unit-less value
multiplying factor used below in other
parameters.
3
Bar Width
0.5a–0.7a
0.6a
Set the bar width
(a = bar code size from byte 2)
4
Space Width
0.45a–0.6a
0.6a
Sets space width
(a = bar code size from byte 2)
5
Timing Bar Height
1.05a–1.35a
1.2a
Sets the timing bar height
(a = bar code size from byte 2)
6–7
Long Bar Height
3.4a–3.6a
3.6a
Sets the long bar height
(a = bar code size from byte 2)
8–15
Reserved
Notes on Japan Post data:
Data consists of a 7-digit postal code number, followed optionally by any block and house number
information.
A hyphen may be included between the third and fourth digits of the postal number, and between the
postal number and the block and house number. Each of these hyphens, if included, is ignored.
Any hyphens included as part of the block and house number information are encoded as data in the
bar code.
Invalid characters or lengths in the postal code are flagged with an error.
Invalid characters in the block and house number information are flagged with an error.
Byte
Field name
Range
Default
value
Description
0–1
Symbology ID
24 (dec)
00 18(hex)
Selects Dutch Post 4-State symbology
2
Bar Width
38–63 (dec)
26–3F (hex)
50 (dec)
32 (hex)
Sets the bar width to 1/100 mm
3
Bar Pitch
20–24 (dec)
14–18 (hex)
22 (dec)
16 (hex)
Sets the number of bars that print per inch
4
Synchronization Bar
Height
102–152 (dec)
66–98 (hex)
127 (dec)
7F (hex)
Sets the synchronization bar height to
1/100 mm
5
Upward, Downward
Bar Height
160–216 (dec)
A0–D8 (hex)
188 (dec)
BC (hex)
Sets the upward and downward bar height
to 1/100 mm