mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Add HIBC
This commit is contained in:
parent
c1e89c6460
commit
9ee63311ff
@ -1188,6 +1188,83 @@ following table. For example</P>
|
||||
<P ALIGN=CENTER>Micro QR Code</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR VALIGN=TOP>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>98</P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER><FONT FACE="Courier, monospace">BARCODE_HIBC_128</FONT></P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>HIBC Code 128</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR VALIGN=TOP>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>99</P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER><FONT FACE="Courier, monospace">BARCODE_HIBC_39</FONT></P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>HIBC Code 39</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR VALIGN=TOP>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>102</P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER><FONT FACE="Courier, monospace">BARCODE_HIBC_DM</FONT></P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>HIBC Data Matrix</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR VALIGN=TOP>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>104</P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER><FONT FACE="Courier, monospace">BARCODE_HIBC_QR</FONT></P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>HIBC QR Code</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR VALIGN=TOP>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>106</P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER><FONT FACE="Courier, monospace">BARCODE_HIBC_PDF</FONT></P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>HIBC PDF417</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR VALIGN=TOP>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>108</P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER><FONT FACE="Courier, monospace">BARCODE_HIBC_MICPDF</FONT></P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>HIBC MicroPDF417</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR VALIGN=TOP>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>110</P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER><FONT FACE="Courier, monospace">BARCODE_HIBC_BLOCKF</FONT></P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>HIBC Codablock-F</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR VALIGN=TOP>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>128</P>
|
||||
|
@ -207,14 +207,6 @@ accessed using the <FONT FACE="Courier">--mode= </FONT>prompt
|
||||
followed by 1, 2 or 3 for CC-A, CC-B or CC-C respectively, or by
|
||||
using the <FONT FACE="Courier">option_1</FONT> variable as shown
|
||||
above.</P>
|
||||
<P ALIGN=LEFT><FONT COLOR="#ff0000"><B>NOTE</B></FONT>: <B>2D
|
||||
component data starting with a production (AI 11) or expiration (AI
|
||||
17) date must be followed by a batch number (AI 10).</B> In the
|
||||
absence of real data this value can be entered as "0". This
|
||||
is due to a known problem concerning the way the encoding is
|
||||
optimised for date information. It is hoped this problem will be
|
||||
resolved in a later release of Zint.</P>
|
||||
<P ALIGN=LEFT> </P>
|
||||
<P ALIGN=LEFT><A NAME="CCA"></A><FONT SIZE=5><B>5.3.1 CC-A</B></FONT></P>
|
||||
<P ALIGN=LEFT>This system uses a variation of MicroPDF417 which
|
||||
optimised to fit into a small space. The size of the 2D component and
|
||||
|
@ -542,6 +542,62 @@ appropriate integer value in the following table.</P>
|
||||
<P ALIGN=CENTER>Micro QR Code</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>98</P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>HIBC Code 128</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>99</P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>HIBC Code 39</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>102</P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>HIBC Data Matrix</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>104</P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>HIBC QR Code</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>106</P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>HIBC PDF417</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>108</P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>HIBC MicroPDF417</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>110</P>
|
||||
</TD>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>HIBC Codablock-F</P>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>
|
||||
<P ALIGN=CENTER>128</P>
|
||||
@ -644,6 +700,7 @@ appropriate integer value in the following table.</P>
|
||||
Stacked component</P>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</CENTER>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<BODY LANG="en-GB" TEXT="#000000" LINK="#0000ff" VLINK="#840084" BGCOLOR="#ffffff" DIR="LTR">
|
||||
<H1>Zint Barcode Generator</H1>
|
||||
<P><FONT SIZE=4>by Robin Stuart <robin@zint.org.uk></FONT></P>
|
||||
<P>Version 2.1, 24<SUP>th</SUP> January 2009</P>
|
||||
<P>Version 2.1.1, 10<SUP>th</SUP> February 2009</P>
|
||||
<P>This document is a guide to Zint, the <I>libzint</I> library and
|
||||
the barcode symbologies supported by them.</P>
|
||||
<HR>
|
||||
@ -145,6 +145,8 @@ the barcode symbologies supported by them.</P>
|
||||
5.1.8.5 <A HREF="onedim.html#LOGMARS">LOGMARS</A>
|
||||
</DT><DT>
|
||||
5.1.8.6 <A HREF="onedim.html#CODE32">Code 32</A>
|
||||
</DT><DT>
|
||||
5.1.8.7 <A HREF="onedim.html#HIBC39">HIBC Code 39</A>
|
||||
</DT></DL>
|
||||
<DT>
|
||||
5.1.9 <A HREF="onedim.html#CODABAR">Codabar (EN 798)</A>
|
||||
@ -164,6 +166,8 @@ the barcode symbologies supported by them.</P>
|
||||
5.1.11.4 <A HREF="onedim.html#EAN14">EAN-14</A>
|
||||
</DT><DT>
|
||||
5.1.11.5 <A HREF="onedim.html#NVE18">NVE-18</A>
|
||||
</DT><DT>
|
||||
5.1.11.6 <A HREF="onedim.html#HIBC128">HIBC Code 128</A>
|
||||
</DT></DL>
|
||||
<DT>
|
||||
5.1.12 <A HREF="onedim.html#DATABAR">GS1 DataBar (ISO 24724)</A>
|
||||
|
@ -3,20 +3,6 @@
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
||||
<TITLE>Legal and Version Information</TITLE>
|
||||
<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.4 (Unix)">
|
||||
<META NAME="CREATED" CONTENT="20070730;21081900">
|
||||
<META NAME="CHANGED" CONTENT="20090101;17540500">
|
||||
<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>
|
||||
@ -38,9 +24,9 @@
|
||||
<H1>6. Legal and Version Information</H1>
|
||||
<P><A NAME="LICENSE"></A><FONT SIZE=5><B>6.1 License</B></FONT></P>
|
||||
<P><IMG SRC="gplv3-127x51.png" NAME="graphics1" ALIGN=RIGHT WIDTH=127 HEIGHT=51 BORDER=0>Zint
|
||||
and <I>libzint</I> are Copyright © 2008 Robin Stuart & BogDan
|
||||
and <I>libzint</I> are Copyright © 2009 Robin Stuart & BogDan
|
||||
Vatra and are distributed under the terms of the <A HREF="http://www.gnu.org/copyleft/gpl.html">GNU
|
||||
General Public License</A> version 3 [1]. See the file <FONT FACE="Courier">COPYING</FONT>
|
||||
General Public License</A> version 3. See the file <FONT FACE="Courier">COPYING</FONT>
|
||||
for more information. The following terms form part of the GPL:</P>
|
||||
<P><FONT FACE="Courier">This program is free software; you can
|
||||
redistribute it and/or modify it under the terms of the GNU General
|
||||
@ -50,7 +36,7 @@ version 3 of the License, or (at your option) any later version.</FONT></P>
|
||||
it will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
|
||||
the GNU General Public License for more details.</FONT></P>
|
||||
<P>Data Matrix code is Copyright © 2004 Adrian Kennard, Andrews &
|
||||
<P>Some Data Matrix code is Copyright © 2004 Adrian Kennard, Andrews &
|
||||
Arnold Ltd and © 2006 Stefan Schmidt, used under the terms of the
|
||||
GNU General Public Licence.</P>
|
||||
<P>Reed-Solomon code is Copyright © 2004 Cliff Hones, used under the
|
||||
@ -180,10 +166,12 @@ options, moved Unicode handling into backend and added input_mode
|
||||
option, added size options to
|
||||
Data Matrix, added NULL character handling for Codablock-F, Code 128,
|
||||
Code 16k, Extended Code 39, Code 93, Telepen, Maxicode, Data Matrix ECC 200,
|
||||
PDF417 and MicroPDF417. Added GS1 processing for Data Matrix ECC 200,
|
||||
PDF417 and MicroPDF417. Added GS1 support for
|
||||
Code 16k, Codablock-F and Aztec Code. Added scale and direct to
|
||||
<FONT FACE="Courier, monospace">stdout</FONT> options. Correction
|
||||
to Data Matrix ECC 200 Base 256 encoding.</P>
|
||||
<FONT FACE="Courier, monospace">stdout</FONT> options. Rebult
|
||||
Data Matrix ECC 200 encoding algorithms to support NULL encoding and
|
||||
GS1 data encoding. 31/1/2009</P>
|
||||
<P>v2.1.1 - Minor Data Matrix bugfix and added HIBC options. 10/2/2009</P>
|
||||
<P><A NAME="CREDITS"></A><FONT SIZE=5><B>6.4 Sources of Information</B></FONT></P>
|
||||
<P>Below is a list of some of the sources used in rough chronological
|
||||
order:</P>
|
||||
@ -252,21 +240,12 @@ symbology specification</P>
|
||||
<P>ISO/IEC 24778:2008 Information technology – Automatic
|
||||
identification and data capture techniques – Aztec Code bar code
|
||||
symbology specification</P>
|
||||
<P>Uniform Symbology Specification – Codablock F</P>
|
||||
<P>Uniform Symbology Specification – Codablock F (AIM Europe, 1995)</P>
|
||||
<P>GS1 General Specifications Version 8.0</P>
|
||||
<P>ANSI/HIBC 2.2-2006 - The Health Industry Bar Code (HIBC)
|
||||
Supplier Labeling Standard</P>
|
||||
<P ALIGN=LEFT><BR><BR>
|
||||
</P>
|
||||
<P ALIGN=LEFT>[1] Some of the third party code in this library was
|
||||
distributed under the terms of <A HREF="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html">version
|
||||
2 of the GNU Public Licence</A> with the option of using a later
|
||||
version. For the purpose of Zint as a whole package I have chosen to
|
||||
take this option and redistribute the code under version 3 of the
|
||||
licence. This decision takes effect from version 1.5.5 of the code
|
||||
and does not affect the licence of previously released versions of
|
||||
the code. Some third party source code files, however, are included
|
||||
in Zint as verbatim (unaltered) copies and therefore the right to
|
||||
change the license terms remains exclusively with the original
|
||||
copyright holder. R. Stuart 9/3/2008</P>
|
||||
<HR>
|
||||
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
|
||||
<TR VALIGN=TOP>
|
||||
|
@ -256,6 +256,10 @@ Standard Code 39 and adds a modulo-43 check digit.</P>
|
||||
(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><A NAME="HIBC39"></A><FONT SIZE=4><B>5.1.8.7 HIBC Code 39</B></FONT></P>
|
||||
<P>This option adds a leading '+' character and a trailing modulo-49
|
||||
check digit to a standard Code 39 symbol as required by the Health
|
||||
Industry Barcode standards.</P>
|
||||
<P ALIGN=CENTER><IMG SRC="code39.png" NAME="graphics8" ALIGN=LEFT WIDTH=206 HEIGHT=118 BORDER=0><BR CLEAR=LEFT>
|
||||
</P>
|
||||
<P><A NAME="CODABAR"></A><FONT SIZE=5><B>5.1.9 Codabar (EN 798)</B></FONT></P>
|
||||
@ -313,6 +317,10 @@ GTIN check digit and AI (01) are added by Zint.</FONT></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><A NAME="HIBC128"></A><FONT SIZE=4><B>5.1.11.6 HIBC Code 128</B></FONT></P>
|
||||
<P>This option adds a leading '+' character and a trailing modulo-49
|
||||
check digit to a standard Code 128 symbol as required by the Health
|
||||
Industry Barcode standards.</P>
|
||||
<P ALIGN=CENTER><IMG SRC="code128.png" NAME="graphics11" ALIGN=LEFT WIDTH=246 HEIGHT=118 BORDER=0><BR CLEAR=LEFT>
|
||||
</P>
|
||||
<P ALIGN=LEFT><A NAME="DATABAR"></A><FONT SIZE=5><B>5.1.12 GS1
|
||||
|
@ -3,19 +3,6 @@
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
||||
<TITLE>Stacked Symbols</TITLE>
|
||||
<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.4 (Unix)">
|
||||
<META NAME="CREATED" CONTENT="20070730;21081900">
|
||||
<META NAME="CHANGED" CONTENT="20080919;21193200">
|
||||
<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">
|
||||
@ -86,7 +73,9 @@ to <FONT FACE="Courier, monospace">option_2</FONT> and <FONT FACE="Courier, mono
|
||||
respectively. The default level of check information is determined by
|
||||
the amount of data being encoded. International text support is
|
||||
provided using the Latin-1 character set as described in <A HREF="appxa.html">Appendix
|
||||
A</A>.</P>
|
||||
A</A>. A separate symbology ID can be used to encode Health Industry
|
||||
Barcode (HIBC) data which adds a leading '+' character and a modulo-49
|
||||
check digit to the encoded data.</P>
|
||||
<P ALIGN=LEFT><IMG SRC="pdf417.png" NAME="graphics3" ALIGN=LEFT WIDTH=240 HEIGHT=54 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
</P>
|
||||
<P ALIGN=LEFT><A NAME="PDF417T"></A><FONT SIZE=5><B>5.2.4 Compact
|
||||
@ -105,7 +94,9 @@ alphanumeric characters or 366 digits. The amount of error correction
|
||||
used is dependant on symbol size. The number of columns used can be
|
||||
determined using the <FONT FACE="Courier, monospace">--cols</FONT>
|
||||
switch or <FONT FACE="Courier, monospace">option_2</FONT> as with
|
||||
PDF417.</P>
|
||||
PDF417. A separate symbology ID can be used to encode Health Industry
|
||||
Barcode (HIBC) data which adds a leading '+' character and a modulo-49
|
||||
check digit to the encoded data.</P>
|
||||
<P ALIGN=LEFT><IMG SRC="micropdf.png" NAME="graphics5" ALIGN=LEFT WIDTH=110 HEIGHT=80 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
</P>
|
||||
<P ALIGN=LEFT><A NAME="RSS14STACK"></A><FONT SIZE=5><B>5.2.6 GS1
|
||||
@ -145,7 +136,9 @@ symbol</A>.</P>
|
||||
<P ALIGN=LEFT>Based on Code 128 the Codablock-F symbol supports
|
||||
extended ASCII characters in the Latin-1 codeset and features the
|
||||
ability to scan and reconstruct the stacked symbol using a standard
|
||||
1D barcode reader.</P>
|
||||
1D barcode reader. A separate symbology ID can be used to encode Health Industry
|
||||
Barcode (HIBC) data which adds a leading '+' character and a modulo-49
|
||||
check digit to the encoded data.</P>
|
||||
<P ALIGN=LEFT><IMG SRC="codablock.png" NAME="graphics9" ALIGN=LEFT WIDTH=320 HEIGHT=162 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
||||
</P>
|
||||
<HR>
|
||||
|
@ -55,7 +55,9 @@ option or by setting <FONT FACE="Courier, monospace">option_1</FONT>.</P>
|
||||
<P>The size of the generated symbol can also be adjusted using the
|
||||
<FONT FACE="Courier, monospace">--ver=</FONT> option or by setting
|
||||
<FONT FACE="Courier, monospace">option_2</FONT> as shown in the table
|
||||
below.</P>
|
||||
below. A separate symbology ID can be used to encode Health Industry
|
||||
Barcode (HIBC) data which adds a leading '+' character and a modulo-49
|
||||
check digit to the encoded data.</P>
|
||||
<TABLE WIDTH=100% BORDER=0 ALIGN=CENTER>
|
||||
<TR ALIGN=CENTER>
|
||||
<TH>ECC 200</TH><TH>ECC 000 - 140</TH>
|
||||
@ -152,7 +154,9 @@ shown in the following table.</P>
|
||||
option or setting <FONT FACE="Courier, monospace">option_2</FONT> to
|
||||
the QR Code version required (1-40). The maximum capacity of a
|
||||
(version 40) QR Code symbol is 7089 numeric digits, 4296 alphanumeric
|
||||
characters or 2953 bytes of data.</P>
|
||||
characters or 2953 bytes of data. A separate symbology ID can be used to encode Health Industry
|
||||
Barcode (HIBC) data which adds a leading '+' character and a modulo-49
|
||||
check digit to the encoded data.</P>
|
||||
<IMG SRC="qr.png" NAME="graphics5" ALIGN=LEFT WIDTH=50 HEIGHT=50 BORDER=0><BR CLEAR=LEFT>
|
||||
<P><A NAME="MICROQR"></A><FONT SIZE=5><B>5.6.3 Micro QR Code (ISO
|
||||
18004)</B></FONT></P>
|
||||
|
Loading…
Reference in New Issue
Block a user