POSTNET

維基百科,自由的百科全書
聖貝納迪諾的美國郵政署處理和配送中心,建築外牆上有POSTNET條碼

POSTNET(Postal Numeric Encoding Technique,郵政數字編碼)是美國郵政署使用的條碼 。以半高和全高線條對郵遞區號、郵遞區號+4碼或投遞點編號英語delivery point編碼。[1]

每個數字都以五條線表示,其中兩條為長線(即五取二碼英語Two-out-of-five code)。長線為Binary code英語Binary code中的1。每條線從左至右代表的數值分別為7、4、2、1和0(儘管數字0會以11000編碼,而非00001)。起始與終止符號都是長線(通常稱為「護欄」或「框架」,在USPS TrueType字體中以字母「S」表示),在郵遞區號、郵遞區號+4碼與投遞點編號右邊會加上校驗碼

編碼方式[編輯]

數字 位數 條碼
7 4 2 1 0
0 1 1 0 0 0
1 0 0 0 1 1
2 0 0 1 0 1
3 0 0 1 1 0
4 0 1 0 0 1
5 0 1 0 1 0
6 0 1 1 0 0
7 1 0 0 0 1
8 1 0 0 1 0
9 1 0 1 0 0
起始/終止 - - - - 1

校驗碼演算法[編輯]

校驗碼加上條碼中的其他數字會是10的倍數。也就是說,條碼內容的總和會整除10。

計算校驗碼有以下步驟:

  1. 將所有數字相加。例如,郵遞區號+4碼55555-1237的總和為38
  2. 求出該數字除以10的餘數。在本例中為38÷10=3...8
  3. 從10減去上一步的結果。在本例中為10-8=2

如果計算正確,條碼內容的總和會是10的倍數。繼續上面的範例,(5+5+5+5+5+15+2+3+7+2)=40,而40 mod 10=0。

範例[編輯]

郵遞區號+4碼55555-1237的校驗位為2,完整條碼內容為5555512372。加上起始與終止符號會表示成:

條碼格式[編輯]

美國郵政署共使用四種格式的Postnet條碼

名稱 位數 [註 1] 總線條數 內容 備註
ZIP +4 投遞點編號英語delivery point
A code 5 32
B code 6 37 最後兩位 在郵政自動郵件處理的早期階段,使用OCR辨識A Code時使用,現已不再使用。
C code 9 53 可以將郵件細分至郵務車
DPBC(Delivery Point Bar Code) 11 62 由於包含投遞點編號,郵局可以輕易地排出投遞順序[2]

停用[編輯]

2009年秋天,POSTNET被智慧郵政條碼英語Intelligent Mail barcode取代 [3]。原本預計於2011年5月開始全面使用智慧郵政條碼,但美國郵政署將時間推遲至2013年1月28日。 [4][5]

相關資料[編輯]

參考文獻[編輯]

  1. ^ Publication 25, Designing Letter and Reply Mail (PDF). United States: United States Postal Service. July 2003: 37–56 [2020-08-25]. (原始內容存檔 (PDF)於2005-01-18). 
  2. ^ United States Postal Service, Domestic Mail Manual 708.4 - Special Standards, Technical Specifications, Barcoding Standards for Letters and Flats. Archived copy (PDF). [2010-01-02]. (原始內容存檔 (PDF)於2010-08-05). 
  3. ^ POSTNET Barcode Discontinuation (PDF). [2020-08-25]. (原始內容存檔 (PDF)於2016-03-06). 
  4. ^ Postal Service Relaxes Upcoming Requirements for Automation Prices. [2020-08-25]. (原始內容存檔於2011-03-08). 
  5. ^ Intelligent Mail Services Latest News (PDF). United States Postal Service. September 21, 2012 [2012-09-27]. (原始內容存檔於2012-07-30). The Intelligent Mail barcode, formerly referred to as the 4-State Customer barcode, is a new Postal Service barcode used to sort and track letters and flats. The Postal Service is promoting use of the Intelligent Mail barcode because it expands the ability to track individual mailpieces and provides customers with greater visibility into the mailstream. 

註釋[編輯]

  1. ^ 不含校驗碼