One-dimensional bar codes
41
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