Japanese postal barcode

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Utilities)
 
(8 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 descriptions of how the barcode works in English. The relevant article on Japanese Wikipedia, [[Wikipedia:ja:郵便追跡サービス]], has no information either.
+
The start and end bars are FD and DF. Each character takes up three bars. Padding with TDA is performed to fill 20 chars.
 
+
Each character appears to occupy three bar units. "TDA" stands for a padding control character.
+
  
 
== 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 ==
 +
* [https://barcodeguide.seagullscientific.com/Content/Symbologies/Japanese_Postal.htm Barcode structure], seagull scientific (covers alphanumeric, but does not have exact values for each three-unit)
 
* [https://web.archive.org/web/20071009170325fw_/http://www.dlsoft.com/dlHelps/helps/barcodes/japanpost.htm Japan Post bar code info]
 
* [https://web.archive.org/web/20071009170325fw_/http://www.dlsoft.com/dlHelps/helps/barcodes/japanpost.htm Japan Post bar code info]
 
* [http://www.objectiflune.com/forum2/ubbthreads.php?ubb=showflat&Number=24459 Discussion of the encoding of these bar codes]
 
* [http://www.objectiflune.com/forum2/ubbthreads.php?ubb=showflat&Number=24459 Discussion of the encoding of these bar codes]
 
* [http://homepage1.nifty.com/tabotabo/pzips/jp_post_zip.htm Japanese postal/zip code directory]
 
* [http://homepage1.nifty.com/tabotabo/pzips/jp_post_zip.htm Japanese postal/zip code directory]

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