<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8"> <TITLE>Zint Barcode Generator</TITLE> </HEAD> <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.2, 1<SUP>st</SUP> March 2009</P> <P>This document is a guide to Zint, the <I>libzint</I> library and the barcode symbologies supported by them.</P> <HR> <DL> <DT><B>Table of Contents</B> </DT><DT> 1. <A HREF="introduction.html">Introduction</A> </DT><DT> 2. <A HREF="installing.html">Installing Zint</A> </DT><DL> <DT> 2.1 <A HREF="installing.html#BACKEND">Installing the Back End</A> </DT><DT> 2.2 <A HREF="installing.html#FRONTEND">Installing the Front End</A> </DT><DT> 2.3 <A HREF="installing.html#TESTING">Testing the Installation</A> </DT></DL> <DT> 3. <A HREF="frontend.html">Using the Front End</A> </DT><DL> <DT> 3.1 <A HREF="frontend.html#INPUT">Inputting Data</A> </DT><DT> 3.2 <A HREF="frontend.html#OUTPUT">Directing Output</A> </DT><DT> 3.3 <A HREF="frontend.html#BARTYPE">Selecting Barcode Type</A> </DT><DT> 3.4 <A HREF="frontend.html#HEIGHT">Adjusting Height</A> </DT><DT> 3.5 <A HREF="frontend.html#WHITESPACE">Adjusting Whitespace</A> </DT><DT> 3.6 <A HREF="frontend.html#BOUNDARY">Adding Boundary Bars and Boxes</A> </DT><DT> 3.7 <A HREF="frontend.html#COLOUR">Using Colour</A> </DT><DT> 3.8 <A HREF="frontend.html#ROTATE">Rotating the Symbol</A> </DT><DT> 3.9 <A HREF="frontend.html#SCALE">Adjusting Image Size</A> </DT><DT> 3.10 <A HREF="frontend.html#NULL">Handling NULL Characters</A> </DT><DT> 3.11 <A HREF="frontend.html#INMODE">Input Mode</A> </DT><DT> 3.12 <A HREF="frontend.html#OTHER">Other Options</A> </DT></DL> <DT> 4. <A HREF="backend.html">Using the API</A> </DT><DL> <DT> 4.1 <A HREF="backend.html#CREATE">Creating and Deleting Symbols</A> </DT><DT> 4.2 <A HREF="backend.html#ENCODE">Encoding and Saving to File</A> </DT><DT> 4.3 <A HREF="backend.html#OPTIONS">Setting Options</A> </DT><DT> 4.4 <A HREF="backend.html#ERRORS">Handling Errors</A> </DT><DT> 4.5 <A HREF="backend.html#SYMBOL">Specifying a Symbology</A> </DT><DT> 4.6 <A HREF="backend.html#BOXES">Adding Boxes and Boundary Bars</A> </DT><DT> 4.7 <A HREF="backend.html#ROTATE">Rotating the Symbol</A> </DT><DT> 4.8 <A HREF="backend.html#INMODE">Setting the Input Mode</A> </DT></DL> <DT> 5. <A HREF="symbologies.html">Types of Symbol</A> </DT><DL> <DT> 5.1 <A HREF="onedim.html">One-Dimensional Symbols</A> </DT><DL> <DT> 5.1.1 <A HREF="onedim.html#CODE11">Code 11</A> </DT><DT> 5.1.2 <A HREF="onedim.html#CODE25">Code 2 of 5</A> </DT><DL> <DT> 5.1.2.1 <A HREF="onedim.html#CODE25STAND">Standard Code 2 of 5</A> </DT><DT> 5.1.2.2 <A HREF="onedim.html#IATA">IATA Code 2 of 5</A> </DT><DT> 5.1.2.3 <A HREF="onedim.html#IND25">Industrial 2 of 5</A> </DT><DT> 5.1.2.4 <A HREF="onedim.html#INTER25">Interleaved Code 2 of 5</A> </DT><DT> 5.1.2.5 <A HREF="onedim.html#DLOGIC">Code 2 of 5 Data Logic</A> </DT><DT> 5.1.2.6 <A HREF="onedim.html#ITF14">ITF-14</A> </DT><DT> 5.1.2.7 <A HREF="onedim.html#DPLEIT">Deutsche Post Leitcode</A> </DT><DT> 5.1.2.8 <A HREF="onedim.html#DPIDENT">Deutsche Post Identcode</A> </DT></DL> <DT> 5.1.3 <A HREF="onedim.html#UPC">Universal Product Code (EN 797)</A> </DT><DL> <DT> 5.1.3.1 <A HREF="onedim.html#UPCA">UPC version A</A> </DT><DT> 5.1.3.2 <A HREF="onedim.html#UPCE">UPC version E</A> </DT></DL> <DT> 5.1.4 <A HREF="onedim.html#EAN">European Article Number (EN 797)</A> </DT><DL> <DT> 5.1.4.1 <A HREF="onedim.html#EANX">EAN-2, EAN-5, EAN-8 and EAN-13</A> </DT><DT> 5.1.4.2 <A HREF="onedim.html#ISBN">SBN, ISBN and ISBN-13</A> </DT></DL> <DT> 5.1.5 <A HREF="onedim.html#PLESSEY">Plessey</A> </DT><DT> 5.1.6 <A HREF="onedim.html#MSI">MSI Plessey</A> </DT><DT> 5.1.7 <A HREF="onedim.html#TELEPEN">Telepen</A> </DT><DL> <DT> 5.1.7.1 <A HREF="onedim.html#TELEPENASCII">Telepen Alpha</A> </DT><DT> 5.1.7.2 <A HREF="onedim.html#TELENUM">Telepen Numeric</A> </DT></DL> <DT> 5.1.8 <A HREF="onedim.html#CODE39">Code 39</A> </DT><DL> <DT> 5.1.8.1 <A HREF="onedim.html#CODE39STAND">Standard Code 39 (ISO 16388)</A> </DT><DT> 5.1.8.2 <A HREF="onedim.html#EXCODE39">Extended Code 39</A> </DT><DT> 5.1.8.3 <A HREF="onedim.html#CODE93">Code 93</A> </DT><DT> 5.1.8.4 <A HREF="onedim.html#PZN">PZN</A> </DT><DT> 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> </DT><DT> 5.1.10 <A HREF="onedim.html#PHARMA">Pharmacode</A> </DT><DT> 5.1.11 <A HREF="onedim.html#CODE128">Code 128</A> </DT><DL> <DT> 5.1.11.1 <A HREF="onedim.html#CODE128STAND">Standard Code 128 (ISO 15417)</A> </DT><DT> 5.1.11.2 <A HREF="onedim.html#CODE128B">Code 128 subset B</A> </DT><DT> 5.1.11.3 <A HREF="onedim.html#EAN128">EAN-128</A> </DT><DT> 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> </DT><DL> <DT> 5.1.12.1 <A HREF="onedim.html#RSS14">DataBar-14 and DataBar-14 Truncated</A></DT><DT> 5.1.12.2 <A HREF="onedim.html#RSSLTD">DataBar Limited</A></DT><DT> 5.1.12.3 <A HREF="onedim.html#RSSEXP">DataBar Expanded</A></DT></DL> <DT> 5.1.13 <A HREF="onedim.html#KOREA">Korea Post</A></DT> </DL> <DT> 5.2 <A HREF="stacked.html">Stacked Symbologies</A> </DT><DL> <DT> 5.2.1 <A HREF="stacked.html#BASIC">Basic Symbol Stacking</A> </DT><DT> 5.2.2 <A HREF="stacked.html#CODE16K">Code 16k (EN 12323)</A> </DT><DT> 5.2.3 <A HREF="stacked.html#PDF417">PDF417 (ISO 15438)</A> </DT><DT> 5.2.4 <A HREF="stacked.html#PDF417T">Compact PDF417</A> </DT><DT> 5.2.5 <A HREF="stacked.html#MICROPDF">MicroPDF417 (ISO 24728)</A> </DT><DT> 5.2.6 <A HREF="stacked.html#RSS14STACK">GS1 DataBar-14 Stacked (ISO 24724)</A> </DT><DT> 5.2.7 <A HREF="stacked.html#RSS14OMNI">GS1 DataBar-14 Stacked Omnidirectional (ISO 24724)</A> </DT><DT> 5.2.8 <A HREF="stacked.html#RSSEXPSTACK">GS1 DataBar Expanded Stacked (ISO 24724)</A> </DT><DT> 5.2.9 <A HREF="stacked.html#CODABLOCK">Codablock-F</A> </DT></DL> <DT> 5.3 <A HREF="composite.html">Composite Symbols (ISO 24723)</A> </DT><DL> <DT> 5.3.1 <A HREF="composite.html#CCA">CC-A</A> </DT><DT> 5.3.2 <A HREF="composite.html#CCB">CC-B</A> </DT><DT> 5.3.3 <A HREF="composite.html#CCC">CC-C</A> </DT></DL> <DT> 5.4 <A HREF="twotrack.html">Two-Track Symbologies</A> </DT><DL> <DT> 5.4.1 <A HREF="twotrack.html#PHARMA">Two-Track Pharmacode</A> </DT><DT> 5.4.2 <A HREF="twotrack.html#POSTNET">PostNet</A> </DT><DT> 5.4.3 <A HREF="twotrack.html#PLANET">PLANET</A> </DT></DL> <DT> 5.5 <A HREF="fourstate.html">4-State Postal Codes</A> </DT><DL> <DT> 5.5.1 <A HREF="fourstate.html#AUSPOST">Australia Post 4-State Symbols</A> </DT><DL> <DT> 5.5.1.1 <A HREF="fourstate.html#AUSCUST">Customer Barcodes</A> </DT><DT> 5.5.1.2 <A HREF="fourstate.html#AUSREPLY">Reply Paid Barcode</A> </DT><DT> 5.5.1.3 <A HREF="fourstate.html#AUSROUTE">Routing Barcode</A> </DT><DT> 5.5.1.4 <A HREF="fourstate.html#AUSREDIRECT">Redirect Barcode</A> </DT></DL> <DT> 5.5.2 <A HREF="fourstate.html#KIX">Dutch Post KIX Code</A> </DT><DT> 5.5.3 <A HREF="fourstate.html#RM4SCC">Royal Mail 4-State Country Code (RM4SCC)</A> </DT><DT> 5.5.4 <A HREF="fourstate.html#ONECODE">USPS OneCode</A> </DT></DT> 5.5.5 <A HREF="fourstate.html#JAPAN">Japanese Postal Barcode</A> </DT></DL> <DT> 5.6 <A HREF="twodims.html">Two-Dimensional Symbols</A> </DT><DL> <DT> 5.6.1 <A HREF="twodims.html#DMATRIX">Data Matrix (ISO 16022)</A> </DT><DT> 5.6.2 <A HREF="twodims.html#QRCODE">QR Code (ISO 18004)</A> </DT><DT> 5.6.3 <A HREF="twodims.html#MICROQR">Micro QR Code (ISO 18004)</A> </DT><DT> 5.6.4 <A HREF="twodims.html#MAXI">Maxicode (ISO 16023)</A> </DT><DT> 5.6.5 <A HREF="twodims.html#AZTEC">Aztec Code (ISO 24778)</A> </DT><DT> 5.6.6 <A HREF="twodims.html#AZRUNE">Aztec Runes</A> </DT></DL> <DT> 5.7 <A HREF="markings.html">Other Barcode-Like Markings</A></DT><DL> <DT> 5.7.1 <A HREF="markings.html#FIM">Facing Identification Mark (FIM)</A> </DT><DT> 5.7.2 <A HREF="markings.html#FLAT">Flattermarken</A> </DT><DT> 5.7.3 <A HREF="markings.html#DAFT">DAFT Code</A> </DT></DL> </DL> <DT> 6 <A HREF="legal.html">Legal and Version Information</A> </DT><DL> <DT> 6.1 <A HREF="legal.html#LICENSE">License</A> </DT><DT> 6.2 <A HREF="legal.html#PATENT">Patent Issues</A> </DT><DT> 6.3 <A HREF="legal.html#VERSION">Version Information</A> </DT><DT> 6.4 <A HREF="legal.html#CREDITS">Sources of Information</A> </DT><DT> 6.5 <A HREF="legal.html#STANDARD">Standard Compliance</A> </DT></DL> <DT> A <A HREF="appxa.html">Appendix A: Character Encoding</A> </DT><DL> <DT> A.1 <A HREF="appxa.html#ASCII">ASCII Standard</A> </DT><DT> A.2 <A HREF="appxa.html#LATIN1">Latin Alphabet No 1 (ISO 8859-1)</A> </DT></DL> <DT> B <A HREF="appxb.html">Appendix B: Three Digit Country Codes (ISO 3166)</A> </DT><DT> C <A HREF="appxc.html">Appendix C: GS1 General Specification</A> </DT><DL> <DT> C.1 <A HREF="appxc.html#AI">Application Identifiers</A> </DT><DT> C.2 <A HREF="appxc.html#FIELDS">Fixed Length Fields</A> </DT></DL> D <A HREF="appxd.html">Appendix D: Barcodes in Colour</A> </DL> <HR> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <TR VALIGN=TOP> <TD WIDTH=33%> <P ALIGN=LEFT> </P> </TD> <TD WIDTH=34%> <P ALIGN=CENTER> </P> </TD> <TD WIDTH=33%> <P ALIGN=RIGHT><A HREF="introduction.html">Next</A></P> </TD> </TR> <TR VALIGN=TOP> <TD WIDTH=33%> <P ALIGN=LEFT> </P> </TD> <TD WIDTH=34%> <P ALIGN=CENTER> </P> </TD> <TD WIDTH=33%> <P ALIGN=RIGHT>Introduction</P> </TD> </TR> </TABLE> </BODY> </HTML>