TBarcode1D_PostBar
The component is used to create the PostBar barcode symbol. It's defined in the pPostBar unit.
The PostBar barcode symbology is also known as CPC 4-State. It is the black-ink barcode system used by Canada Post in its automated mail sorting and delivery operations. Canada Post uses nine different formats of PostBar codes - three "domestic" barcodes, used on mail within Canada, two "global" codes, used to route mail outside Canada, three "service" codes, used on customer-applied barcodes, and an "internal" code, used for testing, maintenance, and tracking purposes by Canada.
Technical Details:
The formats of the PostBar codes are specified in the following:
- Domestic
- Format D07: Z ANANAN
- Z: Data Content Identifier (Character "A")
- ANANAN: Postal Code (Length: 6 characters; Characters set: A: "0"-"9"; N: "A"-"Z")
Example: AK1A7R8 - Format D12: Z ANANAN ZZZZ
- Z: Data Content Identifier (Character "B")
- ANANAN: Postal Code (Length: 6 characters; Characters set: A: "0"-"9"; N: "A"-"Z")
- ZZZZ: Address Information (Length: 4 characters; Characters set: [SPACE], "0".."9", "A"-"Z")
Example: BK1A4S21234 - Format D22: Z ANANAN ZZZZ ZZZZZZZZZZZ
- Z: Data Content Identifier (Character "C")
- ANANAN: Postal Code (Length: 6 characters; Characters set: A: "0"-"9"; N: "A"-"Z")
- ZZZZ: Address Information (Length: 4 characters; Characters set: [SPACE], "0".."9", "A"-"Z")
- ZZZZZZZZZZZ: Customer Information (Length: 0-11 characters; Characters set: [SPACE], "0"-"9", "A"-"Z")
Example: CL3B4T91420CFFMIPLXF6V
- Global
- Format G12: Z NNN ZZZZZZZZ
- Z: Data Content Identifier (Character "1")
- NNN: Country Code (Length: 3 characters; Characters set: "0"-"9")
- ZZZZZZZZ: Postal Code (Length: 8 characters; Characters set: [SPACE], "0".."9", "A"-"Z")
Example: 118091266ABC - Format G22: Z NNN ZZZZZZZZ ZZZZZZZZZZ
- Z: Data Content Identifier (Character "2")
- NNN: Country Code (Length: 3 characters; Characters set: "0"-"9")
- ZZZZZZZZ: Postal Code (Length: 8 characters; Characters set: [SPACE], "0".."9", "A"-"Z")
- ZZZZZZZZZZ: Customer Information (Length: 1-10 characters; Characters set: [SPACE], "0".."9", "A"-"Z")
Example: 2216HA97PPABFFMIPL659V
- Service
- Format S06: Z Z ZZZZZZZZZZZZZZZZZZZ
- Z: Data Content Identifier (Character "S")
- Z: Bar Code Sequencer (Length: 1 character; Characters set: [SPACE], "0".."9", "A"-"Z")
- ZZZZZZZZZZZZZZZZZZZ: Service Information (Length: 0-19 characters; Characters set: [SPACE], "0".."9", "A"-"Z")
Example: S0ABCDEFGHIJ123456789 - Format S11: Z ZZZZZZZZZZ
- Z: Data Content Identifier (Character "T")
- ZZZZZZZZZZ: Service Information (Length: 0-10 characters; Characters set: [SPACE], "0".."9", "A"-"Z")
Example: TABCDE12345 - Format S21: Z ZZZZZ
- Z: Data Content Identifier (Character "U")
- ZZZZZ: Service Information (Length: 0-5 characters; Characters set: [SPACE], "0".."9", "A"-"Z")
Example: UABC12
- Internal use
- Format C10: Z ANANAN BBB
- Z: Data Content Identifier (Character "Z")
- ANANAN: Postal Code (Length: 6 characters; Characters set: A: "0"-"9"; N: "A"-"Z")
- BBB: Machine Identifier (Length: 0-3 characters; Characters set: "0".."9")
Example: ZK1A0B1097
(*): The Data property, OnInvalidDataLength and OnInvalidDataChar events are available only for the Delphi/C++ Builder 2009 or later.
Contents
Copyright © 2001-2024
Han-soft Corporation. All rights reserved.