mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
228 lines
6.7 KiB
HTML
228 lines
6.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
|
<TITLE>4-State Codes</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.3 (Linux)">
|
|
<META NAME="CREATED" CONTENT="20070730;21081900">
|
|
<META NAME="CHANGED" CONTENT="20080316;13072500">
|
|
<STYLE TYPE="text/css">
|
|
<!--
|
|
TD P { color: #000000 }
|
|
H1 { color: #000000 }
|
|
P { color: #000000 }
|
|
TH P { color: #000000 }
|
|
A:link { color: #0000ff }
|
|
A:visited { color: #840084 }
|
|
-->
|
|
</STYLE>
|
|
</HEAD>
|
|
<BODY LANG="en-GB" TEXT="#000000" LINK="#0000ff" VLINK="#840084" BGCOLOR="#ffffff" DIR="LTR">
|
|
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0 STYLE="page-break-before: always">
|
|
<TR>
|
|
<TH COLSPAN=3>
|
|
<P ALIGN=CENTER>Zint Barcode Generator</P>
|
|
</TH>
|
|
</TR>
|
|
<TR VALIGN=BOTTOM>
|
|
<TD WIDTH=10%>
|
|
<P ALIGN=LEFT><A HREF="twotrack.html">Prev</A></P>
|
|
</TD>
|
|
<TD WIDTH=80%></TD>
|
|
<TD WIDTH=10%>
|
|
<P ALIGN=RIGHT><A HREF="twodims.html">Next</A></P>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<HR>
|
|
<H1>5.5 4-State Postal Codes</H1>
|
|
<P><A NAME="AUSPOST"></A><FONT SIZE=5><B>5.5.1 Australia Post 4-State
|
|
Symbols</B></FONT></P>
|
|
<P><A NAME="AUSCUST"></A><FONT SIZE=4><B>5.5.1.1 Customer Barcodes</B></FONT></P>
|
|
<P>Australia Post Standard Customer Barcode, Customer Barcode 2 and
|
|
Customer Barcode 3 are 37-bar, 52-bar and 67-bar specifications
|
|
respectively, developed by Australia Post for printing Delivery Point
|
|
ID (DPID) and customer information on mail items. Valid data
|
|
characters are 0-9, A-Z, a-z, space and hash (#). A Format Control
|
|
Code (FCC) is added by Zint and should not be included in the input
|
|
data. Reed-Solomon error correction data is generated by Zint.
|
|
Encoding behaviour is determined by the length of the input data
|
|
according to the formula shown in the following table:</P>
|
|
<CENTER>
|
|
<TABLE WIDTH=871 BORDER=1 CELLPADDING=4 CELLSPACING=3>
|
|
<COL WIDTH=110>
|
|
<COL WIDTH=322>
|
|
<COL WIDTH=175>
|
|
<COL WIDTH=89>
|
|
<COL WIDTH=115>
|
|
<THEAD>
|
|
<TR VALIGN=TOP>
|
|
<TH WIDTH=110>
|
|
<P>Input Length</P>
|
|
</TH>
|
|
<TH WIDTH=322>
|
|
<P>Required Input Format</P>
|
|
</TH>
|
|
<TH WIDTH=175>
|
|
<P>Symbol Length</P>
|
|
</TH>
|
|
<TH WIDTH=89>
|
|
<P>FCC</P>
|
|
</TH>
|
|
<TH WIDTH=115>
|
|
<P>Encoding Table</P>
|
|
</TH>
|
|
</TR>
|
|
</THEAD>
|
|
<TBODY>
|
|
<TR VALIGN=TOP>
|
|
<TD WIDTH=110>
|
|
<P ALIGN=CENTER>8</P>
|
|
</TD>
|
|
<TD WIDTH=322>
|
|
<P ALIGN=CENTER>99999999</P>
|
|
</TD>
|
|
<TD WIDTH=175>
|
|
<P ALIGN=CENTER>37-bar</P>
|
|
</TD>
|
|
<TD WIDTH=89>
|
|
<P ALIGN=CENTER>11</P>
|
|
</TD>
|
|
<TD WIDTH=115>
|
|
<P ALIGN=CENTER>None</P>
|
|
</TD>
|
|
</TR>
|
|
<TR VALIGN=TOP>
|
|
<TD WIDTH=110>
|
|
<P ALIGN=CENTER>13</P>
|
|
</TD>
|
|
<TD WIDTH=322>
|
|
<P ALIGN=CENTER>99999999AAAAA</P>
|
|
</TD>
|
|
<TD WIDTH=175>
|
|
<P ALIGN=CENTER>52-bar</P>
|
|
</TD>
|
|
<TD WIDTH=89>
|
|
<P ALIGN=CENTER>59</P>
|
|
</TD>
|
|
<TD WIDTH=115>
|
|
<P ALIGN=CENTER>C</P>
|
|
</TD>
|
|
</TR>
|
|
<TR VALIGN=TOP>
|
|
<TD WIDTH=110>
|
|
<P ALIGN=CENTER>16</P>
|
|
</TD>
|
|
<TD WIDTH=322>
|
|
<P ALIGN=CENTER>9999999999999999</P>
|
|
</TD>
|
|
<TD WIDTH=175>
|
|
<P ALIGN=CENTER>52-bar</P>
|
|
</TD>
|
|
<TD WIDTH=89>
|
|
<P ALIGN=CENTER>59</P>
|
|
</TD>
|
|
<TD WIDTH=115>
|
|
<P ALIGN=CENTER>N</P>
|
|
</TD>
|
|
</TR>
|
|
<TR VALIGN=TOP>
|
|
<TD WIDTH=110>
|
|
<P ALIGN=CENTER>18</P>
|
|
</TD>
|
|
<TD WIDTH=322>
|
|
<P ALIGN=CENTER>99999999AAAAAAAAAA</P>
|
|
</TD>
|
|
<TD WIDTH=175>
|
|
<P ALIGN=CENTER>67-bar</P>
|
|
</TD>
|
|
<TD WIDTH=89>
|
|
<P ALIGN=CENTER>62</P>
|
|
</TD>
|
|
<TD WIDTH=115>
|
|
<P ALIGN=CENTER>C</P>
|
|
</TD>
|
|
</TR>
|
|
<TR VALIGN=TOP>
|
|
<TD WIDTH=110>
|
|
<P ALIGN=CENTER>23</P>
|
|
</TD>
|
|
<TD WIDTH=322>
|
|
<P ALIGN=CENTER>99999999999999999999999</P>
|
|
</TD>
|
|
<TD WIDTH=175>
|
|
<P ALIGN=CENTER>67-bar</P>
|
|
</TD>
|
|
<TD WIDTH=89>
|
|
<P ALIGN=CENTER>62</P>
|
|
</TD>
|
|
<TD WIDTH=115>
|
|
<P ALIGN=CENTER>N</P>
|
|
</TD>
|
|
</TR>
|
|
</TBODY>
|
|
</TABLE>
|
|
</CENTER>
|
|
<P ALIGN=JUSTIFY STYLE="margin-bottom: 0cm"><BR>
|
|
</P>
|
|
<P><A NAME="AUSREPLY"></A><FONT SIZE=4><B>5.5.1.2 Reply Paid Barcode</B></FONT></P>
|
|
<P>A Reply Paid version of the Australia Post 4-State Barcode (FCC
|
|
45) which requires an 8-digit DPID input.</P>
|
|
<P><A NAME="AUSROUTE"></A><FONT SIZE=4><B>5.5.1.3 Routing Barcode</B></FONT></P>
|
|
<P>A Routing version of the Australia Post 4-State Barcode (FCC 87)
|
|
which requires an 8-digit DPID input.</P>
|
|
<P><A NAME="AUSREDIRECT"></A><FONT SIZE=4><B>5.5.1.4 Redirect Barcode</B></FONT></P>
|
|
<P>A Redirection version of the Australia Post 4-State Barcode (FCC
|
|
92) which requires an 8-digit DPID input.</P>
|
|
<P ALIGN=CENTER><IMG SRC="auspost.png" NAME="graphics1" ALIGN=LEFT WIDTH=266 HEIGHT=20 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
|
</P>
|
|
<P><A NAME="RM4SCC"></A><FONT SIZE=5><B>5.5.2 Royal Mail 4-State
|
|
Country Code (RM4SCC)</B></FONT></P>
|
|
<P>The RM4SCC standard is used by the Royal Mail in the UK to encode
|
|
postcode and customer data on mail items. Data input can consist of
|
|
numbers 0-9 and letters A-Z and usually includes delivery postcode
|
|
followed by house number. For example "W1J0TR01" for 1
|
|
Picadilly Circus in London. Check digit data is generated by Zint.</P>
|
|
<P ALIGN=CENTER><IMG SRC="rm4scc.png" NAME="graphics2" ALIGN=LEFT WIDTH=166 HEIGHT=20 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
|
</P>
|
|
<P><A NAME="ONECODE"></A><FONT SIZE=5><B>5.5.3 USPS OneCode</B></FONT></P>
|
|
<P>Also known as the Intelligent Mail Barcode and used in the US by
|
|
the United States Postal Service (USPS), the OneCode system is due to
|
|
replace the PostNet and PLANET symbologies by 2009. OneCode is a
|
|
fixed length (65-bar) symbol which combines routing and customer
|
|
information in a single symbol. Input data consists of a 20 digit
|
|
tracking code, followed by a dash (-), followed by a delivery point
|
|
zip-code which can be 0, 5, 9 or 11 digits in length. For example all
|
|
of the following inputs are valid data entries:</P>
|
|
<P><FONT FACE="Courier">"01234567094987654321"<BR>"01234567094987654321-01234"<BR>"01234567094987654321-012345678"<BR>"01234567094987654321-01234567891"</FONT></P>
|
|
<P ALIGN=CENTER><IMG SRC="onecode.png" NAME="graphics3" ALIGN=LEFT WIDTH=258 HEIGHT=12 BORDER=0><BR CLEAR=LEFT><BR><BR><BR>
|
|
</P>
|
|
<HR>
|
|
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
|
|
<TR VALIGN=TOP>
|
|
<TD WIDTH=33% HEIGHT=5>
|
|
<P ALIGN=LEFT><A HREF="twotrack.html">Prev</A></P>
|
|
</TD>
|
|
<TD WIDTH=34%>
|
|
<P ALIGN=CENTER><A HREF="index.html">Home</A></P>
|
|
</TD>
|
|
<TD WIDTH=33%>
|
|
<P ALIGN=RIGHT><A HREF="twodims.html">Next</A></P>
|
|
</TD>
|
|
</TR>
|
|
<TR VALIGN=TOP>
|
|
<TD WIDTH=33%>
|
|
<P ALIGN=LEFT>Two-Track Symbols</P>
|
|
</TD>
|
|
<TD WIDTH=34%>
|
|
<P ALIGN=CENTER> </P>
|
|
</TD>
|
|
<TD WIDTH=33%>
|
|
<P ALIGN=RIGHT>Two-Dimensional Symbols</P>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<P><BR><BR>
|
|
</P>
|
|
</BODY>
|
|
</HTML> |