mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-22 19:25:10 -04:00
documentation overhaul for 1.6.3
This commit is contained in:
parent
ebfac2fb47
commit
001898faa9
36 changed files with 391 additions and 82 deletions
|
@ -3,9 +3,9 @@
|
|||
<HEAD>
|
||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
||||
<TITLE>One-Dimensional Symbols</TITLE>
|
||||
<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.3 (Linux)">
|
||||
<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.4 (Unix)">
|
||||
<META NAME="CREATED" CONTENT="20070730;21081900">
|
||||
<META NAME="CHANGED" CONTENT="20080316;11412400">
|
||||
<META NAME="CHANGED" CONTENT="20080719;21533300">
|
||||
<STYLE TYPE="text/css">
|
||||
<!--
|
||||
TD P { color: #000000 }
|
||||
|
@ -46,7 +46,7 @@ spaces of differing widths.</P>
|
|||
Matrix and is primarily used in telecommunications. The symbol can
|
||||
encode any length string consisting of the digits 0-9 and the dash
|
||||
character (-). One modulo-11 check digit is calculated.</P>
|
||||
<P ALIGN=CENTER><IMG SRC="code11.png" NAME="graphics1" ALIGN=LEFT WIDTH=225 HEIGHT=140 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
<P ALIGN=CENTER><IMG SRC="code11.png" NAME="graphics1" ALIGN=LEFT WIDTH=190 HEIGHT=118 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
</P>
|
||||
<P><A NAME="CODE25"></A><FONT SIZE=5><B>5.1.2 Code 2 of 5</B></FONT></P>
|
||||
<P>Code 2 of 5 is a family of one-dimensional symbols, 8 of which are
|
||||
|
@ -79,16 +79,16 @@ numeric input (digits 0-9).</P>
|
|||
<P>ITF-14, also known as UPC Shipping Container Symbol, Case Code and
|
||||
EAN-14, is based on Interleaved Code 2 of 5 and requires a 13 digit
|
||||
numeric input (digits 0-9). One modulo-10 check digit is calculated.</P>
|
||||
<P><A NAME="DPLEIT"></A><FONT SIZE=4><B>5.1.2.7 Deutche Post Leitcode</B></FONT></P>
|
||||
<P><A NAME="DPLEIT"></A><FONT SIZE=4><B>5.1.2.7 Deutsche Post Leitcode</B></FONT></P>
|
||||
<P>Leitcode is based on Interleaved Code 2 of 5 and is used by
|
||||
Deutche Post for mailing purposes. Leitcode requires a 13-digit
|
||||
Deutsche Post for mailing purposes. Leitcode requires a 13-digit
|
||||
numerical input and includes a check digit.</P>
|
||||
<P><A NAME="DPIDENT"></A><FONT SIZE=4><B>5.1.2.8 Deutche Post
|
||||
<P><A NAME="DPIDENT"></A><FONT SIZE=4><B>5.1.2.8 Deutsche Post
|
||||
Identcode</B></FONT></P>
|
||||
<P>Identcode is based on Interleaved Code 2 of 5 and is used by
|
||||
Deutche Post for mailing purposes. Identcode requires an 11-digit
|
||||
Deutsche Post for mailing purposes. Identcode requires an 11-digit
|
||||
numerical input and includes a check digit.</P>
|
||||
<P ALIGN=CENTER><IMG SRC="itf14.png" NAME="graphics2" ALIGN=LEFT WIDTH=451 HEIGHT=177 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
<P ALIGN=CENTER><IMG SRC="itf14.png" NAME="graphics2" ALIGN=LEFT WIDTH=382 HEIGHT=150 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
</P>
|
||||
<P><A NAME="UPC"></A><FONT SIZE=5><B>5.1.3 Universal Product Code (EN
|
||||
797)</B></FONT></P>
|
||||
|
@ -119,7 +119,7 @@ number stating with the digit 1. For example:</P>
|
|||
<P><FONT FACE="Courier, monospace"><FONT SIZE=2>my_symbol->symbology
|
||||
= BARCODE_UPCE;<BR>error = ZBarcode_Encode_and_Print(my_symbol,
|
||||
"1123456");</FONT></FONT></P>
|
||||
<P><IMG SRC="upca.png" NAME="graphics3" ALIGN=LEFT WIDTH=272 HEIGHT=140 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
<P><IMG SRC="upca.png" NAME="graphics3" ALIGN=LEFT WIDTH=288 HEIGHT=118 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
</P>
|
||||
<P><A NAME="EAN"></A><FONT SIZE=5><B>5.1.4 European Article Number
|
||||
(EN 797)</B></FONT></P>
|
||||
|
@ -150,14 +150,14 @@ The relevant check digit needs to be present in the input data and
|
|||
will be verified before the symbol is generated. In addition EAN-2
|
||||
and EAN-5 add-on symbols can be added using the + symbol as with UPC
|
||||
symbols.</P>
|
||||
<P><IMG SRC="ean13.png" NAME="graphics4" ALIGN=LEFT WIDTH=272 HEIGHT=140 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
<P><IMG SRC="ean13.png" NAME="graphics4" ALIGN=LEFT WIDTH=288 HEIGHT=118 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
</P>
|
||||
<P><A NAME="PLESSEY"></A><FONT SIZE=5><B>5.1.5 Plessey</B></FONT></P>
|
||||
<P>Also known as Plessey Code, this symbology was developed by the
|
||||
Plessey Company Ltd. in the UK. The symbol can encode any length data
|
||||
consisting of digits (0-9) or letters A-F and includes a CRC check
|
||||
digit.</P>
|
||||
<P ALIGN=CENTER><IMG SRC="plessey.png" NAME="graphics5" ALIGN=LEFT WIDTH=461 HEIGHT=140 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
<P ALIGN=CENTER><IMG SRC="plessey.png" NAME="graphics5" ALIGN=LEFT WIDTH=390 HEIGHT=118 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
</P>
|
||||
<P><A NAME="MSI"></A><FONT SIZE=5><B>5.1.6 MSI Plessey</B></FONT></P>
|
||||
<P>Based on Plessey and developed by MSE Data Corporation, MSI
|
||||
|
@ -243,7 +243,7 @@ options available:</P>
|
|||
</CENTER>
|
||||
<P><BR><BR>
|
||||
</P>
|
||||
<P ALIGN=CENTER><IMG SRC="msi.png" NAME="graphics6" ALIGN=LEFT WIDTH=244 HEIGHT=140 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
<P ALIGN=CENTER><IMG SRC="msi.png" NAME="graphics6" ALIGN=LEFT WIDTH=230 HEIGHT=118 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
</P>
|
||||
<P><A NAME="TELEPEN"></A><FONT SIZE=5><B>5.1.7 Telepen</B></FONT></P>
|
||||
<P><A NAME="TELEPENASCII"></A><FONT SIZE=4><B>5.1.7.1 Telepen Alpha</B></FONT></P>
|
||||
|
@ -253,7 +253,7 @@ modulo-127 check digit.</P>
|
|||
<P><A NAME="TELENUM"></A><FONT SIZE=4><B>5.1.7.2 Telepen Numeric</B></FONT></P>
|
||||
<P>Telepen Numeric allows compression of purely numeric data into a
|
||||
Telepen symbol and includes a modulo-127 check digit.</P>
|
||||
<P ALIGN=CENTER><IMG SRC="telepen.png" NAME="graphics7" ALIGN=LEFT WIDTH=378 HEIGHT=140 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
<P ALIGN=CENTER><IMG SRC="telepen.png" NAME="graphics7" ALIGN=LEFT WIDTH=320 HEIGHT=118 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
</P>
|
||||
<P><A NAME="CODE39"></A><FONT SIZE=5><B>5.1.8 Code 39</B></FONT></P>
|
||||
<P><A NAME="CODE39STAND"></A><FONT SIZE=4><B>5.1.8.1 Standard Code 39
|
||||
|
@ -281,7 +281,12 @@ modulo-10 check digit.</P>
|
|||
Symbols) is a variation of the Code 39 symbology used by the US
|
||||
Department of Defence. LOGMARS encodes the same character set as
|
||||
Standard Code 39 and adds a modulo-43 check digit.</P>
|
||||
<P ALIGN=CENTER><IMG SRC="code39.png" NAME="graphics8" ALIGN=LEFT WIDTH=244 HEIGHT=140 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
<P><A NAME="CODE32"></A><FONT SIZE=4><B>5.1.8.6 Code 32</B></FONT></P>
|
||||
<P>A variation of Code 39 used by the Italian Ministry of Health
|
||||
(Ministero della Sanità) for encoding pharmacode data on
|
||||
pharmaceutical products. Requires a numeric input up to 8 digits
|
||||
in length. Check digit is added by Zint.</P>
|
||||
<P ALIGN=CENTER><IMG SRC="code39.png" NAME="graphics8" ALIGN=LEFT WIDTH=206 HEIGHT=118 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
</P>
|
||||
<P><A NAME="CODABAR"></A><FONT SIZE=5><B>5.1.9 Codabar (EN 798)</B></FONT></P>
|
||||
<P>Also known as NW-7, Monarch, ABC Codabar, USD-4, Ames Code and
|
||||
|
@ -292,7 +297,7 @@ Codabar can encode any length string starting and ending with the
|
|||
letters A-D and containing between these letters the numbers 0-9,
|
||||
dash (-), dollar ($), colon (:), slash (/), full stop (.) or plus
|
||||
(+). No check digit is generated.</P>
|
||||
<P ALIGN=CENTER><IMG SRC="codabar.png" NAME="graphics9" ALIGN=LEFT WIDTH=194 HEIGHT=140 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
<P ALIGN=CENTER><IMG SRC="codabar.png" NAME="graphics9" ALIGN=LEFT WIDTH=164 HEIGHT=118 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
</P>
|
||||
<P><A NAME="PHARMA"></A><FONT SIZE=5><B>5.1.10 Pharmacode</B></FONT></P>
|
||||
<P>Developed by Laetus, Pharmacode One-Track is used for the
|
||||
|
@ -309,7 +314,7 @@ supports full ASCII text and uses a three-mode system to compress the
|
|||
data into a smaller symbol. Zint automatically switches between modes
|
||||
and adds a modulo-103 check digit. Code 128 is the default barcode
|
||||
symbology used by Zint. In addition Zint supports the encoding of
|
||||
Latin-1 (non-English) characters in Code 128 symbols. The Latin-1
|
||||
Latin-1 (non-English) characters in Code 128 symbols [1]. The Latin-1
|
||||
character set is shown in <A HREF="appxa.html">Appendix A</A>.</P>
|
||||
<P><A NAME="CODE128B"></A><FONT SIZE=4><B>5.1.11.2 Code 128 Subset B</B></FONT></P>
|
||||
<P>It is sometimes advantageous to stop Code 128 from using subset
|
||||
|
@ -334,7 +339,7 @@ data. The following is an example of a valid GS1-128 input:</P>
|
|||
<P>A variation of Code 128 the Nummber der Versandeinheit standard
|
||||
includes both modulo-10 and modulo-103 check digits. NVE-18 requires
|
||||
a 17 digit numerical input.</P>
|
||||
<P ALIGN=CENTER><IMG SRC="code128.png" NAME="graphics11" ALIGN=LEFT WIDTH=291 HEIGHT=140 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
<P ALIGN=CENTER><IMG SRC="code128.png" NAME="graphics11" ALIGN=LEFT WIDTH=246 HEIGHT=118 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
</P>
|
||||
<P ALIGN=LEFT><A NAME="DATABAR"></A><FONT SIZE=5><B>5.1.12 GS1
|
||||
DataBar (ISO 24724)</B></FONT></P>
|
||||
|
@ -380,7 +385,17 @@ C</A>). </SPAN><FONT SIZE=3><SPAN STYLE="font-weight: medium">The
|
|||
following is an example of a valid DataBar Expanded input</SPAN></FONT></P>
|
||||
<P ALIGN=LEFT STYLE="font-weight: medium"><FONT FACE="Courier, monospace"><FONT SIZE=2>zint
|
||||
--barcode=31 -d "[01]98898765432106[3202]012345[15]991231"</FONT></FONT></P>
|
||||
<P ALIGN=CENTER><IMG SRC="databar.png" NAME="graphics12" ALIGN=LEFT WIDTH=357 HEIGHT=140 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
<P ALIGN=CENTER><IMG SRC="databar.png" NAME="graphics12" ALIGN=LEFT WIDTH=302 HEIGHT=118 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
</P>
|
||||
<P ALIGN=LEFT>[1] Extended ASCII support requires the input data to
|
||||
be in a plain ASCII format. This can be difficult to do from the
|
||||
command prompt which may use the UTF-8 standard or similar
|
||||
international character support. An example program <FONT FACE="Courier, monospace">exttest.c</FONT>
|
||||
is included in the frontend folder to show how extended ASCII can be
|
||||
used to produce the following symbol. Extended ASCII characters may
|
||||
not display properly in EPS images due to the restrictions of the EPS
|
||||
format.</P>
|
||||
<P ALIGN=LEFT><IMG SRC="barext.png" NAME="graphics13" ALIGN=LEFT WIDTH=246 HEIGHT=118 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
</P>
|
||||
<HR>
|
||||
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue