Japanese postal barcode

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Links)
(Utilities)
 
(3 intermediate revisions by one user not shown)
Line 4: Line 4:
 
|image=Japanese-postal-barcode.png
 
|image=Japanese-postal-barcode.png
 
}}
 
}}
The '''Japanese postal barcode''' is used in mail sorting for Japan. It encodes an 7-digit postal/zip code plus an optional alphanumeric address code. The symbology allows the coding of the digits 0-9, letters A-Z, and hyphen. An alternative mode allows for pre-encoding SHIFT-JIS (CP936) as alphanumerics.
+
The '''Japanese postal barcode''' is used in mail sorting for Japan. It encodes an 7-digit postal/zip code plus an optional alphanumeric address code. The symbology allows the coding of the digits 0-9, letters A-Z, and hyphen. The address code is simply the alphanumeric portion of a street address.
  
 
This sort of bar code system is regarded as "four-state" because there are four types of bars, classified by presence of ascenders and/or descenders. This sort of system is transcribable using [[DAFT]] notation. These sorts of bar codes are used by a number of countries in their postal systems, though the specific symbologies by which they encode characters can vary.
 
This sort of bar code system is regarded as "four-state" because there are four types of bars, classified by presence of ascenders and/or descenders. This sort of system is transcribable using [[DAFT]] notation. These sorts of bar codes are used by a number of countries in their postal systems, though the specific symbologies by which they encode characters can vary.
  
 
== The scheme ==
 
== The scheme ==
There are no full descriptions of how the barcode works in English. The relevant article on Japanese Wikipedia, [[Wikipedia:ja:郵便追跡サービス]], has no information either. Someone with insider or reverse engineering knowledge is needed to figure this out.
 
 
 
The start and end bars are FD and DF. Each character takes up three bars. Padding with TDA is performed to fill 20 chars.
 
The start and end bars are FD and DF. Each character takes up three bars. Padding with TDA is performed to fill 20 chars.
  
 
== Utilities ==
 
== Utilities ==
 
* [http://barcode.tec-it.com/barcode-generator.aspx?group=BCGroup_Postal&barcode=JapanesePostal Barcode generator: Japanese postal bar code]
 
* [http://barcode.tec-it.com/barcode-generator.aspx?group=BCGroup_Postal&barcode=JapanesePostal Barcode generator: Japanese postal bar code]
** [http://www.tec-it.com/download/PDF/Barcode_Reference_EN.pdf TEC-IT Reference]
+
** [http://www.tec-it.com/download/PDF/Barcode_Reference_EN.pdf TEC-IT Reference] (Covers general information and address storage)
 +
* [https://github.com/pinekta/php-jp-customer-barcode-generator Barcode generator], in PHP
  
 
== Links ==
 
== Links ==

Latest revision as of 17:16, 4 November 2020

File Format
Name Japanese postal barcode
Ontology

{{{caption}}}

The Japanese postal barcode is used in mail sorting for Japan. It encodes an 7-digit postal/zip code plus an optional alphanumeric address code. The symbology allows the coding of the digits 0-9, letters A-Z, and hyphen. The address code is simply the alphanumeric portion of a street address.

This sort of bar code system is regarded as "four-state" because there are four types of bars, classified by presence of ascenders and/or descenders. This sort of system is transcribable using DAFT notation. These sorts of bar codes are used by a number of countries in their postal systems, though the specific symbologies by which they encode characters can vary.

[edit] The scheme

The start and end bars are FD and DF. Each character takes up three bars. Padding with TDA is performed to fill 20 chars.

[edit] Utilities

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox