Sorry, getting rid of local documentation
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 8.3 KiB |
3
docs/README
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Documentation has now been removed from the Zint package in
|
||||||
|
preference of the online documentation at:
|
||||||
|
http://www.zint.org.uk
|
1135
docs/appxa.html
316
docs/appxb.html
@ -1,316 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
||||||
<HTML>
|
|
||||||
<HEAD>
|
|
||||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
|
||||||
<TITLE>Three Digit Country Codes</TITLE>
|
|
||||||
<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.0 (Linux)">
|
|
||||||
<META NAME="CREATED" CONTENT="20070730;21081900">
|
|
||||||
<META NAME="CHANGED" CONTENT="20070829;23503500">
|
|
||||||
<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="appxa.html">Prev</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=80%></TD>
|
|
||||||
<TD WIDTH=10%>
|
|
||||||
<P ALIGN=RIGHT><A HREF="appxc.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<HR>
|
|
||||||
<H1>B. Three Digit Country Codes (ISO 3166)</H1>
|
|
||||||
<P>Below are some of the three digit country codes as determined by
|
|
||||||
ISO 3166 for use with Maxicode symbols.</P>
|
|
||||||
<PRE>
|
|
||||||
AFGHANISTAN 004
|
|
||||||
ALAND ISLANDS 248
|
|
||||||
ALBANIA 008
|
|
||||||
ALGERIA 012
|
|
||||||
AMERICAN SAMOA 016
|
|
||||||
ANDORRA 020
|
|
||||||
ANGOLA 024
|
|
||||||
ANGUILLA 660
|
|
||||||
ANTARCTICA 010
|
|
||||||
ANTIGUA AND BARBUDA 028
|
|
||||||
ARGENTINA 032
|
|
||||||
ARMENIA 051
|
|
||||||
ARUBA 533
|
|
||||||
AUSTRALIA 036
|
|
||||||
AUSTRIA 040
|
|
||||||
AZERBAIJAN 031
|
|
||||||
BAHAMAS 044
|
|
||||||
BAHRAIN 048
|
|
||||||
BANGLADESH 050
|
|
||||||
BARBADOS 052
|
|
||||||
BELARUS 112
|
|
||||||
BELGIUM 056
|
|
||||||
BELIZE 084
|
|
||||||
BENIN 204
|
|
||||||
BERMUDA 060
|
|
||||||
BHUTAN 064
|
|
||||||
BOLIVIA 068
|
|
||||||
BOSNIA AND HERZEGOVINA 070
|
|
||||||
BOTSWANA 072
|
|
||||||
BOUVET ISLAND 074
|
|
||||||
BRAZIL 076
|
|
||||||
BRITISH INDIAN OCEAN TERRITORY 086
|
|
||||||
BRUNEI DARUSSALAM 096
|
|
||||||
BULGARIA 100
|
|
||||||
BURKINA FASO 854
|
|
||||||
BURUNDI 108
|
|
||||||
CAMBODIA 116
|
|
||||||
CAMEROON 120
|
|
||||||
CANADA 124
|
|
||||||
CAPE VERDE 132
|
|
||||||
CAYMAN ISLANDS 136
|
|
||||||
CENTRAL AFRICAN REPUBLIC 140
|
|
||||||
CHAD 148
|
|
||||||
CHILE 152
|
|
||||||
CHINA 156
|
|
||||||
CHRISTMAS ISLAND 162
|
|
||||||
COCOS (KEELING) ISLANDS 166
|
|
||||||
COLOMBIA 170
|
|
||||||
COMOROS 174
|
|
||||||
CONGO 178
|
|
||||||
CONGO, THE DEMOCRATIC REPUBLIC OF THE 180
|
|
||||||
COOK ISLANDS 184
|
|
||||||
COSTA RICA 188
|
|
||||||
COTE D'IVOIRE 384
|
|
||||||
CROATIA 191
|
|
||||||
CUBA 192
|
|
||||||
CYPRUS 196
|
|
||||||
CZECH REPUBLIC 203
|
|
||||||
DENMARK 208
|
|
||||||
DJIBOUTI 262
|
|
||||||
DOMINICA 212
|
|
||||||
DOMINICAN REPUBLIC 214
|
|
||||||
ECUADOR 218
|
|
||||||
EGYPT 818
|
|
||||||
EL SALVADOR 222
|
|
||||||
EQUATORIAL GUINEA 226
|
|
||||||
ERITREA 232
|
|
||||||
ESTONIA 233
|
|
||||||
ETHIOPIA 231
|
|
||||||
FALKLAND ISLANDS (MALVINAS) 238
|
|
||||||
FAROE ISLANDS 234
|
|
||||||
FIJI 242
|
|
||||||
FINLAND 246
|
|
||||||
FRANCE 250
|
|
||||||
FRENCH GUIANA 254
|
|
||||||
FRENCH POLYNESIA 258
|
|
||||||
FRENCH SOUTHERN TERRITORIES 260
|
|
||||||
GABON 266
|
|
||||||
GAMBIA 270
|
|
||||||
GEORGIA 268
|
|
||||||
GERMANY 276
|
|
||||||
GHANA 288
|
|
||||||
GIBRALTAR 292
|
|
||||||
GREECE 300
|
|
||||||
GREENLAND 304
|
|
||||||
GRENADA 308
|
|
||||||
GUADELOUPE 312
|
|
||||||
GUAM 316
|
|
||||||
GUATEMALA 320
|
|
||||||
GUERNSEY 831
|
|
||||||
GUINEA 324
|
|
||||||
GUINEA-BISSAU 624
|
|
||||||
GUYANA 328
|
|
||||||
HAITI 332
|
|
||||||
HEARD ISLAND AND MCDONALD ISLANDS 334
|
|
||||||
HOLY SEE (VATICAN CITY STATE) 336
|
|
||||||
HONDURAS 340
|
|
||||||
HONG KONG 344
|
|
||||||
HUNGARY 348
|
|
||||||
ICELAND 352
|
|
||||||
INDIA 356
|
|
||||||
INDONESIA 360
|
|
||||||
IRAN (ISLAMIC REPUBLIC OF) 364
|
|
||||||
IRAQ 368
|
|
||||||
IRELAND 372
|
|
||||||
ISLE OF MAN 833
|
|
||||||
ISRAEL 376
|
|
||||||
ITALY 380
|
|
||||||
JAMAICA 388
|
|
||||||
JAPAN 392
|
|
||||||
JERSEY 832
|
|
||||||
JORDAN 400
|
|
||||||
KAZAKHSTAN 398
|
|
||||||
KENYA 404
|
|
||||||
KIRIBATI 296
|
|
||||||
KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF 408
|
|
||||||
KOREA, REPUBLIC OF 410
|
|
||||||
KUWAIT 414
|
|
||||||
KYRGYZSTAN 417
|
|
||||||
LAO PEOPLE'S DEMOCRATIC REPUBLIC 418
|
|
||||||
LATVIA 428
|
|
||||||
LEBANON 422
|
|
||||||
LESOTHO 426
|
|
||||||
LIBERIA 430
|
|
||||||
LIBYAN ARAB JAMAHIRIYA 434
|
|
||||||
LIECHTENSTEIN 438
|
|
||||||
LITHUANIA 440
|
|
||||||
LUXEMBOURG 442
|
|
||||||
MACAO 446
|
|
||||||
MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF 807
|
|
||||||
MADAGASCAR 450
|
|
||||||
MALAWI 454
|
|
||||||
MALAYSIA 458
|
|
||||||
MALDIVES 462
|
|
||||||
MALI 466
|
|
||||||
MALTA 470
|
|
||||||
MARSHALL ISLANDS 584
|
|
||||||
MARTINIQUE 474
|
|
||||||
MAURITANIA 478
|
|
||||||
MAURITIUS 480
|
|
||||||
MAYOTTE 175
|
|
||||||
MEXICO 484
|
|
||||||
MICRONESIA, FEDERATED STATES OF 583
|
|
||||||
MOLDOVA, REPUBLIC OF 498
|
|
||||||
MONACO 492
|
|
||||||
MONGOLIA 496
|
|
||||||
MONTENEGRO 499
|
|
||||||
MONTSERRAT 500
|
|
||||||
MOROCCO 504
|
|
||||||
MOZAMBIQUE 508
|
|
||||||
MYANMAR 104
|
|
||||||
NAMIBIA 516
|
|
||||||
NAURU 520
|
|
||||||
NEPAL 524
|
|
||||||
NETHERLANDS 528
|
|
||||||
NETHERLANDS ANTILLES 530
|
|
||||||
NEW CALEDONIA 540
|
|
||||||
NEW ZEALAND 554
|
|
||||||
NICARAGUA 558
|
|
||||||
NIGER 562
|
|
||||||
NIGERIA 566
|
|
||||||
NIUE 570
|
|
||||||
NORFOLK ISLAND 574
|
|
||||||
NORTHERN MARIANA ISLANDS 580
|
|
||||||
NORWAY 578
|
|
||||||
OMAN 512
|
|
||||||
PAKISTAN 586
|
|
||||||
PALAU 585
|
|
||||||
PALESTINIAN TERRITORY, OCCUPIED 275
|
|
||||||
PANAMA 591
|
|
||||||
PAPUA NEW GUINEA 598
|
|
||||||
PARAGUAY 600
|
|
||||||
PERU 604
|
|
||||||
PHILIPPINES 608
|
|
||||||
PITCAIRN 612
|
|
||||||
POLAND 616
|
|
||||||
PORTUGAL 620
|
|
||||||
PUERTO RICO 630
|
|
||||||
QATAR 634
|
|
||||||
REUNION 638
|
|
||||||
ROMANIA 642
|
|
||||||
RUSSIAN FEDERATION 643
|
|
||||||
RWANDA 646
|
|
||||||
SAINT HELENA 654
|
|
||||||
SAINT KITTS AND NEVIS 659
|
|
||||||
SAINT LUCIA 662
|
|
||||||
SAINT PIERRE AND MIQUELON 666
|
|
||||||
SAINT VINCENT AND THE GRENADINES 670
|
|
||||||
SAMOA 882
|
|
||||||
SAN MARINO 674
|
|
||||||
SAO TOME AND PRINCIPE 678
|
|
||||||
SAUDI ARABIA 682
|
|
||||||
SENEGAL 686
|
|
||||||
SERBIA 688
|
|
||||||
SEYCHELLES 690
|
|
||||||
SIERRA LEONE 694
|
|
||||||
SINGAPORE 702
|
|
||||||
SLOVAKIA 703
|
|
||||||
SLOVENIA 705
|
|
||||||
SOLOMON ISLANDS 090
|
|
||||||
SOMALIA 706
|
|
||||||
SOUTH AFRICA 710
|
|
||||||
SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS 239
|
|
||||||
SPAIN 724
|
|
||||||
SRI LANKA 144
|
|
||||||
SUDAN 736
|
|
||||||
SURINAME 740
|
|
||||||
SVALBARD AND JAN MAYEN 744
|
|
||||||
ST. HELENA 654
|
|
||||||
ST. PIERRE AND MIQUELON 666
|
|
||||||
SWAZILAND 748
|
|
||||||
SWEDEN 752
|
|
||||||
SWITZERLAND 756
|
|
||||||
SYRIAN ARAB REPUBLIC 760
|
|
||||||
TAIWAN, PROVINCE OF CHINA 158
|
|
||||||
TAJIKISTAN 762
|
|
||||||
TANZANIA, UNITED REPUBLIC OF 834
|
|
||||||
THAILAND 764
|
|
||||||
TIMOR-LESTE 626
|
|
||||||
TOGO 768
|
|
||||||
TOKELAU 772
|
|
||||||
TONGA 776
|
|
||||||
TRINIDAD AND TOBAGO 780
|
|
||||||
TUNISIA 788
|
|
||||||
TURKEY 792
|
|
||||||
TURKMENISTAN 795
|
|
||||||
TURKS AND CAICOS ISLANDS 796
|
|
||||||
TUVALU 798
|
|
||||||
UGANDA 800
|
|
||||||
UKRAINE 804
|
|
||||||
UNITED ARAB EMIRATES 784
|
|
||||||
UNITED KINGDOM 826
|
|
||||||
UNITED STATES 840
|
|
||||||
UNITED STATES MINOR OUTLYING ISLANDS 581
|
|
||||||
URUGUAY 858
|
|
||||||
UZBEKISTAN 860
|
|
||||||
VANUATU 548
|
|
||||||
VATICAN CITY STATE (HOLY SEE) 336
|
|
||||||
VENEZUELA 862
|
|
||||||
VIET NAM 704
|
|
||||||
VIRGIN ISLANDS (BRITISH) 092
|
|
||||||
VIRGIN ISLANDS (U.S.) 850
|
|
||||||
WALLIS AND FUTUNA 876
|
|
||||||
WESTERN SAHARA 732
|
|
||||||
YEMEN 887
|
|
||||||
YUGOSLAVIA 891
|
|
||||||
ZAMBIA 894
|
|
||||||
ZIMBABWE 716</PRE>
|
|
||||||
<HR>
|
|
||||||
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33% HEIGHT=5>
|
|
||||||
<P ALIGN=LEFT><A HREF="appxa.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="appxc.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=LEFT>Appendix A</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=34%>
|
|
||||||
<P ALIGN=CENTER> </P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=RIGHT>Appendix C</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
</BODY>
|
|
||||||
</HTML>
|
|
387
docs/appxc.html
@ -1,387 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
||||||
<HTML>
|
|
||||||
<HEAD>
|
|
||||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
|
||||||
<TITLE>GS1 General Specification</TITLE>
|
|
||||||
<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.3 (Linux)">
|
|
||||||
<META NAME="CREATED" CONTENT="20070730;21081900">
|
|
||||||
<META NAME="CHANGED" CONTENT="20080309;20283900">
|
|
||||||
<STYLE TYPE="text/css">
|
|
||||||
<!--
|
|
||||||
TD P { color: #000000 }
|
|
||||||
H1 { color: #000000 }
|
|
||||||
P { color: #000000 }
|
|
||||||
PRE { 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="appxb.html">Prev</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=80%></TD>
|
|
||||||
<P ALIGN=RIGHT><A HREF="appxd.html">Next</A></P>
|
|
||||||
<TD WIDTH=10%></TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<HR>
|
|
||||||
<H1>C. GS1 General Specification</H1>
|
|
||||||
<P>The GS1 General Specification defines a global standard for
|
|
||||||
encoding data about products. The full specification is available
|
|
||||||
<A HREF="http://www.gs1uk.org/EANUCC/WORD_Files/word.html">here</A>.
|
|
||||||
Data is encoded as a series of number pairs where the first number,
|
|
||||||
usually shown in (brackets) is an application identifier (AI), and
|
|
||||||
the second is a formatted representation of the data. For example
|
|
||||||
(401)6773 can be read as "Consignment Number 6773" where
|
|
||||||
the AI (401) signifies that the data is a consignment number. Note
|
|
||||||
that when using Zint AI data is entered using [square] brackets. This
|
|
||||||
allows rounded brackets to be included in the data which is allowed
|
|
||||||
by the specification. When the barcode symbol is generated these
|
|
||||||
square brackets are replaced by rounded brackets in the text. A list
|
|
||||||
of valid AI numbers is given below.</P>
|
|
||||||
<P><A NAME="AI"></A><FONT SIZE=4><B>C.1 Application Identifiers [1]</B></FONT></P>
|
|
||||||
<PRE>00 Serial Shipping Container Code (SSCC)
|
|
||||||
01 Global Trade Item Number (GTIN)
|
|
||||||
02 # of containers
|
|
||||||
10 Batch Number
|
|
||||||
11 Production Date
|
|
||||||
13 Packaging Date
|
|
||||||
15 Sell by Date (Quality Control)
|
|
||||||
17 Expiration Date
|
|
||||||
20 Product Variant
|
|
||||||
21 Serial Number
|
|
||||||
22 HIBCC Quantity, Date, Batch and Link
|
|
||||||
23x Lot Number
|
|
||||||
240 Additional Product Identification
|
|
||||||
250 Second Serial Number
|
|
||||||
30 Quantity Each
|
|
||||||
310y Product Net Weight in kg
|
|
||||||
311y Product Length/1st Dimension, in meters
|
|
||||||
312y Product Width/Diameter/2nd Dimension, in meters
|
|
||||||
313y Product Depth/Thickness/3rd Dimension, in meters
|
|
||||||
314y Product Area, in square meters
|
|
||||||
315y Product Volume, in liters
|
|
||||||
316y product Volume, in cubic meters
|
|
||||||
320y Product Net Weight, in pounds
|
|
||||||
321y Product Length/1st Dimension, in inches
|
|
||||||
322y Product Length/1st Dimension, in feet
|
|
||||||
323y Product Length/1st Dimension, in yards
|
|
||||||
324y Product Width/Diameter/2nd Dimension, in inches
|
|
||||||
325y Product Width/Diameter/2nd Dimension, in feet
|
|
||||||
326y Product Width/Diameter/2nd Dimension, in yards
|
|
||||||
327y Product Depth/Thickness/3rd Dimension, in inches
|
|
||||||
328y Product Depth/Thickness/3rd Dimension, in feet
|
|
||||||
329y Product Depth/Thickness/3rd Dimension, in yards
|
|
||||||
330y Container Gross Weight (kg)
|
|
||||||
331y Container Length/1st Dimension (Meters)
|
|
||||||
332y Container Width/Diameter/2nd Dimension (Meters)
|
|
||||||
333y Container Depth/Thickness/3rd Dimension (Meters)
|
|
||||||
334y Container Area (Square Meters)
|
|
||||||
335y Container Gross Volume (Liters)
|
|
||||||
336y Container Gross Volume (Cubic Meters)
|
|
||||||
340y Container Gross Weight (Pounds)
|
|
||||||
341y Container Length/1st Dimension, in inches
|
|
||||||
342y Container Length/1st Dimension, in feet
|
|
||||||
343y Container Length/1st Dimension in, in yards
|
|
||||||
344y Container Width/Diameter/2nd Dimension, in inches
|
|
||||||
345y Container Width/Diameter/2nd Dimension, in feet
|
|
||||||
346y Container Width/Diameter/2nd Dimension, in yards
|
|
||||||
347y Container Depth/Thickness/Height/3rd Dimension, in inches
|
|
||||||
348y Container Depth/Thickness/Height/3rd Dimension, in feet
|
|
||||||
349y Container Depth/Thickness/Height/3rd Dimension, in yards
|
|
||||||
350y Product Area (Square Inches)
|
|
||||||
351y Product Area (Square Feet)
|
|
||||||
352y Product Area (Square Yards)
|
|
||||||
353y Container Area (Square Inches)
|
|
||||||
354y Container Area (Square Feet)
|
|
||||||
355y Container Area (Suqare Yards)
|
|
||||||
356y Net Weight (Troy Ounces)
|
|
||||||
360y Product Volume (Quarts)
|
|
||||||
361y Product Volume (Gallons)
|
|
||||||
362y Container Gross Volume (Quarts)
|
|
||||||
363y Container Gross Volume (Gallons)
|
|
||||||
364y Product Volume (Cubic Inches)
|
|
||||||
365y Product Volume (Cubic Feet)
|
|
||||||
366y Product Volume (Cubic Yards)
|
|
||||||
367y Container Gross Volume (Cubic Inches)
|
|
||||||
368y Container Gross Volume (Cubic Feet)
|
|
||||||
369y Container Gross Volume (Cubic Yards)
|
|
||||||
37 Number of Units Contained
|
|
||||||
400 Customer Purchase Order Number
|
|
||||||
410 Ship To/Deliver To Location Code (Global Location Number)
|
|
||||||
411 Bill To/Invoice Location Code (Global Location Number)
|
|
||||||
412 Purchase From Location Code (Global Location Number)
|
|
||||||
420 Ship To/Deliver To Postal Code (Single Postal Authority)
|
|
||||||
421 Ship To/Deliver To Postal Code (Multiple Postal Authority)
|
|
||||||
8001 Roll Products - Width/Length/Core Diameter
|
|
||||||
8002 Electronic Serial Number (ESN) for Cellular Phone
|
|
||||||
8003 Global Returnable Asset Identifier
|
|
||||||
8004 Global Individual Asset Identifier
|
|
||||||
8005 Price per Unit of Measure
|
|
||||||
8100 Coupon Extended Code: Number System and Offer
|
|
||||||
8101 8101 Coupon Extended Code: Number System, Offer, End of Offer
|
|
||||||
8102 Coupon Extended Code: Number System preceded by 0
|
|
||||||
90 Mutually Agreed Between Trading Partners
|
|
||||||
91 Internal Company Codes
|
|
||||||
92 Internal Company Codes
|
|
||||||
93 Internal Company Codes
|
|
||||||
94 Internal Company Codes
|
|
||||||
95 Internal Company Codes
|
|
||||||
96 Internal Company Codes
|
|
||||||
97 Internal Company Codes
|
|
||||||
98 Internal Company Codes
|
|
||||||
99 Internal Company Codes</PRE><P>
|
|
||||||
<A NAME="FIELDS"></A><FONT SIZE=4><B>C.2 Fixed Length Fields</B></FONT></P>
|
|
||||||
<P STYLE="margin-bottom: 0cm">The GS1 Specification requires that
|
|
||||||
some of the data to be encoded fits a standard length field. Zint
|
|
||||||
requires this to be true of input data in order for data to be
|
|
||||||
encoded correctly but does not check that the input data adheres to
|
|
||||||
these rules. If this system is not followed then the resulting
|
|
||||||
barcode symbol may not be readable. The following table details which
|
|
||||||
AIs have fixed length data fields and how long the data should be for
|
|
||||||
each:</P>
|
|
||||||
<P STYLE="margin-bottom: 0cm"><BR>
|
|
||||||
</P>
|
|
||||||
<CENTER>
|
|
||||||
<TABLE WIDTH=513 BORDER=1 CELLPADDING=4 CELLSPACING=3>
|
|
||||||
<COL WIDTH=161>
|
|
||||||
<COL WIDTH=325>
|
|
||||||
<THEAD>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TH WIDTH=161>
|
|
||||||
<P>Application Identifier</P>
|
|
||||||
</TH>
|
|
||||||
<TH WIDTH=325>
|
|
||||||
<P>Number of characters<BR>(AI and Data Field)</P>
|
|
||||||
</TH>
|
|
||||||
</TR>
|
|
||||||
</THEAD>
|
|
||||||
<TBODY>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>00</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>20</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>01</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>16</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>02</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>16</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>03</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>16</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>04</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>18</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>11</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>8</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>12</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>8</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>13</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>8</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>14</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>8</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>15</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>8</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>16</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>8</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>17</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>8</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>18</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>8</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>19</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>8</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>20</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>4</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>31</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>10</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>32</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>10</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>33</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>10</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>34</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>10</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>35</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>10</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>36</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>10</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=161>
|
|
||||||
<P ALIGN=CENTER>41</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=325>
|
|
||||||
<P ALIGN=CENTER>16</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TBODY>
|
|
||||||
</TABLE>
|
|
||||||
</CENTER>
|
|
||||||
<P STYLE="margin-bottom: 0cm"><BR>
|
|
||||||
</P>
|
|
||||||
<P STYLE="margin-bottom: 0cm">[1] This information taken from
|
|
||||||
<A HREF="http://en.wikipedia.org/wiki/GS1-128">Wikipedia</A> and used
|
|
||||||
under the terms of the <A HREF="http://en.wikipedia.org/wiki/Wikipedia:Text_of_the_GNU_Free_Documentation_License">GNU
|
|
||||||
Free Documentation License</A>.</P>
|
|
||||||
<P STYLE="margin-bottom: 0cm"><BR>
|
|
||||||
</P>
|
|
||||||
<P STYLE="margin-bottom: 0cm"><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="appxb.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="appxd.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=LEFT>Appendix B</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=34%>
|
|
||||||
<P ALIGN=CENTER> </P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=RIGHT>Appendix D</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<P><BR><BR>
|
|
||||||
</P>
|
|
||||||
</BODY>
|
|
||||||
</HTML>
|
|
170
docs/appxd.html
@ -1,170 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
||||||
<HTML>
|
|
||||||
<HEAD>
|
|
||||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
|
||||||
<TITLE>Making colourful barcodes</TITLE>
|
|
||||||
</HEAD>
|
|
||||||
<BODY LANG="en-GB" 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="appxc.html">Prev</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=80%></TD>
|
|
||||||
<TD WIDTH=10%>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<H1>Appendix D: Making colourful barcodes</H1>
|
|
||||||
<P>An obvious next step in the development of barcodes is to use
|
|
||||||
colour instead of boring old black and white to encode data. This
|
|
||||||
technique is not currently used by any barcode encoding standards in
|
|
||||||
the wild but an indication of how it might be achieved can be gained
|
|
||||||
with a little data processing and the Zint library.</P>
|
|
||||||
<P>This example takes an input string and splits it into
|
|
||||||
three roughly equal length strings each of which is encoded and then
|
|
||||||
combined to make a colour version of the symbol. This can then be
|
|
||||||
decoded by applying red, green and blue filters to the resulting
|
|
||||||
image and then decoding them using the same algorithm used to decode
|
|
||||||
normal black and white symbols as shown below.</P>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="3dprinciple.png" NAME="3dprinciple" ALIGN=CENTER WIDTH=475 HEIGHT=406 BORDER=0></P>
|
|
||||||
<P>One advantage of this system is that finder patterns in the symbol
|
|
||||||
show up clearly as black-on-white and so can be found using the
|
|
||||||
methods already established for standard 2D barcodes. This can be
|
|
||||||
clearly seen in the examples below.</P>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="3dsample.png" NAME="3dexample" ALIGN=CENTER WIDTH=416 HEIGHT=148 BORDER=0></P>
|
|
||||||
<P>Another advantage of this system is that it fits three times as
|
|
||||||
much data into a symbol of a given size. Disadvantages are likely to
|
|
||||||
become apparent when trying to decode these symbols in real-world
|
|
||||||
applications: decoding will require larger processor overheads and
|
|
||||||
more sophisticated algorithms. Telling white from yellow may be a
|
|
||||||
particular problem.</P>
|
|
||||||
<P>The code below performs the encoding as done on the images above
|
|
||||||
and outputs an array of elements as characters representing colours.
|
|
||||||
Putting this together as an image requires additional code.</P>
|
|
||||||
<PRE>#include <stdio.h>
|
|
||||||
#include <zint.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
|
||||||
{
|
|
||||||
struct zint_symbol *red_symbol;
|
|
||||||
struct zint_symbol *green_symbol;
|
|
||||||
struct zint_symbol *blue_symbol;
|
|
||||||
struct zint_symbol *colour_symbol;
|
|
||||||
|
|
||||||
int error = 0;
|
|
||||||
int i, j;
|
|
||||||
int input_len = strlen(argv[1]);
|
|
||||||
int snippet = input_len / 3;
|
|
||||||
char full_string[input_len + 5];
|
|
||||||
char red_string[(input_len / 3) + 2];
|
|
||||||
char green_string[(input_len / 3) + 2];
|
|
||||||
char blue_string[(input_len / 3) + 2];
|
|
||||||
int symbol_type = BARCODE_QRCODE;
|
|
||||||
|
|
||||||
if(input_len % 3 != 0) { snippet++; }
|
|
||||||
strcpy(full_string, argv[1]);
|
|
||||||
|
|
||||||
for(i = 0; i < snippet; i++) {
|
|
||||||
red_string[i] = full_string[i];
|
|
||||||
green_string[i] = full_string[i + snippet];
|
|
||||||
blue_string[i] = full_string[i + snippet + snippet];
|
|
||||||
}
|
|
||||||
red_string[i] = '\0';
|
|
||||||
green_string[i] = '\0';
|
|
||||||
blue_string[i] = '\0';
|
|
||||||
|
|
||||||
red_symbol = ZBarcode_Create();
|
|
||||||
green_symbol = ZBarcode_Create();
|
|
||||||
blue_symbol = ZBarcode_Create();
|
|
||||||
colour_symbol = ZBarcode_Create();
|
|
||||||
|
|
||||||
red_symbol->symbology = symbol_type;
|
|
||||||
green_symbol->symbology = symbol_type;
|
|
||||||
blue_symbol->symbology = symbol_type;
|
|
||||||
colour_symbol->symbology = symbol_type;
|
|
||||||
|
|
||||||
error = ZBarcode_Encode(red_symbol, (unsigned char *)red_string);
|
|
||||||
error += ZBarcode_Encode(green_symbol, (unsigned char *)green_string);
|
|
||||||
error += ZBarcode_Encode(blue_symbol, (unsigned char *)blue_string);
|
|
||||||
|
|
||||||
if(error != 0) {
|
|
||||||
printf("Some error occurred!\n");
|
|
||||||
ZBarcode_Delete(red_symbol);
|
|
||||||
ZBarcode_Delete(green_symbol);
|
|
||||||
ZBarcode_Delete(blue_symbol);
|
|
||||||
ZBarcode_Delete(colour_symbol);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
colour_symbol->width = red_symbol->width;
|
|
||||||
if(green_symbol->width > colour_symbol->width) { colour_symbol->width = green_symbol->width; }
|
|
||||||
if(blue_symbol->width > colour_symbol->width) { colour_symbol->width = blue_symbol->width; }
|
|
||||||
|
|
||||||
colour_symbol->rows = red_symbol->rows;
|
|
||||||
if(green_symbol->rows > colour_symbol->rows) { colour_symbol->rows = green_symbol->rows; }
|
|
||||||
if(blue_symbol->rows > colour_symbol->rows) { colour_symbol->rows = blue_symbol->rows; }
|
|
||||||
|
|
||||||
for(i = 0; i < colour_symbol->rows; i++) {
|
|
||||||
colour_symbol->row_height[i] = 1;
|
|
||||||
for(j = 0; j < colour_symbol->width; j++) {
|
|
||||||
int colourval;
|
|
||||||
|
|
||||||
colourval = 0;
|
|
||||||
|
|
||||||
if(red_symbol->encoded_data[i][j] == '1') { colourval += 4; }
|
|
||||||
if(green_symbol->encoded_data[i][j] == '1') { colourval += 2; }
|
|
||||||
if(blue_symbol->encoded_data[i][j] == '1') { colourval += 1; }
|
|
||||||
|
|
||||||
switch(colourval) {
|
|
||||||
case 0: colour_symbol->encoded_data[i][j] = '0'; break; /* white */
|
|
||||||
case 1: colour_symbol->encoded_data[i][j] = 'Y'; break; /* yellow */
|
|
||||||
case 2: colour_symbol->encoded_data[i][j] = 'M'; break; /* magenta */
|
|
||||||
case 3: colour_symbol->encoded_data[i][j] = 'R'; break; /* red */
|
|
||||||
case 4: colour_symbol->encoded_data[i][j] = 'C'; break; /* cyan */
|
|
||||||
case 5: colour_symbol->encoded_data[i][j] = 'G'; break; /* green */
|
|
||||||
case 6: colour_symbol->encoded_data[i][j] = 'B'; break; /* blue */
|
|
||||||
case 7: colour_symbol->encoded_data[i][j] = '1'; break; /* black */
|
|
||||||
}
|
|
||||||
printf("%c",colour_symbol->encoded_data[i][j]);
|
|
||||||
}
|
|
||||||
printf("\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
ZBarcode_Delete(red_symbol);
|
|
||||||
ZBarcode_Delete(green_symbol);
|
|
||||||
ZBarcode_Delete(blue_symbol);
|
|
||||||
ZBarcode_Delete(colour_symbol);
|
|
||||||
return 0;
|
|
||||||
}</PRE><P>
|
|
||||||
<HR>
|
|
||||||
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33% HEIGHT=5>
|
|
||||||
<P ALIGN=LEFT><A HREF="appxc.html">Prev</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=34%>
|
|
||||||
<P ALIGN=CENTER><A HREF="index.html">Home</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=LEFT>Appendix C</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=34%>
|
|
||||||
<P ALIGN=CENTER> </P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
</BODY>
|
|
||||||
</HTML>
|
|
BIN
docs/auspost.png
Before Width: | Height: | Size: 245 B |
BIN
docs/azrune.png
Before Width: | Height: | Size: 163 B |
BIN
docs/aztec.png
Before Width: | Height: | Size: 336 B |
1571
docs/backend.html
BIN
docs/bar38l.png
Before Width: | Height: | Size: 752 B |
BIN
docs/bar38n.png
Before Width: | Height: | Size: 621 B |
BIN
docs/bar38r.png
Before Width: | Height: | Size: 733 B |
BIN
docs/bar38u.png
Before Width: | Height: | Size: 612 B |
BIN
docs/barext.png
Before Width: | Height: | Size: 497 B |
BIN
docs/border.png
Before Width: | Height: | Size: 464 B |
BIN
docs/box.png
Before Width: | Height: | Size: 466 B |
BIN
docs/cca.png
Before Width: | Height: | Size: 997 B |
BIN
docs/ccb.png
Before Width: | Height: | Size: 1.3 KiB |
BIN
docs/ccc.png
Before Width: | Height: | Size: 1.4 KiB |
BIN
docs/codabar.png
Before Width: | Height: | Size: 477 B |
Before Width: | Height: | Size: 828 B |
BIN
docs/code11.png
Before Width: | Height: | Size: 554 B |
BIN
docs/code128.png
Before Width: | Height: | Size: 513 B |
BIN
docs/code16k.png
Before Width: | Height: | Size: 571 B |
BIN
docs/code39.png
Before Width: | Height: | Size: 504 B |
Before Width: | Height: | Size: 481 B |
@ -1,263 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
||||||
<HTML>
|
|
||||||
<HEAD>
|
|
||||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
|
||||||
<TITLE>Composite Symbols</TITLE>
|
|
||||||
<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.4 (Unix)">
|
|
||||||
<META NAME="CREATED" CONTENT="0;0">
|
|
||||||
<META NAME="CHANGED" CONTENT="20081019;9072300">
|
|
||||||
<META NAME="ProgId" CONTENT="FrontPage.Editor.Document">
|
|
||||||
<META HTTP-EQUIV="Content-Language" CONTENT="en-gb">
|
|
||||||
<STYLE TYPE="text/css">
|
|
||||||
<!--
|
|
||||||
TD P { color: #000000 }
|
|
||||||
H1 { color: #000000 }
|
|
||||||
P { color: #000000 }
|
|
||||||
TH P { color: #000000 }
|
|
||||||
-->
|
|
||||||
</STYLE>
|
|
||||||
</HEAD>
|
|
||||||
<BODY LANG="en-GB" 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="stacked.html"><FONT COLOR="#0000ff">Prev</FONT></A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=80%></TD>
|
|
||||||
<TD WIDTH=10%>
|
|
||||||
<P ALIGN=RIGHT><A HREF="twotrack.html"><FONT COLOR="#0000ff">Next</FONT></A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<HR>
|
|
||||||
<H1>5.3 Composite Symbols (ISO 24723)</H1>
|
|
||||||
<P>Composite symbols employ a mixture of components to give more
|
|
||||||
comprehensive information about a product. The permissible contents
|
|
||||||
of a composite symbol is determined by the terms of the <A HREF="appxc.html">GS1
|
|
||||||
General Specification</A>. Composite symbols consist of a linear
|
|
||||||
component which can be an EAN, UPC, GS1-128 or GS1 DataBar symbol, a
|
|
||||||
2D component which is based on PDF417 or MicroPDF417, and a separator
|
|
||||||
pattern. The type of linear component to be used is determined using
|
|
||||||
the <FONT FACE="Courier">-b</FONT> or <FONT FACE="Courier">--barcode=</FONT>
|
|
||||||
switch or by adjusting <FONT FACE="Courier">symbol->symbology</FONT>
|
|
||||||
as with other encoding methods. Valid values are shown below.</P>
|
|
||||||
<CENTER>
|
|
||||||
<TABLE WIDTH=936 BORDER=1 CELLPADDING=4 CELLSPACING=3>
|
|
||||||
<COL WIDTH=105>
|
|
||||||
<COL WIDTH=254>
|
|
||||||
<COL WIDTH=540>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=105>
|
|
||||||
<P ALIGN=CENTER><B>Numeric Value</B></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=254>
|
|
||||||
<P ALIGN=CENTER><B>Name</B></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=540>
|
|
||||||
<P ALIGN=CENTER><B>Symbology</B></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=105>
|
|
||||||
<P ALIGN=CENTER>130</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=254>
|
|
||||||
<P ALIGN=CENTER><FONT FACE="Courier">BARCODE_EANX_CC</FONT></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=540>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with EAN linear component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=105>
|
|
||||||
<P ALIGN=CENTER>131</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=254>
|
|
||||||
<P ALIGN=CENTER><FONT FACE="Courier">BARCODE_EAN128_CC</FONT></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=540>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with GS1-128 linear component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=105>
|
|
||||||
<P ALIGN=CENTER>132</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=254>
|
|
||||||
<P ALIGN=CENTER><FONT FACE="Courier">BARCODE_RSS14_CC</FONT></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=540>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with GS1 DataBar-14 linear
|
|
||||||
component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=105>
|
|
||||||
<P ALIGN=CENTER>133</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=254>
|
|
||||||
<P ALIGN=CENTER><FONT FACE="Courier">BARCODE_RSS_LTD_CC</FONT></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=540>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with GS1 DataBar Limited
|
|
||||||
component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=105>
|
|
||||||
<P ALIGN=CENTER>134</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=254>
|
|
||||||
<P ALIGN=CENTER><FONT FACE="Courier">BARCODE_RSS_EXP_CC</FONT></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=540>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with GS1 DataBar Extended
|
|
||||||
component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=105>
|
|
||||||
<P ALIGN=CENTER>135</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=254>
|
|
||||||
<P ALIGN=CENTER><FONT FACE="Courier">BARCODE_UPCA_CC</FONT></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=540>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with UPC A linear component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=105>
|
|
||||||
<P ALIGN=CENTER>136</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=254>
|
|
||||||
<P ALIGN=CENTER><FONT FACE="Courier">BARCODE_UPCE_CC</FONT></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=540>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with UPC E linear component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=105>
|
|
||||||
<P ALIGN=CENTER>137</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=254>
|
|
||||||
<P ALIGN=CENTER><FONT FACE="Courier">BARCODE_RSS14STACK_CC</FONT></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=540>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with GS1 DataBar-14 Stacked
|
|
||||||
component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=105>
|
|
||||||
<P ALIGN=CENTER>138</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=254>
|
|
||||||
<P ALIGN=CENTER><FONT FACE="Courier">BARCODE_RSS14_OMNI_CC</FONT></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=540>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with GS1 DataBar-14 Stacked
|
|
||||||
Omnidirectional component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=105>
|
|
||||||
<P ALIGN=CENTER>139</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=254>
|
|
||||||
<P ALIGN=CENTER><FONT FACE="Courier">BARCODE_RSS_EXPSTACK_CC</FONT></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=540>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with GS1 DataBar Expanded
|
|
||||||
Stacked component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
</CENTER>
|
|
||||||
<P ALIGN=LEFT>The data to be encoded in the linear component of a
|
|
||||||
composite symbol should be entered into a primary string with the
|
|
||||||
data for the 2D component being entered in the normal way. To do this
|
|
||||||
at the command prompt use the <FONT FACE="Courier">--primary=</FONT>
|
|
||||||
command. For example:</P>
|
|
||||||
<P ALIGN=LEFT><FONT FACE="Courier">zint -b 130 --mode=1
|
|
||||||
--primary=331234567890 -d "[99]1234-abcd"</FONT></P>
|
|
||||||
<P ALIGN=LEFT>This creates an EAN-13 linear component with the data
|
|
||||||
"331234567890" and a 2D CC-A (see below) component with the
|
|
||||||
data "(99)1234-abcd". The same results can be achieved
|
|
||||||
using the API as shown below:</P>
|
|
||||||
<P ALIGN=LEFT> <FONT FACE="Courier, monospace"><FONT SIZE=2>my_symbol->symbology
|
|
||||||
= 130;<BR> my_symbol->option_1 =
|
|
||||||
1;<BR> strcpy(my_symbol->primary,
|
|
||||||
"331234567890");<BR> ZBarcode_Encode_and_Print(my_symbol,
|
|
||||||
"[99]1234-abcd");</FONT></FONT></P>
|
|
||||||
<P ALIGN=LEFT>EAN-2 and EAN-5 add-on data can be used with EAN and
|
|
||||||
UPC symbols using the + symbol as described in section 5.1.3 and
|
|
||||||
5.1.4.</P>
|
|
||||||
<P ALIGN=LEFT>The 2D component of a composite symbol can use one of
|
|
||||||
three systems: CC-A, CC-B and CC-C as described below. The 2D
|
|
||||||
component type can be selected automatically by Zint dependant on the
|
|
||||||
length of the input string. Alternatively the three methods can be
|
|
||||||
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><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
|
|
||||||
the amount of error correction is determined by the amount of data to
|
|
||||||
be encoded and the type of linear component which is being used. CC-A
|
|
||||||
can encode up to 56 numeric digits or an alphanumeric string of
|
|
||||||
shorter length. To select CC-A use <FONT FACE="Courier">--mode=1</FONT>.</P>
|
|
||||||
<P ALIGN=LEFT><IMG SRC="cca.png" NAME="graphics1" ALIGN=LEFT WIDTH=238 HEIGHT=218 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
|
||||||
</P>
|
|
||||||
<P ALIGN=LEFT><A NAME="CCB"></A><FONT SIZE=5><B>5.3.2 CC-B</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>This system uses MicroPDF417 to encode the 2D
|
|
||||||
component. The size of the 2D component and the amount of error
|
|
||||||
correction is determined by the amount of data to be encoded and the
|
|
||||||
type of linear component which is being used. CC-B can encode up to
|
|
||||||
338 numeric digits or an alphanumeric string of shorter length. To
|
|
||||||
select CC-B use <FONT FACE="Courier">--mode=2</FONT>.</P>
|
|
||||||
<P ALIGN=LEFT><IMG SRC="ccb.png" NAME="graphics2" ALIGN=LEFT WIDTH=166 HEIGHT=218 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
|
||||||
</P>
|
|
||||||
<P ALIGN=LEFT><A NAME="CCC"></A><FONT SIZE=5><B>5.3.3 CC-C</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>This system uses PDF417 and can only be used in
|
|
||||||
conjunction with a GS1-128 linear component. CC-C can encode up to
|
|
||||||
2361 numeric digits or an alphanumeric string of shorter length. To
|
|
||||||
select CC-C use <FONT FACE="Courier">--mode=3</FONT>.</P>
|
|
||||||
<P ALIGN=LEFT><IMG SRC="ccc.png" NAME="graphics3" ALIGN=LEFT WIDTH=348 HEIGHT=218 BORDER=0><BR CLEAR=LEFT><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="stacked.html"><FONT COLOR="#0000ff">Prev</FONT></A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=34%>
|
|
||||||
<P ALIGN=CENTER><A HREF="index.html"><FONT COLOR="#0000ff">Home</FONT></A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=RIGHT><A HREF="twotrack.html"><FONT COLOR="#0000ff">Next</FONT></A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=LEFT>Stacked Symbologies</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=34%>
|
|
||||||
<P ALIGN=CENTER> </P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=RIGHT>Two-Track Symbols</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<P><BR><BR>
|
|
||||||
</P>
|
|
||||||
</BODY>
|
|
||||||
</HTML>
|
|
BIN
docs/databar.png
Before Width: | Height: | Size: 863 B |
Before Width: | Height: | Size: 486 B |
BIN
docs/dbomni.png
Before Width: | Height: | Size: 391 B |
BIN
docs/dbstack.png
Before Width: | Height: | Size: 198 B |
BIN
docs/ean13.png
Before Width: | Height: | Size: 773 B |
BIN
docs/fim.png
Before Width: | Height: | Size: 133 B |
@ -1,243 +0,0 @@
|
|||||||
<!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.4 (Unix)">
|
|
||||||
<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><IMG SRC="auspost.png" NAME="graphics1" ALIGN=LEFT WIDTH=266 HEIGHT=20 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
|
||||||
</P>
|
|
||||||
<P><A NAME="KIX"></A><FONT SIZE=5><B>5.5.2 Dutch Post KIX Code</B></FONT></P>
|
|
||||||
<P>This Symbology is used by Royal Dutch TPG Post (Netherlands) for
|
|
||||||
Postal code and automatic mail sorting. Data input can consist of
|
|
||||||
numbers 0-9 and letters A-Z and needs to be 11 characters in length.
|
|
||||||
No check digit is included.</P>
|
|
||||||
<P><IMG SRC="kix.png" NAME="graphics4" ALIGN=LEFT WIDTH=174 HEIGHT=20 BORDER=0><BR><BR>
|
|
||||||
</P>
|
|
||||||
<P><A NAME="RM4SCC"></A><FONT SIZE=5><B>5.5.3 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><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.4 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><IMG SRC="onecode.png" NAME="graphics3" ALIGN=LEFT WIDTH=258 HEIGHT=12 BORDER=0><BR CLEAR=LEFT><BR><BR><BR>
|
|
||||||
</P>
|
|
||||||
<P><A NAME="JAPAN"></A><FONT SIZE=5><B>5.5.5 Japanese Postal Barcode</B></FONT></P>
|
|
||||||
<P>Used to sort mail items in Japan. Data consists of a postal code followed
|
|
||||||
by a representation of the address data. Valid characters are 0-9, A-Z and
|
|
||||||
dash (-). Zint supports "Direct Encoding Mode" only where the address has
|
|
||||||
been converted to an "Address B" string and concatenated to the postal code.
|
|
||||||
Check digit is added by Zint.</P>
|
|
||||||
<P><IMG SRC="japan.png" NAME="graphics5" ALIGN=LEFT WIDTH=266 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>
|
|
@ -1,897 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
||||||
<HTML>
|
|
||||||
<HEAD>
|
|
||||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
|
||||||
<TITLE>Using the Front End</TITLE>
|
|
||||||
</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="installing.html">Prev</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=80%></TD>
|
|
||||||
<TD WIDTH=10%>
|
|
||||||
<P ALIGN=RIGHT><A HREF="backend.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<HR>
|
|
||||||
<H1>3. Using the Front End</H1>
|
|
||||||
<P STYLE="font-style: normal">Zint can be used to generate barcodes
|
|
||||||
as PNG images, encapsulated Post Script (EPS) or Scalable Vector
|
|
||||||
Graphics (SVG) files. This page
|
|
||||||
describes how to encode data using the command line front end
|
|
||||||
program.</P>
|
|
||||||
<P><A NAME="INPUT"></A><FONT SIZE=5><B>3.1 Inputting data</B></FONT>
|
|
||||||
</P>
|
|
||||||
<P>The data to encode can be entered at
|
|
||||||
the command line using the -d option, for example:</P>
|
|
||||||
<P><FONT FACE="Courier, monospace"><FONT SIZE=2>zint
|
|
||||||
-d 'This Text'</FONT></FONT></P>
|
|
||||||
<P>This will encode the text <I>This Text</I>.
|
|
||||||
Zint will use the default symbology, Code 128, and output to the
|
|
||||||
default file out.png in the current directory.
|
|
||||||
</P>
|
|
||||||
<P><A NAME="OUTPUT"></A><FONT SIZE=5><B>3.2
|
|
||||||
Directing Output</B></FONT></P>
|
|
||||||
<P>Output can be directed to a file other
|
|
||||||
than the default using the -o switch. For example:</P>
|
|
||||||
<P><FONT FACE="Courier, monospace"><FONT SIZE=2>zint
|
|
||||||
-o here.png -d 'This Text'</FONT></FONT></P>
|
|
||||||
<P>draws a Code 128 barcode in the file
|
|
||||||
here.png. If an encapsulated Post Script file is needed simply append
|
|
||||||
the file name with .eps:</P>
|
|
||||||
<P><FONT FACE="Courier, monospace"><FONT SIZE=2>zint
|
|
||||||
-o there.eps -d 'This Text'</FONT></FONT></P>
|
|
||||||
<P>Scalable Vector Graphics representations of symbols can be generated
|
|
||||||
with the suffix ".svg". Output can also be directed to stdout using the
|
|
||||||
<FONT FACE="Courier, monospace">--directeps</FONT>,
|
|
||||||
<FONT FACE="Courier, monospace">--directpng</FONT> and
|
|
||||||
<FONT FACE="Courier, monospace">--directsvg</FONT> switches for
|
|
||||||
EPS, PNG and SVG output respectively.</P>
|
|
||||||
<P><A NAME="BARTYPE"></A><FONT SIZE=5><B>3.3
|
|
||||||
Selecting barcode type</B></FONT></P>
|
|
||||||
<P>Selecting which type of barcode you
|
|
||||||
wish to produce (i.e. which symbology to use) can be done at the
|
|
||||||
command line using the -b or --barcode= switch followed by the
|
|
||||||
appropriate integer value in the following table.</P>
|
|
||||||
<CENTER>
|
|
||||||
<TABLE WIDTH=60% BORDER=1>
|
|
||||||
<THEAD>
|
|
||||||
<TR>
|
|
||||||
<TH>
|
|
||||||
<P>Numeric Value</P>
|
|
||||||
</TH>
|
|
||||||
<TH>
|
|
||||||
<P>Barcode Name</P>
|
|
||||||
</TH>
|
|
||||||
</TR>
|
|
||||||
</THEAD>
|
|
||||||
<TBODY>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>1</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Code 11</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>2</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Standard Code 2 of 5</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>3</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Interleaved 2 of 5</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>4</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Code 2 of 5 IATA</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>6</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Code 2 of 5 Data Logic</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>7</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Code 2 of 5 Industrial</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>8</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Code 3 of 9 (Code 39)</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>9</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Extended Code 3 of 9 (Code 39+)</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>13</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>EAN</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>16</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>GS1-128 (UCC.EAN-128)</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>18</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Codabar</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>20</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Code 128 (automatic subset switching)</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>21</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Deutshe Post Leitcode</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>22</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Deutshe Post Identcode</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>23</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Code 16K</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>25</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Code 93</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>28</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Flattermarken</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>29</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>GS1 DataBar-14</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>30</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>GS1 DataBar Limited</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>31</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>GS1 DataBar Extended</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>32</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Telepen Alpha</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>34</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>UPC A</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>37</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>UPC E</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>40</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>PostNet</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>47</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>MSI Plessey</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>49</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>FIM</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>50</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>LOGMARS</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>51</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Pharmacode One-Track</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>52</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>PZN</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>53</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Pharmacode Two-Track</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>55</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>PDF417</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>56</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>PDF417 Truncated</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>57</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Maxicode</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>58</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>QR Code</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>60</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Code 128 (Subset B)</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>63</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Australia Post Standard Customer</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>66</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Australia Post Reply Paid</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>67</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Australia Post Routing</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>68</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Australia Post Redirection</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>69</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>ISBN (EAN-13 with verification stage)</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>70</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Royal Mail 4 State (RM4SCC)</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>71</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Data Matrix</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>72</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>EAN-14</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>74</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Codablock-F</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>75</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>NVE-18</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>76</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Japanese Postal Code</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>77</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Korea Post</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>79</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>GS1 DataBar-14 Stacked</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>80</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>GS1 DataBar-14 Stacked Omnidirectional</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>81</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>GS1 DataBar Expanded Stacked</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>82</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>PLANET</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>84</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>MicroPDF417</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>85</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>USPS OneCode</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>86</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Plessey Code</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>87</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Telepen Numeric</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>89</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>ITF-14</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>90</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Dutch Post KIX Code</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>92</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Aztec Code</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>93</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>DAFT Code</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>97</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<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>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Aztec Runes</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>129</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Code 32</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>130</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with EAN linear component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>131</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with GS1-128 linear component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>132</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with GS1 DataBar-14 linear
|
|
||||||
component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>133</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with GS1 DataBar Limited
|
|
||||||
component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>134</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with GS1 DataBar Extended
|
|
||||||
component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>135</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with UPC A linear component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>136</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with UPC E linear component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>137</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with GS1 DataBar-14 Stacked
|
|
||||||
component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>138</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with GS1 DataBar-14 Stacked
|
|
||||||
Omnidirectional component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>139</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Composite Symbol with GS1 DataBar Expanded
|
|
||||||
Stacked component</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
|
|
||||||
</TBODY>
|
|
||||||
</TABLE>
|
|
||||||
</CENTER>
|
|
||||||
<P><A NAME="HEIGHT"></A><FONT SIZE=5><B>3.4 Adjusting height</B></FONT></P>
|
|
||||||
<P>The height of the symbol can be adjusted using the --height
|
|
||||||
switch. For example:</P>
|
|
||||||
<P><FONT FACE="Courier, monospace"><FONT SIZE=2>zint --height=100 -d
|
|
||||||
'This Text'</FONT></FONT></P>
|
|
||||||
<P>specifies a symbol height of 100 times the <I>x-resolution</I> of
|
|
||||||
the symbol.</P>
|
|
||||||
<P><A NAME="WHITESPACE"></A><FONT SIZE=5><B>3.5
|
|
||||||
Adjusting whitespace</B></FONT></P>
|
|
||||||
<P>The amount of whitespace to the left
|
|
||||||
and right of the generated barcode can be altered using the -w
|
|
||||||
switch. For example:</P>
|
|
||||||
<P><FONT FACE="Courier, monospace"><FONT SIZE=2>zint
|
|
||||||
-w 10 -d 'This Text'</FONT></FONT></P>
|
|
||||||
<P>specifies a whitespace width of 10
|
|
||||||
times the <I>x-resolution</I> of the symbol.</P>
|
|
||||||
<P><A NAME="BOUNDARY"></A><FONT SIZE=5><B>3.6
|
|
||||||
Adding boundary bars and boxes</B></FONT></P>
|
|
||||||
<P>Zint allows the symbol to be bound with
|
|
||||||
'boundary bars' using the option --bind. These bars help to prevent
|
|
||||||
misreading of the symbol by corrupting a scan if the scanning beam
|
|
||||||
strays off the top or bottom of the symbol. Zint can also put a
|
|
||||||
border right around the symbol and its whitespace with the --box
|
|
||||||
option. This option is automatically chosen for ITF-14 symbols.</P>
|
|
||||||
<P>The width of the boundary or box can be
|
|
||||||
specified using the --border switch. For example:</P>
|
|
||||||
<P><FONT FACE="Courier, monospace"><FONT SIZE=2>zint
|
|
||||||
--box --border=10 -d 'This'</FONT></FONT></P>
|
|
||||||
<P>gives a box with a width 10 times the
|
|
||||||
<I>x-resolution</I> of the symbol.</P>
|
|
||||||
<TABLE WIDTH=100% BORDER=0>
|
|
||||||
<TR>
|
|
||||||
<TD WIDTH=50%>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="border.png" NAME="graphics2" ALT="bound symbol" ALIGN=MIDDLE WIDTH=238 HEIGHT=138 BORDER=0></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=50%>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="box.png" NAME="graphics1" ALT="boxed symbol" ALIGN=MIDDLE WIDTH=238 HEIGHT=138 BORDER=0></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<P><A NAME="COLOUR"></A><FONT SIZE=5><B>3.7
|
|
||||||
Using colour</B></FONT></P>
|
|
||||||
<P>The default colours of a symbol are a
|
|
||||||
black symbol on a white background. Zint allows you to change this.
|
|
||||||
The -r switch allows the default colours to be inverted so that a
|
|
||||||
white symbol is shown on a black background. For example the command</P>
|
|
||||||
<P><FONT FACE="Courier, monospace"><FONT SIZE=2>zint
|
|
||||||
-r -d 'This'</FONT></FONT></P>
|
|
||||||
<P>gives an inverted Code 128 symbol. This
|
|
||||||
is not practical for most symbologies but white-on-black is allowed
|
|
||||||
by the Data Matrix and Aztec Code symbology specifications.</P>
|
|
||||||
<P>For more specific needs the foreground
|
|
||||||
and background colours can be specified using the <FONT FACE="Courier, monospace">--fg=</FONT>
|
|
||||||
and <FONT FACE="Courier, monospace">--bg=</FONT> options followed by
|
|
||||||
a number in RGB hexadecimal notation (the same system used in HTML).
|
|
||||||
For example the command
|
|
||||||
</P>
|
|
||||||
<P><FONT FACE="Courier, monospace"><FONT SIZE=2>zint
|
|
||||||
--fg=004700 -d 'This'</FONT></FONT></P>
|
|
||||||
<P>alters the symbol to a dark green as
|
|
||||||
shown below.</P>
|
|
||||||
<TABLE WIDTH=100% BORDER=0>
|
|
||||||
<TR>
|
|
||||||
<TD WIDTH=50%>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="green.png" NAME="graphics3" ALT="symbol with green ink" ALIGN=BOTTOM WIDTH=238 HEIGHT=138 BORDER=0></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=50%>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="pink.png" NAME="graphics4" ALT="symbol with pink paper" ALIGN=BOTTOM WIDTH=238 HEIGHT=138 BORDER=0></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<P><A NAME="ROTATE"></A><FONT SIZE=5><B>3.8
|
|
||||||
Rotating the Symbol</B></FONT></P>
|
|
||||||
<P>The
|
|
||||||
symbol can be rotated through four orientations using the <FONT FACE="Courier, monospace">--rotate=</FONT>
|
|
||||||
option followed by the angle of rotation as shown below. This option
|
|
||||||
is only available with PNG output.</P>
|
|
||||||
|
|
||||||
<TABLE WIDTH=100% BORDER=1>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="bar38n.png" NAME="graphics5" WIDTH=200 HEIGHT=118 BORDER=0>
|
|
||||||
<BR><FONT FACE="Courier, monospace"><FONT SIZE=3>--rotate=0</FONT></FONT><FONT SIZE=3>
|
|
||||||
(default)</FONT></P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="bar38u.png" NAME="graphics6" WIDTH=200 HEIGHT=118 BORDER=0>
|
|
||||||
<BR><FONT FACE="Courier, monospace"><FONT SIZE=3>--rotate=180</FONT></FONT></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="bar38l.png" NAME="graphics7" WIDTH=118 HEIGHT=200 BORDER=0>
|
|
||||||
<BR><FONT FACE="Courier, monospace"><FONT SIZE=3>--rotate=270</FONT></FONT></P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="bar38r.png" NAME="graphics8" WIDTH=118 HEIGHT=200 BORDER=0>
|
|
||||||
<BR><FONT FACE="Courier, monospace"><FONT SIZE=3>--rotate=90</FONT></FONT></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<P><A NAME="SCALE"></A><FONT SIZE=5><B>3.9
|
|
||||||
Adjusting image size</B></FONT></P>
|
|
||||||
<P>The scale of the image can be altered
|
|
||||||
using the <FONT FACE="Courier, monospace">--scale=</FONT> option
|
|
||||||
followed by a multiple of the default x-dimension. For example for
|
|
||||||
PNG images a scale of 5 will increase the x-dimension to 10 pixels.
|
|
||||||
Note that Maxicode symbols output as PNG images cannot be scaled in
|
|
||||||
this way and that text added to a barcode in PNG images does not
|
|
||||||
change size.
|
|
||||||
</P>
|
|
||||||
<P><A NAME="NULL"></A><FONT SIZE=5><B>3.10
|
|
||||||
Handling NULL Characters</B></FONT></P>
|
|
||||||
<P>Some symbologies support encoding of
|
|
||||||
the NULL character (ASCII 0) normally used to indicate the end of a
|
|
||||||
character string. To support this functionality the <FONT FACE="Courier, monospace">--null=</FONT>
|
|
||||||
option allows you to substitute another character for NULL. Enter the
|
|
||||||
decimal number for the character you wish to substitute. For example
|
|
||||||
<FONT FACE="Courier, monospace">--null=21</FONT> instructs Zint to
|
|
||||||
treat the NAK control character as a NULL character. Values between 1
|
|
||||||
and 128 are valid. This applies to Codablock-F, Code 128,
|
|
||||||
Code 16k, Extended Code 39, Code 93, Maxicode, PDF417, MicroPDF417,
|
|
||||||
Data Matrix (ECC 200 only) and Telepen.</P>
|
|
||||||
<P><A NAME="INMODE"></A><FONT SIZE=5><B>3.11
|
|
||||||
Input modes</B></FONT></P>
|
|
||||||
<P>GS1 data can be encoded in a number of symbologies. Application
|
|
||||||
identifiers are enclosed in [square brackets] followed by the data to
|
|
||||||
be encoded (see 5.1.12.3). To encode GS1 data use
|
|
||||||
<FONT FACE="Courier, monospace">--gs1</FONT>. GS1 mode is assumed
|
|
||||||
(and doesn't need to be set) for EAN-128, DataBar and Composite symbologies
|
|
||||||
but is also available for Code 16k, Codablock-F, Data Matrix (ECC 200 only),
|
|
||||||
and Aztec Code.</P>
|
|
||||||
<P>The QR Code and MicroQR Code standards have a "Kanji mode" for encoding
|
|
||||||
Japanese chacters. The standards assume that the input is encoded using the
|
|
||||||
Shift-JIS system. To access this functionality directly use the
|
|
||||||
<FONT FACE="Courier, monospace">--sjis</FONT> option. Note that only
|
|
||||||
double-byte characters are supported. The presence of single byte characters
|
|
||||||
will cause the data to become corrupted. This functionality can also be
|
|
||||||
accessed from environments which use Unicode encoding by using the
|
|
||||||
<FONT FACE="Courier, monospace">--kanji</FONT> option. When this option is
|
|
||||||
invoked Zint attempts to convert Unicode data to Shift-JIS before encoding
|
|
||||||
in a barcode symbol. If a Unicode character is not supported then the error
|
|
||||||
message is output.[1]</P>
|
|
||||||
<P><A NAME="OTHER"></A><FONT SIZE=5><B>3.12
|
|
||||||
Other options</B></FONT></P>
|
|
||||||
<P>Additional options are available which
|
|
||||||
are specific to certain symbologies. These may, for example, control
|
|
||||||
the quantity of error correction data or the size of the symbol.
|
|
||||||
These options are discussed in section 5 of this guide.</P>
|
|
||||||
<P>[1] Only Unicode and Shift-JIS inputs can be encoded by Zint directly.
|
|
||||||
Apple Macintosh Japanese, EUC-JP, ISO-2022-JP and Windows-932 standards
|
|
||||||
are not supported.</P>
|
|
||||||
<HR>
|
|
||||||
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
|
|
||||||
<TR>
|
|
||||||
<TD WIDTH=33% HEIGHT=5>
|
|
||||||
<P ALIGN=LEFT><A HREF="installing.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="backend.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=LEFT>Installation</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=34%>
|
|
||||||
<P ALIGN=CENTER> </P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=RIGHT>Using the API</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
</BODY>
|
|
||||||
</HTML>
|
|
Before Width: | Height: | Size: 4.3 KiB |
BIN
docs/green.png
Before Width: | Height: | Size: 496 B |
341
docs/index.html
@ -1,341 +0,0 @@
|
|||||||
<!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>
|
|
@ -1,107 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
||||||
<HTML>
|
|
||||||
<HEAD>
|
|
||||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
|
||||||
<TITLE>Installing Zint</TITLE>
|
|
||||||
<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.4 (Unix)">
|
|
||||||
<META NAME="CREATED" CONTENT="20070730;21081900">
|
|
||||||
<META NAME="CHANGED" CONTENT="20081019;8493400">
|
|
||||||
<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="introduction.html">Prev</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=80%></TD>
|
|
||||||
<TD WIDTH=10%>
|
|
||||||
<P ALIGN=RIGHT><A HREF="frontend.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<HR>
|
|
||||||
<H1>2. Installing Zint</H1>
|
|
||||||
<P>These instructions relate to installing Zint on a GNU/Linux
|
|
||||||
machine but should be the same or similar for other POSIX compliant
|
|
||||||
systems (including UNIX and BSD based systems). Installation on
|
|
||||||
Windows or MacOS based system should be possible but is not covered
|
|
||||||
here.</P>
|
|
||||||
<P>Zint is currently only available as source code. First download
|
|
||||||
the source code .tar.gz file from <A HREF="http://www.sourceforge.net/projects/zint">SourceForge</A>
|
|
||||||
and unpack it. The package consists of two distinct parts: a <I>front
|
|
||||||
end</I> which provides a command line interface, and a <I>back end</I>
|
|
||||||
which provides an API which allows developers to integrate encoding
|
|
||||||
into their own project. You will notice that the sorce code is
|
|
||||||
suitably arranged into frontend and backend folders. The front end
|
|
||||||
requires the back end to be installed, so the back end should be
|
|
||||||
installed first.</P>
|
|
||||||
<P><A NAME="BACKEND"></A><FONT SIZE=5><B>2.1 Installing the back end</B></FONT></P>
|
|
||||||
<P>The Zint back end, <I>libzint</I>, requires the libpng and libz
|
|
||||||
libraries. The latest version of these libraries is available from
|
|
||||||
<A HREF="http://www.libpng.org/pub/png/libpng.html">http://www.libpng.org/pub/png/libpng.html</A>.
|
|
||||||
Install these first before trying to install Zint. In addition, if
|
|
||||||
you require QR Code support, Zint uses <I>libqrencode</I> which is
|
|
||||||
available from
|
|
||||||
<A HREF="http://megaui.net/fukuchi/works/qrencode/index.en.html">http://megaui.net/fukuchi/works/qrencode/index.en.html</A>.
|
|
||||||
If you don't need QR Code support this can be disabled during
|
|
||||||
compilation.</P>
|
|
||||||
<P>To install Zint with QR Code support follow these steps</P>
|
|
||||||
<P STYLE="font-style: normal"><FONT FACE="Courier, monospace"><FONT SIZE=2>make<BR>make
|
|
||||||
install</FONT></FONT></P>
|
|
||||||
<P STYLE="font-style: normal">If you do not want QR Code support use
|
|
||||||
the following steps</P>
|
|
||||||
<P><FONT FACE="Courier, monospace"><SPAN STYLE="font-style: normal"><FONT SIZE=2>make
|
|
||||||
libzint_noqr<BR>make install</FONT></SPAN></FONT></P>
|
|
||||||
<P STYLE="font-style: normal"><A NAME="TESTING"></A><FONT SIZE=5><B>2.2
|
|
||||||
Testing the Installation</B></FONT></P>
|
|
||||||
<P STYLE="font-style: normal">To test that the installation has been
|
|
||||||
sucessful a shell script is included in the frontend folder. To run
|
|
||||||
the test type</P>
|
|
||||||
<P STYLE="font-style: normal"><FONT FACE="Courier, monospace"><FONT SIZE=2>./test.sh</FONT></FONT></P>
|
|
||||||
<P>This should create numerous files showing the many modes of
|
|
||||||
operation which are available from Zint.
|
|
||||||
</P>
|
|
||||||
<HR>
|
|
||||||
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33% HEIGHT=5>
|
|
||||||
<P ALIGN=LEFT><A HREF="introduction.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="frontend.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=LEFT>Introduction</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=34%>
|
|
||||||
<P ALIGN=CENTER> </P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=RIGHT>Using the Front End</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<P><BR><BR>
|
|
||||||
</P>
|
|
||||||
</BODY>
|
|
||||||
</HTML>
|
|
@ -1,109 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
||||||
<HTML>
|
|
||||||
<HEAD>
|
|
||||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
|
||||||
<TITLE>Introduction</TITLE>
|
|
||||||
<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.4 (Unix)">
|
|
||||||
<META NAME="CREATED" CONTENT="20070730;21081900">
|
|
||||||
<META NAME="CHANGED" CONTENT="20080714;8412100">
|
|
||||||
<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="index.html">Prev</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=80%></TD>
|
|
||||||
<TD WIDTH=10%>
|
|
||||||
<P ALIGN=RIGHT><A HREF="installing.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<HR>
|
|
||||||
<H1><A NAME="INTRODUCTION"></A>1. Introduction</H1>
|
|
||||||
<P>Zint is an open source barcode generator which allows you to
|
|
||||||
encode data in over 30 types of barcode symbol. In this documentation
|
|
||||||
a barcode encoding method is termed a <I>symbology</I> and the
|
|
||||||
resulting barcode image is termed a <I>symbol</I>. The symbologies
|
|
||||||
currently supported by Zint are: [1]</P>
|
|
||||||
<P>Code 11, Standard Code 2 of 5, IATA Code 2 of 5, Industrial Code 2
|
|
||||||
of 5, Interleaved Code 2 of 5, Code 2 of 5 Data Logic, ITF-14,
|
|
||||||
Deutche Post Leitcode, Deutche Post Identcode, UPC-A, UPC-E, EAN-2,
|
|
||||||
EAN-5, EAN-8, EAN-13, UK Plessey, MSI Plessey, Telepen Alpha, Telepen
|
|
||||||
Numeric, Code 39, Extended Code 39, Code 93, PZN, LOGMARS, Codabar,
|
|
||||||
Pharmacode, Code 128, GS1-128, NVE-18, GS1 DataBar, DataBar-14,
|
|
||||||
DataBar Limited, DataBar Extended, Code 16k, PDF417, MicroPDF417,
|
|
||||||
Two-Track Pharmacode, PostNet, PLANET, Australia Post 4-State
|
|
||||||
Symbols, Dutch Post KIX Code, RM4SCC, USPS OneCode, Data Matrix, QR
|
|
||||||
Code, Maxicode, Composite Symbols, FIM and Flattermarken.</P>
|
|
||||||
<P>In addition Zint also provides barcode stacking, colour options
|
|
||||||
and a verification stage for SBN, ISBN and ISBN-13 data. The aim of
|
|
||||||
the Zint project is to provide an open source API for encoding all
|
|
||||||
public domain barcode symbologies.</P>
|
|
||||||
<P>This document is a guide to the Zint API and front end program as
|
|
||||||
well as a guide to the barcode technologies which they make
|
|
||||||
available. Please remember that, although a great deal of care has
|
|
||||||
been taken to de-bug Zint, many of the symbologies have not been
|
|
||||||
tested with commercial barcode scanners so you are recommended to
|
|
||||||
test that symbols decode properly before you use them.</P>
|
|
||||||
<H1><FONT COLOR="#ff0000">This project needs your support!</FONT></H1>
|
|
||||||
<P><B>The Zint project is committed to providing the open source
|
|
||||||
community with encoding software for all public domain barcode
|
|
||||||
standards. For this we need access to the standard documentation and,
|
|
||||||
unfortunately, this is not free. Your donation will contribute
|
|
||||||
towards the purchase of standard documents from the ISO and ANSI.
|
|
||||||
Standards which we hope to add to Zint in this way include Aztec
|
|
||||||
Code, Codablock-F, Code 49, Supercode, Code One and (when it becomes
|
|
||||||
available) Ultracode. If you have a preference regarding which
|
|
||||||
standard you would like your donation to go towards then please let
|
|
||||||
us know and we will reserve your donation for that standard. Thank
|
|
||||||
you.</B></P>
|
|
||||||
<P>To make a donation please go to:
|
|
||||||
<A HREF="http://sourceforge.net/project/project_donations.php?group_id=199350">http://sourceforge.net/project/project_donations.php?group_id=199350</A></P>
|
|
||||||
<P>[1] Note that some of these symbologies have more than one name,
|
|
||||||
and that some of the names given in this list are not the official
|
|
||||||
names for the symbologies referred to.</P>
|
|
||||||
<HR>
|
|
||||||
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=LEFT><A HREF="index.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="installing.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=LEFT>Zint Barcode Generator</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=34%>
|
|
||||||
<P ALIGN=CENTER> </P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=RIGHT>Installing Zint</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<P><BR><BR>
|
|
||||||
</P>
|
|
||||||
</BODY>
|
|
||||||
</HTML>
|
|
BIN
docs/itf14.png
Before Width: | Height: | Size: 736 B |
BIN
docs/japan.png
Before Width: | Height: | Size: 211 B |
BIN
docs/kix.png
Before Width: | Height: | Size: 197 B |
BIN
docs/korea.png
Before Width: | Height: | Size: 542 B |
282
docs/legal.html
@ -1,282 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
||||||
<HTML>
|
|
||||||
<HEAD>
|
|
||||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
|
||||||
<TITLE>Legal and Version Information</TITLE>
|
|
||||||
<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="markings.html">Prev</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=80%></TD>
|
|
||||||
<TD WIDTH=10%>
|
|
||||||
<P ALIGN=RIGHT><A HREF="appxa.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<HR>
|
|
||||||
<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 © 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. 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
|
|
||||||
Public License as published by the Free Software Foundation; either
|
|
||||||
version 3 of the License, or (at your option) any later version.</FONT></P>
|
|
||||||
<P><FONT FACE="Courier">This program is distributed in the hope that
|
|
||||||
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>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
|
|
||||||
terms of the GNU General Public Licence.</P>
|
|
||||||
<P>Portions of GS1 DataBar and Composite Symbology code are Copyright
|
|
||||||
© 2006 ISO/BSI Global and used with permission.</P>
|
|
||||||
<P>Portions of OneCode code is © 2006 United States Postal Service.
|
|
||||||
This is indicated where appropriate in the source code and is used on
|
|
||||||
the understanding that this code has been released to the public
|
|
||||||
domain and that such use is intended by the copyright holder.</P>
|
|
||||||
<P><I>libqrencode</I> is Copyright © 2006, 2007, 2008 Kentaro
|
|
||||||
Fukuchi and is released under the terms of the GNU General Public
|
|
||||||
Licence.</P>
|
|
||||||
<P>QR Code is a registered trademark of Denso Corp. of Kariya, Japan.</P>
|
|
||||||
<P><IMG SRC="rse_logo.png" NAME="graphics2" ALIGN=RIGHT WIDTH=120 HEIGHT=64 BORDER=0>Zint.org.uk
|
|
||||||
website design and hosting provided by <A HREF="http://www.rsewebsolutions.co.uk/">RSE
|
|
||||||
Web Solutions.</A></P>
|
|
||||||
<P><A NAME="PATENT"></A><FONT SIZE=5><B>6.2 Patent Issues</B></FONT></P>
|
|
||||||
<P>All of the code in Zint is developed using information in the
|
|
||||||
public domain, usually freely available on the Internet. Some of the
|
|
||||||
techniques used may be subject to patents and other intellectual
|
|
||||||
property legislation. It is my belief that any patents involved in
|
|
||||||
the technology underlying symbologies utilised by Zint are
|
|
||||||
'unadopted', that is the holder does not object to their methods
|
|
||||||
being used. If, however, you are a patent holder or hold any other
|
|
||||||
intellectual property rights on the methods used by Zint or the
|
|
||||||
symbologies which Zint generates, and do not want Zint to continue to
|
|
||||||
support your symbology then please contact me and I will update the
|
|
||||||
code to accommodate your wishes at the soonest opportunity.</P>
|
|
||||||
<P>Any methods patented or owned by third parties or trademarks or
|
|
||||||
registered trademarks used within Zint or in this document are and
|
|
||||||
remain the property of their respective owners and do not indicate
|
|
||||||
endorsement or affiliation with those owners, companies or
|
|
||||||
organisations.</P>
|
|
||||||
<P><A NAME="VERSION"></A><FONT SIZE=5><B>6.3 Version Information</B></FONT></P>
|
|
||||||
<P>v0.1 - (as <I>Zebar</I>) Draws UPC-A. UPC-E, EAN-8, EAN-13,
|
|
||||||
Interlaced 2 of 5, Codabar, Code 39, Extended Code 39 and Code 93
|
|
||||||
barcodes and Add-on codes EAN-2 and EAN-5 without parity. 13/11/2006</P>
|
|
||||||
<P>v0.2 - Added Code 128 (which is now the default), Code 11, Code 2
|
|
||||||
of 5, Add-on codes EAN-2 and EAN-5 parity and MSI/Plessey without
|
|
||||||
check digit. 12/12/2006</P>
|
|
||||||
<P>v0.3 - Added MSI/Plessey Mod 10 check and 2 x Mod 10 check
|
|
||||||
options, Telepen ASCII and Telepen numeric, Postnet, RM4SCC. Code has
|
|
||||||
been tidied up quite a bit. Bind option added. 30/12/2006</P>
|
|
||||||
<P>v0.4 - Added barcode stacking (now stacks up to 16 barcodes) and
|
|
||||||
Code16k (stub). 15/1/2007</P>
|
|
||||||
<P>v0.5 - Added Australia Post 4-State Barcodes and Pharmacode (1 and
|
|
||||||
2 track). 4-state codes now draw with correct height/width ratio.
|
|
||||||
28/2/2007</P>
|
|
||||||
<P>v0.6 - Added Plessey and some derivative codes (EAN-128, Code 128
|
|
||||||
subset B, Auspost Reply, Auspost Routing, Auspost Redirect, ITF-14).
|
|
||||||
Tidied up code again: separated symbologies into more files and put
|
|
||||||
all lookup tables into arrays (much reducing the amount of code,
|
|
||||||
especially for Code 39e and Code 93). Errors now output to stderr.
|
|
||||||
Added proper input verification. Distribution now packs with HTML
|
|
||||||
pages instead of separate README. Outputs to PNG. Outputs colour.
|
|
||||||
User variable whitespace and border width. Box option. Fixed EAN
|
|
||||||
add-on bug. Added whitespace and height options. Project name changed
|
|
||||||
to Zint to avoid conflict with extant trade name. Added escape
|
|
||||||
character input. 1/4/2007</P>
|
|
||||||
<P>v1.0 - Corrected problem with escape character codes. Supports
|
|
||||||
PDF417. This completes the list of features I originally wanted (plus
|
|
||||||
a few more), hence skip to version 1.0. 20/4/2007</P>
|
|
||||||
<P>v1.1 - Added more derivatives (Code 2 of 5 Matrix, IATA and Data
|
|
||||||
Logic, Truncated PDF417, Deutsche Post Leitcode and Identcode,
|
|
||||||
Pharmazentralnummer, Planet) and Flattermarken. Tidied up 2 of 5
|
|
||||||
code. 26/4/2007</P>
|
|
||||||
<P>v1.2 - Supports Data Matrix (by absorption of IEC16022 code by
|
|
||||||
Stefan Schmidt et al). Added reverse colours, FIM, MSI/Plessey Modulo
|
|
||||||
11 and Modulo 11/10. Corrected Code 16k check digit calculation.
|
|
||||||
28/5/2007</P>
|
|
||||||
<P>v1.3 - Supports USPS OneCode and LOGMARS. Brought all usage
|
|
||||||
information into one User Manual document. 13/6/2007</P>
|
|
||||||
<P>v1.4 - Added NVE-18 support. Corrected some problems with
|
|
||||||
compilation and input verification. Command line option handling now
|
|
||||||
uses getopt(), and all the switches have changed. Added --font
|
|
||||||
option. 20/6/2007</P>
|
|
||||||
<P>v1.5 - Pulled everything together to make an API. Corrected errors
|
|
||||||
with EAN-13, PDF417 and LOGMARS. Added EPS output. Added QR Code
|
|
||||||
support using libqrencode. Corrected ISBN verification error.
|
|
||||||
Re-compiled documentation in HTML form. Put in place proper error
|
|
||||||
handling routines. --font option removed. Encoding is now done with a
|
|
||||||
restructured zint_symbol structure. Added make install option and
|
|
||||||
optional QR Code support to Makefile. Corrected minor problem with
|
|
||||||
4-State Codes. Restructured code into fewer source code files. Added
|
|
||||||
MicroPDF417 support. 12/8/2007</P>
|
|
||||||
<P>v1.5.1 - Added formatting code to EPS output of EAN and UPC
|
|
||||||
symbols according to EN 797:1996. Checked against and, where
|
|
||||||
appropriate, altered or corrected to comply with ISO 16388 and ISO
|
|
||||||
15417 including Latin-1 support. Altered default image settings,
|
|
||||||
added automatic ITF border. Corrected error with USPS OneCode. Tidied
|
|
||||||
up Code 39 quite a bit, added Mod 43 options. 3/9/2007</P>
|
|
||||||
<P>v1.5.2 - Added extended ASCII support to Code 16k. Corrected Code
|
|
||||||
128 error. Added Maxicode support by integrating code by John Lien.
|
|
||||||
26/9/2007</P>
|
|
||||||
<P>v1.5.3 - Made huge corrections to Maxicode support by removing and
|
|
||||||
re-writing much of John's code. Maxicode now supports extended ASCII
|
|
||||||
and modes 4, 5 and 6. 10/10/2007</P>
|
|
||||||
<P>v1.5.4 - Added GS1 DataBar (Reduced Space Symbology) support.
|
|
||||||
26/11/2007</P>
|
|
||||||
<P>v1.5.5 - Added composite symbology support. Corrected errors with
|
|
||||||
GS1-128 and PDF417/MicroPDF417 byte processing. Transferred licence
|
|
||||||
to GPL version 3. 9/3/2008</P>
|
|
||||||
<P>v1.6 – Data Matrix, Maxicode and Australia Post now use common
|
|
||||||
Reed-Solomon functions – this also fixes a bug in Maxicode error
|
|
||||||
correction and replaces the last of the Lien code. Added PNG output
|
|
||||||
for Maxicode symbols. Removed some useless code. Updated QR support
|
|
||||||
for <I>libqrencode</I> v2.0.0. 22/4/2008</P>
|
|
||||||
<P>v1.6.1 – Major restructuring of PNG generating code: Now draws
|
|
||||||
UPCA and EAN symbols properly and puts human readable text into the
|
|
||||||
image. Also corrected some nasty 'never ending loop' bugs in Code 128
|
|
||||||
and check digit bugs in PostNet and Planet. 8/7/2008</P>
|
|
||||||
<P>v1.6.2 – Added KIX Code support and PNG image rotation.
|
|
||||||
Corrected a bug affecting extended ASCII support in Code 128 and Code
|
|
||||||
16k. 28/7/2008.</P>
|
|
||||||
<P>v2.0 beta - Added support for Aztec Code, Codablock-F, Code 32,
|
|
||||||
EAN-14 and DAFT Code. Re-arranged symbology numbers to match Tbarcode
|
|
||||||
v8. Corrected a never ending loop bug in EAN-128. 29/9/2008</P>
|
|
||||||
<P>v2.0 beta r2 – Many corrections and bugfixes. (Code 11, Code
|
|
||||||
128, EAN-128, Aztec Code, Codablock-F, Code 16k, Postnet, PLANET,
|
|
||||||
NVE-18, PZN, Data Matrix, Maxicode and QR Code)</P>
|
|
||||||
<P>v2.0 - Made corrections to Aztec Code and tested output with
|
|
||||||
bcTester. Added Aztec Runes, Micro QR Code and Data Matrix ECC
|
|
||||||
000-140. Updated e-mail information. 18/11/2008</P>
|
|
||||||
<P>v2.1 – Reinstated Korea Post barcodes, harmonised bind and box
|
|
||||||
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 support for
|
|
||||||
Code 16k, Codablock-F and Aztec Code. Added scale and direct to
|
|
||||||
<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>v2.1.2 - Added SVG output option. Improved Japanese character support
|
|
||||||
including Unicode > Shift-JIS capability. Bugfixes for Data Matrix
|
|
||||||
(missing characters at end of string) and Codablock-F (K1/K2 check digit
|
|
||||||
and row indicators above row 6). 1/3/2009</P>
|
|
||||||
<P>v2.1.3 - Added Japanese Postal Code</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>
|
|
||||||
<P><A HREF="http://www.spatula.net/proc/barcode/index.src">Nick
|
|
||||||
Johnson's Barcode Specifications</A></P>
|
|
||||||
<P><A HREF="http://www.barcode-1.net/pub/russadam/spec.html">Bar Code
|
|
||||||
1 Specification Source Page</A></P>
|
|
||||||
<P><A HREF="http://www.telepen-barcode.co.uk/">SB Electronic Systems
|
|
||||||
Telepen website</A></P>
|
|
||||||
<P>Pharmacode specifications from <A HREF="http://www.laetus.com/">Laetus</A></P>
|
|
||||||
<P><A HREF="http://www.morovia.com/education/symbology/royalmail.asp">Morovia
|
|
||||||
RM4SCC specification</A></P>
|
|
||||||
<P><A HREF="http://www.auspost.com.au/">Austalia Post's</A> 'A Guide
|
|
||||||
to Printing the 4-State Barcode' and bcsample source code</P>
|
|
||||||
<P>Plessey algorithm from <A HREF="http://ar.linux.it/pub/barcode">GNU-Barcode
|
|
||||||
v0.98</A> by Leonid A. Broukhis</P>
|
|
||||||
<P><A HREF="http://www.gs1uk.org/downloads/standards/GS1%20General%20%20Specifications.pdf">GS1
|
|
||||||
General Specifications v 8.0 Issue 2</A></P>
|
|
||||||
<P><A HREF="http://www.linpng.org/pub/png/book/">PNG: The Definitive
|
|
||||||
Guide</A> and wpng source code by Greg Reolofs</P>
|
|
||||||
<P>PDF417 specification and pdf417 source code by <A HREF="http://grandzebu.net/index.php">Grand
|
|
||||||
Zebu</A></P>
|
|
||||||
<P>Barcode Reference, TBarCode/X User Documentation and TBarCode/X
|
|
||||||
demonstration program from <A HREF="http://www.tec-it.com/">Tec-It</A></P>
|
|
||||||
<P><A HREF="http://www.datenfreihafen.org/projects/iec16022.html">IEC16022
|
|
||||||
source code by Stefan Schmidt et al</A></P>
|
|
||||||
<P><A HREF="http://ribbs.usps.gov/onecodesolution/">United States
|
|
||||||
Postal Service Specification USPS-B-3200</A></P>
|
|
||||||
<P>Adobe Systems Incorporated Encapsulated PostScript File Format
|
|
||||||
Specification</P>
|
|
||||||
<P><A HREF="http://www.bsi-global.com/">BSI Online</A> Library</P>
|
|
||||||
<P><A HREF="http://sourceforge.net/projects/libdmtx">Libdmtx</A> Data Matrix
|
|
||||||
decoding library</P>
|
|
||||||
<P><A NAME="STANDARD"></A><FONT SIZE=5><B>6.5 Standard Compliance</B></FONT></P>
|
|
||||||
<P>Zint was developed to provide compliance with the following
|
|
||||||
British and international standards:
|
|
||||||
</P>
|
|
||||||
<P>BS EN 797:1996 Bar coding – Symbology specifications - 'EAN/UPC'</P>
|
|
||||||
<P>BS EN 798:1996 Bar coding – Symbology specifications - “Codabar”</P>
|
|
||||||
<P>BS ISO/IEC 12323:2005 AIDC technologies – Symbology
|
|
||||||
specifications – Code 16K</P>
|
|
||||||
<P>BS ISO/IEC 15417:2007 Information technology – Automatic
|
|
||||||
identification and data capture techniques – Code 128 bar code
|
|
||||||
symbology specification</P>
|
|
||||||
<P>BS ISO/IEC 15438:2006 Information technology – Automatic
|
|
||||||
identification and data capture techniques – PDF417 bar code
|
|
||||||
symbology specification</P>
|
|
||||||
<P>BS ISO/IEC 16022:2006 Information technology – Automatic
|
|
||||||
identification and data capture techniques – Data Matrix bar code
|
|
||||||
symbology specification</P>
|
|
||||||
<P>BS ISO/IEC 16023:2000 Information technology – International
|
|
||||||
symbology specification - Maxicode</P>
|
|
||||||
<P>BS ISO/IEC 16388:2007 Information technology – Automatic
|
|
||||||
identification and data capture techniques – Code 39 bar code
|
|
||||||
symbology specification</P>
|
|
||||||
<P>BS ISO/IEC 18004:2006 Information technology – Automatic
|
|
||||||
identification and data capture techniques – QR Code 2005 bar code
|
|
||||||
symbology specification</P>
|
|
||||||
<P>BS ISO/IEC 24723:2006 Information technology – Automatic
|
|
||||||
identification and data capture techniques – EAN.UCC Composite bar
|
|
||||||
code symbology specification</P>
|
|
||||||
<P>BS ISO/IEC 24724:2006 Information technology – Automatic
|
|
||||||
identification and data capture techniques – Reduced Space
|
|
||||||
Symbology (RSS) bar code symbology specification</P>
|
|
||||||
<P>BS ISO/IEC 24728:2006 Information technology – Automatic
|
|
||||||
identification and data capture techniques – MicroPDF417 bar code
|
|
||||||
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 (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>
|
|
||||||
<HR>
|
|
||||||
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33% HEIGHT=5>
|
|
||||||
<P ALIGN=LEFT><A HREF="markings.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="appxa.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=LEFT>Other Markings</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=34%>
|
|
||||||
<P ALIGN=CENTER> </P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=RIGHT>Appendix A</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
</BODY>
|
|
||||||
</HTML>
|
|
@ -1,142 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
||||||
<HTML>
|
|
||||||
<HEAD>
|
|
||||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
|
||||||
<TITLE>Other Markings</TITLE>
|
|
||||||
<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.4 (Unix)">
|
|
||||||
<META NAME="CREATED" CONTENT="20070730;21081900">
|
|
||||||
<META NAME="CHANGED" CONTENT="20080919;22062300">
|
|
||||||
<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="twodims.html">Prev</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=80%></TD>
|
|
||||||
<TD WIDTH=10%>
|
|
||||||
<P ALIGN=RIGHT><A HREF="legal.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<HR>
|
|
||||||
<H1>5.7 Other Barcode-Like Markings</H1>
|
|
||||||
<P><A NAME="FIM"></A><FONT SIZE=5><B>5.7.1. Facing Identification
|
|
||||||
Mark (FIM)</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>Used by the United States Postal Service (USPS), the
|
|
||||||
FIM symbology is used to assist automated mail processing. There are
|
|
||||||
only 4 valid symbols which can be generated using the characters A-D
|
|
||||||
as shown in the table below.</P>
|
|
||||||
<CENTER>
|
|
||||||
<TABLE WIDTH=776 BORDER=1 CELLPADDING=4 CELLSPACING=3>
|
|
||||||
<COL WIDTH=124>
|
|
||||||
<COL WIDTH=625>
|
|
||||||
<THEAD>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TH WIDTH=124>
|
|
||||||
<P>Code Letter</P>
|
|
||||||
</TH>
|
|
||||||
<TH WIDTH=625>
|
|
||||||
<P>Usage</P>
|
|
||||||
</TH>
|
|
||||||
</TR>
|
|
||||||
</THEAD>
|
|
||||||
<TBODY>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=124>
|
|
||||||
<P ALIGN=CENTER>A</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=625>
|
|
||||||
<P ALIGN=CENTER>Used for courtesy reply mail and metered reply
|
|
||||||
mail with a pre-printed PostNet symbol.</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=124>
|
|
||||||
<P ALIGN=CENTER>B</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=625>
|
|
||||||
<P ALIGN=CENTER>Used for business reply mail without a
|
|
||||||
pre-printed zip code.</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=124>
|
|
||||||
<P ALIGN=CENTER>C</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=625>
|
|
||||||
<P ALIGN=CENTER>Used for business reply mail with a pre-printed
|
|
||||||
zip code.</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=124>
|
|
||||||
<P ALIGN=CENTER>D</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=625>
|
|
||||||
<P ALIGN=CENTER>Used for Information Based Indicia (IBI)
|
|
||||||
postage.</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TBODY>
|
|
||||||
</TABLE>
|
|
||||||
</CENTER>
|
|
||||||
<P ALIGN=CENTER><BR><BR>
|
|
||||||
</P>
|
|
||||||
<P ALIGN=LEFT><A NAME="FLAT"></A><FONT SIZE=5><B>5.7.2 Flattermarken</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>Used for the recognition of page sequences in
|
|
||||||
print-shops, the Flattermarken is not a true barcode symbol and
|
|
||||||
requires precise knowledge of the position of the mark on the page.
|
|
||||||
The Flattermarken system can encode any length numeric data and does
|
|
||||||
not include a check digit.</P>
|
|
||||||
<P ALIGN=LEFT><A NAME="DAFT"></A><BR><FONT SIZE=5><B>5.7.3 DAFT Code</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>This is a method for creating 4-state codes where the
|
|
||||||
data encoding is provided by an external program. Input data should
|
|
||||||
consist of the letters 'D', 'A', 'F' and 'T' where these refer to
|
|
||||||
descender, ascender, full (ascender and descender) and tracker
|
|
||||||
(neither ascender nor descender) respectively. All other characters
|
|
||||||
are ignored.</P>
|
|
||||||
<HR>
|
|
||||||
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33% HEIGHT=5>
|
|
||||||
<P ALIGN=LEFT><A HREF="twodims.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="legal.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=LEFT>4-State Codes</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=34%>
|
|
||||||
<P ALIGN=CENTER> </P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=RIGHT>Legal</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<P><BR><BR>
|
|
||||||
</P>
|
|
||||||
</BODY>
|
|
||||||
</HTML>
|
|
BIN
docs/matrix.png
Before Width: | Height: | Size: 312 B |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 625 B |
BIN
docs/microqr.png
Before Width: | Height: | Size: 214 B |
BIN
docs/msi.png
Before Width: | Height: | Size: 522 B |
BIN
docs/onecode.png
Before Width: | Height: | Size: 205 B |
404
docs/onedim.html
@ -1,404 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
||||||
<HTML>
|
|
||||||
<HEAD>
|
|
||||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
|
||||||
<TITLE>One-Dimensional Symbols</TITLE>
|
|
||||||
</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="symbologies.html">Prev</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=80%></TD>
|
|
||||||
<TD WIDTH=10%>
|
|
||||||
<P ALIGN=RIGHT><A HREF="stacked.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<HR>
|
|
||||||
<H1>5.1 One-Dimensional Symbols</H1>
|
|
||||||
<P>One-Dimensional Symbols are what most people associate with the
|
|
||||||
term <I>barcode</I>. They consist of a number of bars and a number of
|
|
||||||
spaces of differing widths.</P>
|
|
||||||
<P><A NAME="CODE11"></A><FONT SIZE=5><B>5.1.1 Code 11</B></FONT></P>
|
|
||||||
<P>Developed by Intermec in 1977, Code 11 is similar to Code 2 of 5
|
|
||||||
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=190 HEIGHT=118 BORDER=0><BR CLEAR=LEFT>
|
|
||||||
</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
|
|
||||||
supported by Zint.</P>
|
|
||||||
<P><A NAME="CODE25STAND"></A><FONT SIZE=4><B>5.1.2.1 Standard Code 2
|
|
||||||
of 5</B></FONT></P>
|
|
||||||
<P>Also known as Code 2 of 5 Matrix is a self-checking code used in
|
|
||||||
industrial applications and photo development. Standard Code 2 of 5
|
|
||||||
will encode any length numeric input (digits 0-9).</P>
|
|
||||||
<P><A NAME="IATA"></A><FONT SIZE=4><B>5.1.2.2 IATA Code 2 of 5</B></FONT></P>
|
|
||||||
<P>Used for baggage handling in the air-transport industry by the
|
|
||||||
International Air Transport Agency, this self-checking code will
|
|
||||||
encode any length numeric input (digits 0-9) and does not include a
|
|
||||||
check digit.</P>
|
|
||||||
<P><A NAME="IND25"></A><FONT SIZE=4><B>5.1.2.3 Industrial Code 2 of 5</B></FONT></P>
|
|
||||||
<P>Industrial Code 2 of 5 can encode any length numeric input (digits
|
|
||||||
0-9) and does not include a check digit.</P>
|
|
||||||
<P><A NAME="INTER25"></A><FONT SIZE=4><B>5.1.2.4 Interleaved Code 2
|
|
||||||
of 5</B></FONT></P>
|
|
||||||
<P>This self-checking symbology encodes pairs of numbers, and so can
|
|
||||||
only encode an even number of digits (0-9). If an odd number of
|
|
||||||
digits is entered a leading zero is added by Zint. No check digit is
|
|
||||||
added.</P>
|
|
||||||
<P><A NAME="DLOGIC"></A><FONT SIZE=4><B>5.1.2.5 Code 2 of 5 Data
|
|
||||||
Logic</B></FONT></P>
|
|
||||||
<P>Data Logic is a proprietary variation of Standard Code 2 of 5.
|
|
||||||
Data Logic does not include a check digit and can encode any length
|
|
||||||
numeric input (digits 0-9).</P>
|
|
||||||
<P><A NAME="ITF14"></A><FONT SIZE=4><B>5.1.2.6 ITF-14</B></FONT></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 Deutsche Post
|
|
||||||
Leitcode</B></FONT></P>
|
|
||||||
<P>Leitcode is based on Interleaved Code 2 of 5 and is used by
|
|
||||||
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 Deutsche Post
|
|
||||||
Identcode</B></FONT></P>
|
|
||||||
<P>Identcode is based on Interleaved Code 2 of 5 and is used by
|
|
||||||
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=382 HEIGHT=150 BORDER=0><BR CLEAR=LEFT>
|
|
||||||
</P>
|
|
||||||
<P><A NAME="UPC"></A><FONT SIZE=5><B>5.1.3 Universal Product Code (EN
|
|
||||||
797)</B></FONT></P>
|
|
||||||
<P><A NAME="UPCA"></A><FONT SIZE=4><B>5.1.3.1 UPC Version A</B></FONT></P>
|
|
||||||
<P>UPC-A is used in the United States for retail applications. The
|
|
||||||
symbol requires an 11 digit article number. The check digit is
|
|
||||||
calculated by Zint. In addition EAN-2 and EAN-5 add-on symbols can be
|
|
||||||
added using the + character. For example, to draw a UPC-A symbol with
|
|
||||||
the data 72527270270 with an EAN-5 add-on showing the data 12345 use
|
|
||||||
the command:</P>
|
|
||||||
<P><FONT FACE="Courier, monospace"><FONT SIZE=2>zint --barcode=34 -d
|
|
||||||
72527270270+12345</FONT></FONT></P>
|
|
||||||
<P>or encode a data string with the + character included:
|
|
||||||
</P>
|
|
||||||
<P><FONT FACE="Courier, monospace"><FONT SIZE=2>my_symbol->symbology
|
|
||||||
= BARCODE_UPCA;<BR>error = ZBarcode_Encode_and_Print(my_symbol,
|
|
||||||
"72527270270+12345");</FONT></FONT></P>
|
|
||||||
<P><A NAME="UPCE"></A><FONT SIZE=4><B>5.1.3.2 UPC Version E</B></FONT></P>
|
|
||||||
<P>UPC-E is a zero-compressed version of UPC-A developed for smaller
|
|
||||||
packages. The code requires a 6 digit article number (digits 0-9).
|
|
||||||
The check digit is calculated by Zint. EAN-2 and EAN-5 add-on symbols
|
|
||||||
can be added using the + character as with UPC-A. In addition Zint
|
|
||||||
also supports Number System 1 encoding by entering a 7-digit article
|
|
||||||
number stating with the digit 1. For example:</P>
|
|
||||||
<P><FONT FACE="Courier, monospace"><FONT SIZE=2>zint --barcode=37 -d
|
|
||||||
1123456</FONT></FONT></P>
|
|
||||||
<P>or</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=288 HEIGHT=118 BORDER=0><BR CLEAR=LEFT>
|
|
||||||
</P>
|
|
||||||
<P><A NAME="EAN"></A><FONT SIZE=5><B>5.1.4 European Article Number
|
|
||||||
(EN 797)</B></FONT></P>
|
|
||||||
<P><A NAME="EANX"></A><FONT SIZE=4><B>5.1.5.1 EAN-2, EAN-5, EAN-8 and
|
|
||||||
EAN-13</B></FONT></P>
|
|
||||||
<P>The EAN system is used in retail across Europe and includes
|
|
||||||
standards for EAN-2 and EAN-5 add-on codes, EAN-8 and EAN-13 which
|
|
||||||
encode 2, 5, 7 or 12 digit numbers respectively. Zint will decide
|
|
||||||
which symbology to use depending on the length of the input data. In
|
|
||||||
addition EAN-2 and EAN-5 add-on symbols can be added using the +
|
|
||||||
symbol as with UPC symbols. For example</P>
|
|
||||||
<P><FONT FACE="Courier, monospace"><FONT SIZE=2>zint --barcode=13 -d
|
|
||||||
54321</FONT></FONT></P>
|
|
||||||
<P>will encode a stand-alone EAN-5, whereas</P>
|
|
||||||
<P><FONT FACE="Courier, monospace"><FONT SIZE=2>zint --barcode=13 -d
|
|
||||||
7432365+54321</FONT></FONT></P>
|
|
||||||
<P>will encode an EAN-8 symbol with an EAN-5 add-on. As before these
|
|
||||||
results can be achieved using the API:</P>
|
|
||||||
<P><FONT FACE="Courier, monospace"><FONT SIZE=2>my_symbol->symbology
|
|
||||||
= BARCODE_EANX<BR>error = ZBarcode_Encode_and_Print(my_symbol,
|
|
||||||
"54321");<BR>error = ZBarcode_Encode_and_Print(my_symbol,
|
|
||||||
"7432365+54321");</FONT></FONT></P>
|
|
||||||
<P>All of the EAN symbols include check data which is added by Zint.</P>
|
|
||||||
<P><A NAME="ISBN"></A><FONT SIZE=4><B>5.1.4.2 SBN, ISBN and ISBN-13</B></FONT></P>
|
|
||||||
<P>EAN-13 symbols (also known as Bookland EAN-13) can also be
|
|
||||||
produced from 9-digit SBN, 10-digit ISBN or 13-digit ISBN-13 data.
|
|
||||||
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=288 HEIGHT=118 BORDER=0><BR CLEAR=LEFT>
|
|
||||||
</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=390 HEIGHT=118 BORDER=0><BR CLEAR=LEFT>
|
|
||||||
</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
|
|
||||||
Plessey is available with a range of check digit options available by
|
|
||||||
setting <FONT FACE="Courier, monospace">option_2</FONT> or by using
|
|
||||||
the –<FONT FACE="Courier, monospace">ver=</FONT> switch. Any length
|
|
||||||
numeric (digits 0-9) input can be encoded. The table below shows the
|
|
||||||
options available:</P>
|
|
||||||
<CENTER>
|
|
||||||
<TABLE WIDTH=60% BORDER=1 CELLPADDING=4 CELLSPACING=3>
|
|
||||||
<THEAD>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TH>
|
|
||||||
<P>Value of <FONT FACE="Courier, monospace">option_2</FONT></P>
|
|
||||||
</TH>
|
|
||||||
<TH>
|
|
||||||
<P>Check Digits</P>
|
|
||||||
</TH>
|
|
||||||
</TR>
|
|
||||||
</THEAD>
|
|
||||||
<TBODY>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>0</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>None</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>1</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Modulo-10</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>2</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Modulo-10 & Modulo-10</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>3</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Modulo-11</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>4</P>
|
|
||||||
</TD>
|
|
||||||
<TD>
|
|
||||||
<P ALIGN=CENTER>Modulo-11 & Modulo-10</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TBODY>
|
|
||||||
</TABLE>
|
|
||||||
</CENTER>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="msi.png" NAME="graphics6" ALIGN=LEFT WIDTH=230 HEIGHT=118 BORDER=0><BR CLEAR=LEFT>
|
|
||||||
</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>
|
|
||||||
<P>Telepen Alpha was developed by SB Electronic Systems Limited and
|
|
||||||
can encode any length of ASCII text input. Telepen includes a
|
|
||||||
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 numeric data into a Telepen
|
|
||||||
symbol. Data can consist of pairs of numbers or pairs consisting of a
|
|
||||||
numerical digit followed an X character. For example: 466333 and
|
|
||||||
466X33 are valid codes whereas 46X333 is not (the digit pair “X3”
|
|
||||||
is not valid). Includes a modulo-127 check digit.</P>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="telepen.png" NAME="graphics7" ALIGN=LEFT WIDTH=320 HEIGHT=118 BORDER=0><BR CLEAR=LEFT>
|
|
||||||
</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
|
|
||||||
(ISO 16388)</B></FONT></P>
|
|
||||||
<P>Standard Code 39 was developed in 1974 by Intermec. Input data can
|
|
||||||
be of any length and supports the characters 0-9, A-Z, dash (-), full
|
|
||||||
stop (.), space, asterisk (*), dollar ($), slash (/), plus (+) and
|
|
||||||
percent (%). The original standard (symbology 8) does not require a
|
|
||||||
check digit but a modulo-43 check digit can be added if required by
|
|
||||||
setting <FONT FACE="Courier, monospace">option_2 = 1</FONT> or using
|
|
||||||
<FONT FACE="Courier, monospace">--ver=1.</FONT></P>
|
|
||||||
<P><A NAME="EXCODE39"></A><FONT SIZE=4><B>5.1.8.2 Extended Code 39</B></FONT></P>
|
|
||||||
<P>Also known as Code 39e and Code39+, this symbology expands on
|
|
||||||
Standard Code 39 to provide support to the full ASCII character set.
|
|
||||||
The original standard (symbology 9) does not require a check digit
|
|
||||||
but a modulo-43 check digit can be added if required by setting
|
|
||||||
<FONT FACE="Courier, monospace">option_2 = 1</FONT> or using <FONT FACE="Courier, monospace">--ver=1.</FONT></P>
|
|
||||||
<P><A NAME="CODE93"></A><FONT SIZE=4><B>5.1.8.3 Code 93</B></FONT></P>
|
|
||||||
<P>A variation of Extended Code 39, Code 93 also supports full ASCII
|
|
||||||
text. Two check digits are added.</P>
|
|
||||||
<P><A NAME="PZN"></A><FONT SIZE=4><B>5.1.8.4 PZN</B></FONT></P>
|
|
||||||
<P>PZN is a Code 39 based symbology used by the pharmaceutical
|
|
||||||
industry in Germany. PZN encodes a 6 digit number and includes a
|
|
||||||
modulo-10 check digit.</P>
|
|
||||||
<P><A NAME="LOGMARS"></A><FONT SIZE=4><B>5.1.8.5 LOGMARS</B></FONT></P>
|
|
||||||
<P>LOGMARS (Logistics Applications of Automated Marking and Reading
|
|
||||||
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><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><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>
|
|
||||||
<P>Also known as NW-7, Monarch, ABC Codabar, USD-4, Ames Code and
|
|
||||||
Code 27, this symbology was developed in 1972 by Monarch Marketing
|
|
||||||
Systems for retail purposes. The American Blood Commission adopted
|
|
||||||
Codabar in 1977 as the standard symbology for blood identification.
|
|
||||||
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=164 HEIGHT=118 BORDER=0><BR CLEAR=LEFT>
|
|
||||||
</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
|
|
||||||
identification of pharmaceuticals. The symbology is able to encode
|
|
||||||
whole numbers between 3 and 131070.</P>
|
|
||||||
<P ALIGN=LEFT><IMG SRC="pharma.png" NAME="graphics10" ALIGN=LEFT WIDTH=116 HEIGHT=100 BORDER=0><BR CLEAR=LEFT>
|
|
||||||
</P>
|
|
||||||
<P><A NAME="CODE128"></A><FONT SIZE=5><B>5.1.11 Code 128</B></FONT></P>
|
|
||||||
<P><A NAME="CODE128STAND"></A><FONT SIZE=4><B>5.1.11.1 Standard Code
|
|
||||||
128 (ISO 15417)</B></FONT></P>
|
|
||||||
<P>One of the most widely used one-dimensional barcode symbologies,
|
|
||||||
Code 128 was developed in 1981 by Computer Identics. This symbology
|
|
||||||
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 [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
|
|
||||||
mode C which compresses numerical data. The <FONT FACE="Courier, monospace">BARCODE_CODE128B</FONT>
|
|
||||||
option suppresses mode C in favour of mode B.</P>
|
|
||||||
<P><A NAME="EAN128"></A><FONT SIZE=4><B>5.1.11.3 GS1-128</B></FONT></P>
|
|
||||||
<P>A variation of Code 128 also known as UCC/EAN-128, this symbology
|
|
||||||
is defined by the <A HREF="appxc.html">GS1 General Specification.</A>
|
|
||||||
Application Identifiers (AIs) should be entered using [square
|
|
||||||
brackets] notation. These will be converted to (round brackets) for
|
|
||||||
the human readable text. This will allow (round brackets) to be used
|
|
||||||
in the data strings to be encoded. Fixed length data should be
|
|
||||||
entered at the appropriate length for correct encoding - this is not
|
|
||||||
checked by Zint and incorrect length data will result in a symbol
|
|
||||||
which does not read correctly (see <A HREF="appxc.html">Appendix C</A>).
|
|
||||||
GS1-128 does not support extended ASCII characters. Check digits for
|
|
||||||
GTIN data (AI 01) are not generated and need to be included in input
|
|
||||||
data. The following is an example of a valid GS1-128 input:</P>
|
|
||||||
<P ALIGN=LEFT STYLE="font-weight: medium"><FONT FACE="Courier, monospace"><FONT SIZE=2>zint
|
|
||||||
--barcode=16 -d "[01]98898765432106[3202]012345[15]991231"</FONT></FONT></P>
|
|
||||||
<P><A NAME="EAN14"></A><FONT SIZE=4><B>5.1.11.4 EAN-14</B></FONT></P>
|
|
||||||
<P STYLE="font-weight: medium"><FONT SIZE=3>A shorter version of
|
|
||||||
GS1-128 which encodes GTIN data only. A 13 digit number is required.
|
|
||||||
GTIN check digit and AI (01) are added by Zint.</FONT></P>
|
|
||||||
<P><A NAME="NVE18"></A><FONT SIZE=4><B>5.1.11.5 NVE-18</B></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
|
|
||||||
DataBar (ISO 24724)</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>Also known as RSS (Reduced Spaced Symbology) these
|
|
||||||
symbols are due to replace GS1-128 symbols starting in 2010 in
|
|
||||||
accordance with the <A HREF="http://www.gs1uk.org/EANUCC/WORD_Files/word.html">GS1
|
|
||||||
General Specification.</A> If a GS1 DataBar symbol is to be printed
|
|
||||||
with a 2D component as specified in ISO 24723 set <FONT FACE="Courier, monospace">option_1
|
|
||||||
= 2</FONT> or use the option <FONT FACE="Courier, monospace">--mode=2</FONT>
|
|
||||||
at the command prompt. See the section <A HREF="composite.html">Composite
|
|
||||||
Symbols</A> to generate DataBar symbols with 2D components.</P>
|
|
||||||
<P ALIGN=LEFT><A NAME="RSS14"></A><FONT SIZE=4><B>5.1.12.1 DataBar-14
|
|
||||||
and DataBar-14 Truncated</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT STYLE="font-weight: medium"><FONT SIZE=3>Also known as
|
|
||||||
RSS-14 the DataBar-14 encodes a 13 digit item code. A check digit and
|
|
||||||
application identifier of (01) are added by Zint. Note that for full
|
|
||||||
standard compliance symbol height should be greater than or equal to
|
|
||||||
33 modules. For DataBar-14 Truncated set the symbol height to a
|
|
||||||
minimum of 13.</FONT></P>
|
|
||||||
<P ALIGN=LEFT><A NAME="RSSLTD"></A><FONT SIZE=4><B>5.1.12.2 DataBar
|
|
||||||
Limited</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT STYLE="font-weight: medium"><FONT SIZE=3>Also known as
|
|
||||||
RSS Limited the DataBar Limited symbol also encodes 13 digit item
|
|
||||||
codes and can be used in the same way as DataBar-14 above. DataBar
|
|
||||||
Limited, however, is limited to data starting with digits 0 and 1
|
|
||||||
(i.e. numbers in the range 0 to 1999999999999). As with DataBar-14 a
|
|
||||||
check digit and application identifier of (01) are added by Zint.</FONT></P>
|
|
||||||
<P ALIGN=LEFT><A NAME="RSSEXP"></A><FONT SIZE=4><B>5.1.12.3 DataBar
|
|
||||||
Expanded</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT><FONT SIZE=3><SPAN STYLE="font-weight: medium">Also
|
|
||||||
known as RSS Expanded this is a variable length symbology capable of
|
|
||||||
encoding data from a number of AIs in a single symbol. AIs should be
|
|
||||||
encased in [square brackets] in the input data. This will be
|
|
||||||
converted to (rounded brackets) before it is included in the human
|
|
||||||
readable text attached to the symbol. This method allows the
|
|
||||||
inclusion of rounded brackets in the data to be encoded. GTIN data
|
|
||||||
(AI 01) should also include the check digit data as this is not
|
|
||||||
calculated by Zint when this symbology is encoded. </SPAN></FONT><SPAN STYLE="font-weight: medium">Fixed
|
|
||||||
length data should be entered at the appropriate length for correct
|
|
||||||
encoding - this is not checked by Zint and incorrect length data will
|
|
||||||
result in a symbol which does not read correctly (see <A HREF="appxc.html">Appendix
|
|
||||||
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=LEFT><IMG SRC="databar.png" NAME="graphics12" ALIGN=LEFT WIDTH=302 HEIGHT=118 BORDER=0><BR CLEAR=LEFT>
|
|
||||||
</P>
|
|
||||||
<P ALIGN=LEFT><A NAME="KOREA"></A><FONT SIZE=5><B>5.1.13 Korea Post
|
|
||||||
Barcode</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>The Korean Postal Barcode is used to encode a six-digit
|
|
||||||
number and includes one check digit.</P>
|
|
||||||
<P><IMG SRC="korea.png" NAME="korea post" ALIGN=LEFT WIDTH=334 HEIGHT=118 BORDER=0><BR CLEAR=LEFT>
|
|
||||||
</P>
|
|
||||||
<HR>
|
|
||||||
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33% HEIGHT=5>
|
|
||||||
<P ALIGN=LEFT><A HREF="symbologies.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="stacked.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=LEFT>Types of Symbol</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=34%>
|
|
||||||
<P ALIGN=CENTER> </P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=RIGHT>Stacked Symbols</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
</BODY>
|
|
||||||
</HTML>
|
|
BIN
docs/pdf417.png
Before Width: | Height: | Size: 566 B |
BIN
docs/pharma.png
Before Width: | Height: | Size: 233 B |
BIN
docs/pharma2.png
Before Width: | Height: | Size: 193 B |
BIN
docs/pink.png
Before Width: | Height: | Size: 495 B |
BIN
docs/planet.png
Before Width: | Height: | Size: 206 B |
BIN
docs/plessey.png
Before Width: | Height: | Size: 595 B |
BIN
docs/postnet.png
Before Width: | Height: | Size: 195 B |
BIN
docs/qr.png
Before Width: | Height: | Size: 366 B |
BIN
docs/rm4scc.png
Before Width: | Height: | Size: 197 B |
Before Width: | Height: | Size: 54 KiB |
@ -1,172 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
||||||
<HTML>
|
|
||||||
<HEAD>
|
|
||||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
|
||||||
<TITLE>Stacked Symbols</TITLE>
|
|
||||||
</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="onedim.html">Prev</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=80%></TD>
|
|
||||||
<TD WIDTH=10%>
|
|
||||||
<P ALIGN=RIGHT><A HREF="composite.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<HR>
|
|
||||||
<H1 ALIGN=LEFT>5.2 Stacked Symbologies</H1>
|
|
||||||
<P ALIGN=LEFT><A NAME="BASIC"></A><FONT SIZE=5><B>5.2.1 Basic Symbol
|
|
||||||
Stacking</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>An early innovation to get more information into a
|
|
||||||
symbol, used primarily in the vehicle industry, is to simply stack
|
|
||||||
one-dimensional codes on top of each other. This can be achieved at
|
|
||||||
the command prompt by giving more than one set of input data. For
|
|
||||||
example</P>
|
|
||||||
<P ALIGN=LEFT><FONT FACE="Courier, monospace"><FONT SIZE=2>zint -d
|
|
||||||
'This' -d 'That'</FONT></FONT></P>
|
|
||||||
<P ALIGN=LEFT>will draw two Code 128 symbols, one on top of the
|
|
||||||
other. The same result can be achieved using the API by executing the
|
|
||||||
<FONT FACE="Courier, monospace">ZBarcode_Encode() </FONT>function
|
|
||||||
more than once on a symbol. For example:</P>
|
|
||||||
<P ALIGN=LEFT><FONT FACE="Courier, monospace"><FONT SIZE=2>my_symbol->symbology
|
|
||||||
= BARCODE_CODE128;<BR>error = ZBarcode_Encode(my_symbol,
|
|
||||||
"This");<BR>error = ZBarcode_Encode(my_symbol,
|
|
||||||
"That");<BR>error = ZBarcode_Print(my_symbol);</FONT></FONT></P>
|
|
||||||
<P ALIGN=LEFT>The example below shows 5 EAN-13 symbols stacked in
|
|
||||||
this way.</P>
|
|
||||||
<P ALIGN=LEFT><IMG SRC="stacked.png" NAME="graphics1" ALIGN=LEFT WIDTH=190 HEIGHT=100 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
|
||||||
</P>
|
|
||||||
<P ALIGN=LEFT><A NAME="CODE16K"></A><FONT SIZE=5><B>5.2.2 Code 16k
|
|
||||||
(EN 12323)</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>A more sophisticated method is to use some type of line
|
|
||||||
indexing which indicates to the barcode reader which order the
|
|
||||||
symbols should be read. This is demonstrated by Code 16k which uses a
|
|
||||||
Code128 based system which can stack up to 16 rows in a block. This
|
|
||||||
gives a maximum data capacity of 77 characters or 154 numerical
|
|
||||||
digits and includes two modulo-107 check digits. Code 16k also
|
|
||||||
supports extended ASCII character encoding in the same manner as Code
|
|
||||||
128.</P>
|
|
||||||
<P ALIGN=LEFT><IMG SRC="code16k.png" NAME="graphics2" ALIGN=LEFT WIDTH=212 HEIGHT=120 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
|
||||||
</P>
|
|
||||||
<P ALIGN=LEFT><A NAME="PDF417"></A><FONT SIZE=5><B>5.2.3 PDF417 (ISO
|
|
||||||
15438)</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>Heavily used in the parcel industry, the PDF417
|
|
||||||
symbology can encode a vast amount of data into a small space. Zint
|
|
||||||
supports encoding up to the ISO standard maximum symbol size of 925
|
|
||||||
codewords which (at error correction level 0) allows a maximum data
|
|
||||||
size of 1850 text characters, or 2710 digits. The width of the
|
|
||||||
generated PDF417 symbol can be specified at the command line using
|
|
||||||
the --cols switch followed by a number between 1 and 30, and the
|
|
||||||
amount of check digit information can be specified by using the
|
|
||||||
--security switch followed by a number between 0 and 8 where the
|
|
||||||
number of codewords used for check information is determined by
|
|
||||||
2<SUP>(value + 1)</SUP>. If using the API these values are assigned
|
|
||||||
to <FONT FACE="Courier, monospace">option_2</FONT> and <FONT FACE="Courier, monospace">option_1</FONT>
|
|
||||||
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>. 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
|
|
||||||
PDF417</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>Also known as truncated PDF417. Options are as for
|
|
||||||
PDF417 above.</P>
|
|
||||||
<P ALIGN=LEFT><IMG SRC="compact417.png" NAME="graphics4" ALIGN=LEFT WIDTH=172 HEIGHT=54 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
|
||||||
</P>
|
|
||||||
<P ALIGN=LEFT><A NAME="MICROPDF"></A><FONT SIZE=5><B>5.2.5
|
|
||||||
MicroPDF417 (ISO 24728)</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>A variation of the PDF417 standard, MicroPDF417 is
|
|
||||||
intended for applications where symbol size needs to be kept to a
|
|
||||||
minimum. 34 pre-defined symbol sizes are available with 1 - 4 columns
|
|
||||||
and 4 - 44 rows. The maximum size MicroPDF417 symbol can hold 250
|
|
||||||
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. 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
|
|
||||||
DataBar-14 Stacked (ISO 24724)</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>A stacked variation of the GS1 DataBar-14 symbol
|
|
||||||
requiring the same input (see section <A HREF="onedim.html#RSS14">5.1.12.1</A>).
|
|
||||||
The height of this symbol is fixed. The data is encoded in two rows
|
|
||||||
of bars with a central finder pattern. This symbol can be generated
|
|
||||||
with a two-dimensional component to make a <A HREF="composite.html">composite
|
|
||||||
symbol</A>.</P>
|
|
||||||
<P ALIGN=LEFT><IMG SRC="dbstack.png" NAME="graphics6" ALIGN=LEFT WIDTH=100 HEIGHT=26 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
|
||||||
</P>
|
|
||||||
<P ALIGN=LEFT><A NAME="RSS14OMNI"></A><FONT SIZE=5><B>5.2.7 GS1
|
|
||||||
DataBar-14 Stacked Omnidirectional (ISO 24724)</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>Another variation of the GS1 DataBar-14 symbol
|
|
||||||
requiring the same input (see section <A HREF="onedim.html#RSS14">5.1.12.1</A>).
|
|
||||||
The data is encoded in two rows of bars with a central finder
|
|
||||||
pattern. This symbol can be generated with a two-dimensional
|
|
||||||
component to make a <A HREF="composite.html">composite symbol</A>.</P>
|
|
||||||
<P ALIGN=LEFT><IMG SRC="dbomni.png" NAME="graphics7" ALIGN=LEFT WIDTH=100 HEIGHT=138 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
|
||||||
</P>
|
|
||||||
<P ALIGN=LEFT><A NAME="RSSEXPSTACK"></A><FONT SIZE=5><B>5.2.8 GS1
|
|
||||||
DataBar Expanded Stacked (ISO 24724)</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>A stacked variation of the GS1 DataBar Expanded symbol
|
|
||||||
for smaller packages. Input is the same as for GS1 DataBar Expanded
|
|
||||||
(see section <A HREF="onedim.html#RSSEXP">5.1.12.3</A>). In addition
|
|
||||||
the width of the symbol can be altered using the <FONT FACE="Courier, monospace">--cols</FONT>
|
|
||||||
switch or <FONT FACE="Courier, monospace">option_2</FONT>. In this
|
|
||||||
case the number of columns relates to the number of character pairs
|
|
||||||
on each row of the symbol. For symbols with a 2D component the number
|
|
||||||
of columns must be at least 2. This symbol can be generated with a
|
|
||||||
two-dimensional component to make a <A HREF="composite.html">composite
|
|
||||||
symbol</A>.</P>
|
|
||||||
<P ALIGN=LEFT><IMG SRC="dbexpand.png" NAME="graphics8" ALIGN=LEFT WIDTH=204 HEIGHT=100 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
|
||||||
</P>
|
|
||||||
<P ALIGN=LEFT><A NAME="CODABLOCK"></A><FONT SIZE=5><B>5.2.9 Codablock-F</B></FONT></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. 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>
|
|
||||||
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33% HEIGHT=5>
|
|
||||||
<P ALIGN=LEFT><A HREF="onedim.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="composite.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=LEFT>One-Dimensional Symbols</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=34%>
|
|
||||||
<P ALIGN=CENTER> </P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=RIGHT>Composite Symbols</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<P><BR><BR>
|
|
||||||
</P>
|
|
||||||
</BODY>
|
|
||||||
</HTML>
|
|
BIN
docs/stacked.png
Before Width: | Height: | Size: 457 B |
@ -1,183 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
||||||
<HTML>
|
|
||||||
<HEAD>
|
|
||||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
|
||||||
<TITLE>Types of Symbol</TITLE>
|
|
||||||
<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.4 (Unix)">
|
|
||||||
<META NAME="CREATED" CONTENT="20070730;21081900">
|
|
||||||
<META NAME="CHANGED" CONTENT="20081019;8532700">
|
|
||||||
<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="backend.html">Prev</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=80%></TD>
|
|
||||||
<TD WIDTH=10%>
|
|
||||||
<P ALIGN=RIGHT><A HREF="onedim.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<HR>
|
|
||||||
<H1>5. Types of Symbol</H1>
|
|
||||||
<P STYLE="font-style: normal">This section is intended to be a brief
|
|
||||||
guide to the barcode symbologies supported by Zint. The symbologies
|
|
||||||
break down easily into groups as shown in the table below. Each group
|
|
||||||
has a page dedicated to it.</P>
|
|
||||||
<P ALIGN=JUSTIFY STYLE="margin-bottom: 0cm"><BR>
|
|
||||||
</P>
|
|
||||||
<CENTER>
|
|
||||||
<TABLE WIDTH=868 BORDER=1 CELLPADDING=4 CELLSPACING=3>
|
|
||||||
<COL WIDTH=265>
|
|
||||||
<COL WIDTH=318>
|
|
||||||
<COL WIDTH=247>
|
|
||||||
<THEAD>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TH WIDTH=265>
|
|
||||||
<P>Symbol Type</P>
|
|
||||||
</TH>
|
|
||||||
<TH WIDTH=318>
|
|
||||||
<P>Example Symbol</P>
|
|
||||||
</TH>
|
|
||||||
<TH WIDTH=247>
|
|
||||||
<P>Example Symbologies</P>
|
|
||||||
</TH>
|
|
||||||
</TR>
|
|
||||||
</THEAD>
|
|
||||||
<TBODY>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=265>
|
|
||||||
<P ALIGN=CENTER><A HREF="onedim.html">One-Dimensional</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=318>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="box.png" NAME="graphics1" ALIGN=BOTTOM WIDTH=238 HEIGHT=138 BORDER=0></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=247>
|
|
||||||
<P ALIGN=CENTER STYLE="font-style: normal; font-weight: medium">Code
|
|
||||||
11, Code 2 of 5, UPC, EAN, Plessey, MSI, Telepen, Code 39,
|
|
||||||
Codabar, Pharmacode</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=265>
|
|
||||||
<P ALIGN=CENTER><A HREF="stacked.html">Stacked Symbols</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=318>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="code16k.png" NAME="graphics2" ALIGN=BOTTOM WIDTH=212 HEIGHT=120 BORDER=0></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=247>
|
|
||||||
<P ALIGN=CENTER STYLE="font-style: normal; font-weight: medium">Code
|
|
||||||
16k, PDF417, Codablock-F</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=265>
|
|
||||||
<P ALIGN=CENTER><A HREF="composite.html">Composite Symbols</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=318>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="cca.png" NAME="graphics3" ALIGN=BOTTOM WIDTH=160 HEIGHT=146 BORDER=0></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=247>
|
|
||||||
<P ALIGN=CENTER>CC-A, CC-B, CC-C</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=265>
|
|
||||||
<P ALIGN=CENTER><A HREF="twotrack.html">Two-Track Symbols</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=318>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="postnet.png" NAME="graphics4" ALIGN=BOTTOM WIDTH=246 HEIGHT=24 BORDER=0></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=247>
|
|
||||||
<P ALIGN=CENTER STYLE="font-style: normal; font-weight: medium">Two-Track
|
|
||||||
Pharmacode, PostNet, PLANET</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=265>
|
|
||||||
<P ALIGN=CENTER><A HREF="fourstate.html">4-State Codes</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=318>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="auspost.png" NAME="graphics5" ALIGN=BOTTOM WIDTH=266 HEIGHT=20 BORDER=0></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=247>
|
|
||||||
<P ALIGN=CENTER STYLE="font-style: normal; font-weight: medium">USPS
|
|
||||||
OneCode, RM4SCC, Australia Post 4-State Codes</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=265>
|
|
||||||
<P ALIGN=CENTER><A HREF="twodims.html">Two-Dimensional</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=318>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="qr.png" NAME="graphics6" ALIGN=BOTTOM WIDTH=50 HEIGHT=50 BORDER=0></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=247>
|
|
||||||
<P ALIGN=CENTER STYLE="font-style: normal; font-weight: medium">Data
|
|
||||||
Matrix, QR Code, Maxicode, Aztec Code</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=265>
|
|
||||||
<P ALIGN=CENTER><A HREF="markings.html">Other Markings</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=318>
|
|
||||||
<P ALIGN=CENTER><IMG SRC="fim.png" NAME="graphics7" ALIGN=BOTTOM WIDTH=30 HEIGHT=100 BORDER=0></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=247>
|
|
||||||
<P ALIGN=CENTER STYLE="font-style: normal; font-weight: medium">FIM,
|
|
||||||
Flattermarken</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TBODY>
|
|
||||||
</TABLE>
|
|
||||||
</CENTER>
|
|
||||||
<P ALIGN=JUSTIFY><BR><BR>
|
|
||||||
</P>
|
|
||||||
<P><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="backend.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="onedim.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=LEFT>Using the API</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=34%>
|
|
||||||
<P ALIGN=CENTER> </P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=RIGHT>One-Dimensional Symbols</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<P><BR><BR>
|
|
||||||
</P>
|
|
||||||
</BODY>
|
|
||||||
</HTML>
|
|
BIN
docs/telepen.png
Before Width: | Height: | Size: 502 B |
@ -1,322 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
||||||
<HTML>
|
|
||||||
<HEAD>
|
|
||||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
|
||||||
<TITLE>Two-Dimensional Symbols</TITLE>
|
|
||||||
</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="fourstate.html">Prev</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=80%></TD>
|
|
||||||
<TD WIDTH=10%>
|
|
||||||
<P ALIGN=RIGHT><A HREF="markings.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<HR>
|
|
||||||
<H1>5.6 Two-Dimensional Symbols</H1>
|
|
||||||
<P><A NAME="DMATRIX"></A><FONT SIZE=5><B>5.6.1 Data Matrix (ISO
|
|
||||||
16022)</B></FONT></P>
|
|
||||||
<P>Also known as Semacode this symbology was developed in 1989 by
|
|
||||||
Acuity CiMatrix in partnership with the US DoD and NASA. The symbol
|
|
||||||
can encode a large amount of data in a small area. Zint supports all
|
|
||||||
versions of the standard from ISO 16022 as shown in the following
|
|
||||||
table. <B>Note that ECC 000 to ECC 140 are legacy standards and that
|
|
||||||
their use is depreciated</B>. Symbols encoded using ECC 000 to ECC
|
|
||||||
140 will probably not be readable by most barcode readers
|
|
||||||
manufactured since the early 1990s – use ECC 200 instead. The
|
|
||||||
different modes are accessed using the <FONT FACE="Courier, monospace">mode=</FONT>
|
|
||||||
option or by setting <FONT FACE="Courier, monospace">option_1</FONT>.</P>
|
|
||||||
<TABLE WIDTH=60% BORDER=1 ALIGN=CENTER>
|
|
||||||
<TR ALIGN=CENTER>
|
|
||||||
<TH>Input</TH><TH>Mode</TH><TH>Error Correction Capacity</TH><TH>Recovery Capacity</TH>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>1 (default)</TD><TD>ECC 200</TD><TD>28 - 62%</TD><TD>30 - 40%</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>2</TD><TD>ECC 000</TD><TD>0%</TD><TD>0%</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>3</TD><TD>ECC 050</TD><TD>25%</TD><TD>2.8%</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>4</TD><TD>ECC 080</TD><TD>33%</TD><TD>5.5%</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>5</TD><TD>ECC 100</TD><TD>50%</TD><TD>12.6%</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>6</TD><TD>ECC 140</TD><TD>75%</TD><TD>25%</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<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. 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>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD VALIGN=TOP><TABLE WIDTH=100% BORDER=1>
|
|
||||||
<TR ALIGN=CENTER>
|
|
||||||
<TH>Input</TH><TH>Symbol Size</TH><TH>Input</TH><TH>Symbol Size</TH>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>1</TD><TD>10 x 10</TD><TD>16</TD><TD>64 x 64</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>2</TD><TD>12 x 12</TD><TD>17</TD><TD>72 x 72</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>3</TD><TD>14 x 14</TD><TD>18</TD><TD>80 x 80</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>4</TD><TD>16 x 16</TD><TD>19</TD><TD>88 x 88</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>5</TD><TD>18 x 18</TD><TD>20</TD><TD>96 x 96</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>6</TD><TD>20 x 20</TD><TD>21</TD><TD>104 x 104</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>7</TD><TD>22 x 22</TD><TD>22</TD><TD>120 x 120</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>8</TD><TD>24 x 24</TD><TD>23</TD><TD>132 x 132</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>9</TD><TD>26 x 26</TD><TD>24</TD><TD>144 x 144</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>10</TD><TD>32 x 32</TD><TD>25</TD><TD>8 x 18</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>11</TD><TD>36 x 36</TD><TD>26</TD><TD>8 x 32</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>12</TD><TD>40 x 40</TD><TD>27</TD><TD>12 x 26</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>13</TD><TD>44 x 44</TD><TD>28</TD><TD>12 x 36</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>14</TD><TD>48 x 48</TD><TD>29</TD><TD>16 x 36</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>15</TD><TD>52 x 52</TD><TD>30</TD><TD>16 x 48</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE></TD><TD VALIGN=TOP><TABLE WIDTH=100% BORDER=1>
|
|
||||||
<TR ALIGN=CENTER>
|
|
||||||
<TH>Input</TH><TH>Symbol Size</TH><TH>Input</TH><TH>Symbol Size</TH>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>1</TD><TD>7 x 7</TD><TD>12</TD><TD>29 x 29</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>2</TD><TD>9 x 9</TD><TD>13</TD><TD>31 x 31</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>3</TD><TD>11 x 11</TD><TD>14</TD><TD>33 x 33</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>4</TD><TD>13 x 13</TD><TD>15</TD><TD>35 x 35</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>5</TD><TD>15 x 15</TD><TD>16</TD><TD>37 x 37</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>6</TD><TD>17 x 17</TD><TD>17</TD><TD>39 x 39</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>7</TD><TD>19 x 19</TD><TD>18</TD><TD>41 x 41</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>8</TD><TD>21 x 21</TD><TD>19</TD><TD>43 x 43</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>9</TD><TD>23 x 23</TD><TD>20</TD><TD>45 x 45</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>10</TD><TD>25 x 25</TD><TD>21</TD><TD>47 x 47</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>11</TD><TD>27 x 27</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE></TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<IMG SRC="matrix.png" NAME="graphics1" ALIGN=LEFT WIDTH=44 HEIGHT=44 BORDER=0><BR CLEAR=LEFT>
|
|
||||||
<P><A NAME="QRCODE"></A><FONT SIZE=5><B>5.6.2 QR Code (ISO 18004)</B></FONT></P>
|
|
||||||
<P>Also known as Quick Response Code this symbology was developed by
|
|
||||||
Denso. QR Code support in Zint relies on <I>libqrencode</I> (version
|
|
||||||
2.0.0 or later) which is available from
|
|
||||||
<A HREF="http://megaui.net/fukuchi/works/qrencode/index.en.html">http://megaui.net/fukuchi/works/qrencode/index.en.html</A>.
|
|
||||||
Support for QR Code through <I>libzint</I> means that developers only
|
|
||||||
need to write handlers for one API which covers QR Code as well as
|
|
||||||
all of the other code symbologies provided by <I>libzint</I>. Four
|
|
||||||
levels of error correction are available using the <FONT FACE="Courier, monospace">security=</FONT>
|
|
||||||
option or setting <FONT FACE="Courier, monospace">option_1</FONT> as
|
|
||||||
shown in the following table.</P>
|
|
||||||
<TABLE WIDTH=60% BORDER=1 ALIGN=CENTER>
|
|
||||||
<TR ALIGN=CENTER>
|
|
||||||
<TH>Input</TH><TH>ECC Level</TH><TH>Error Correction Capacity</TH><TH>Recovery Capacity</TH>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>1</TD><TD>L (default)</TD><TD>Approx 20% of symbol</TD><TD>Approx 7%</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>2</TD><TD>M</TD><TD>Approx 37% of symbol</TD><TD>Approx 15%</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>3</TD><TD>Q</TD><TD>Approx 55% of symbol</TD><TD>Approx 25%</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>4</TD><TD>H</TD><TD>Approx 65% of symbol</TD><TD>Approx 30%</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<P>The size of the symbol can be set by using the <FONT FACE="Courier, monospace">vers=</FONT>
|
|
||||||
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. 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>
|
|
||||||
<P ALIGN=LEFT>A miniature version of the QR Code symbol for short
|
|
||||||
messages. ECC levels can be selected as for QR Code (above). Micro QR
|
|
||||||
Code support does not require <I>libqrencode</I>.</P>
|
|
||||||
<IMG SRC="microqr.png" NAME="graphics2" ALIGN=LEFT WIDTH=30 HEIGHT=30 BORDER=0><BR CLEAR=LEFT>
|
|
||||||
<P><A NAME="MAXI"></A><FONT SIZE=5><B>5.6.4 Maxicode (ISO 16023)</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>Developed by UPS the Maxicode symbology employs a grid
|
|
||||||
of hexagons surrounding a 'bulls-eye' finder pattern. This symbology
|
|
||||||
is designed for the identification of parcels. Zint encodes Maxicode
|
|
||||||
symbols in Mode 2 or Mode 3 depending on the postcode data entered.
|
|
||||||
In these modes Maxicode symbols are composed of two parts named the
|
|
||||||
primary and secondary messages. The primary message consists of a
|
|
||||||
structured data field which includes various data about the package
|
|
||||||
being sent, the secondary message usually consists of address data in
|
|
||||||
a data structure. The format of the primary message is given in the
|
|
||||||
following table:
|
|
||||||
</P>
|
|
||||||
<TABLE WIDTH=60% BORDER=1 ALIGN=CENTER>
|
|
||||||
<TR ALIGN=CENTER>
|
|
||||||
<TH>Characters</TH><TH>Meaning</TH>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>1-9</TD><TD>
|
|
||||||
<P>Postcode data which can consist of up to 9
|
|
||||||
digits (for mode 2) or up to 6 alphanumeric characters (for mode
|
|
||||||
3). Remaining unused characters should be filled with the SPACE
|
|
||||||
character (ASCII 32).</P></TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>10-12</TD><TD>
|
|
||||||
<P ALIGN=CENTER>Three digit country code according to ISO 3166
|
|
||||||
(see <A HREF="appxb.html">Appendix B</A>).</P></TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>13-15</TD><TD>
|
|
||||||
<P ALIGN=CENTER>Three digit service code. This depends on your
|
|
||||||
parcel courier.</P></TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<P ALIGN=LEFT>The primary message can be designated at the command
|
|
||||||
prompt using the <FONT FACE="Courier, monospace">--primary=</FONT>
|
|
||||||
switch. The secondary message uses the normal data entry method. For
|
|
||||||
example:</P>
|
|
||||||
<P ALIGN=LEFT><FONT FACE="Courier, monospace">zint -o test.eps -b 57
|
|
||||||
--primary='999999999840012' -d 'Secondary Message Here'</FONT></P>
|
|
||||||
<P ALIGN=LEFT>When using the API the primary message must be placed
|
|
||||||
in the <FONT FACE="Courier, monospace">symbol->primary</FONT>
|
|
||||||
string. The secondary is entered in the same way as described in
|
|
||||||
section 4.2.</P>
|
|
||||||
<P ALIGN=LEFT>Modes 4 to 6 can be encoded using the <FONT FACE="Courier, monospace">--mode=</FONT>
|
|
||||||
switch or by setting <FONT FACE="Courier, monospace">option_1</FONT>.
|
|
||||||
Modes 4 to 6 do not require a primary message. For example:</P>
|
|
||||||
<P ALIGN=LEFT><FONT FACE="Courier, monospace">zint -o test.eps -b 57
|
|
||||||
--mode=4 -d 'A MaxiCode Message in Mode 4'</FONT></P>
|
|
||||||
<P ALIGN=LEFT>Mode 6 is reserved for the maintenance of scanner
|
|
||||||
hardware and should not be used to encode user data. All modes
|
|
||||||
support extended ASCII characters and number compression. The maximum
|
|
||||||
length of text which can be placed in a Maxicode symbol depends on
|
|
||||||
the type of characters used in the text. Example maximum data lengths
|
|
||||||
are given in the table below:</P>
|
|
||||||
<TABLE WIDTH=60% BORDER=1 ALIGN=CENTER>
|
|
||||||
<TR ALIGN=CENTER>
|
|
||||||
<TH>Mode</TH><TH>Maximum Data Length for Capital Letters</TH><TH>Maximum Data Length for Numeric Digits</TH><TH>Number of Error Correction Codewords</TH>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>2 (secondary only)</TD><TD>84</TD><TD>126</TD><TD>50</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>3 (secondary only)</TD><TD>84</TD><TD>126</TD><TD>50</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>4</TD><TD>93</TD><TD>135</TD><TD>50</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>5</TD><TD>77</TD><TD>110</TD><TD>66</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>6</TD><TD>93</TD><TD>135</TD><TD>50</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<P ALIGN=LEFT><B>PLEASE NOTE</B> that due to the unique style of the
|
|
||||||
Maxicode symbol not all of the options available for other
|
|
||||||
symbologies are available. Settings for height and scale will be
|
|
||||||
ignored. Colour options are available as with other symbologies. PNG
|
|
||||||
output is set at a resolution of 12 pixels per millimetre (approx 300
|
|
||||||
dpi) and uses the methods set out in Annex J of the ISO/IEC standard.</P>
|
|
||||||
<IMG SRC="maxicode.png" NAME="graphics3" ALIGN=LEFT WIDTH=200 HEIGHT=200 BORDER=0><BR CLEAR=LEFT>
|
|
||||||
<P><A NAME="AZTEC"></A><FONT SIZE=5><B>5.6.5 Aztec Code (ISO 24778)</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>Invented by Andrew Longacre at Welch Allyn Inc in 1995
|
|
||||||
the Aztec Code symbol is a matrix symbol with a distinctive bulls-eye
|
|
||||||
finder pattern. Zint can generate Compact Aztec Code (sometimes
|
|
||||||
called Small Aztec Code) as well as “full-range” Aztec Code
|
|
||||||
symbols and by default will automatically select symbol type and size
|
|
||||||
dependent on the length of the data to be encoded. Error correction
|
|
||||||
codewords will normally be generated to fill at least 23% of the
|
|
||||||
symbol. Two options are available to change this behaviour:</P>
|
|
||||||
<P ALIGN=LEFT>The size of the symbol can be specified using the
|
|
||||||
<FONT FACE="Courier, monospace">--ver=</FONT> switch followed by (or
|
|
||||||
setting <FONT FACE="Courier, monospace">option_2</FONT> to) a value
|
|
||||||
between 1 and 36 according to the following table:</P>
|
|
||||||
<TABLE WIDTH=60% BORDER=1 ALIGN=CENTER>
|
|
||||||
<TR ALIGN=CENTER>
|
|
||||||
<TH>Value Entered</TH><TH>Symbol Generated</TH>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>1-4</TD><TD>Compact Aztec Code with [value] layers</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>5-36</TD><TD>“Full-Range” Aztec Code with [value – 4] layers</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<P ALIGN=LEFT>Note that in symbols which have a specified size the
|
|
||||||
amount of error correction is dependent on the length of the data
|
|
||||||
input and Zint will allow error correction capacities as low as 3
|
|
||||||
codewords.</P>
|
|
||||||
<P ALIGN=LEFT>Alternatively the amount of error correction data can
|
|
||||||
be specified by use of the <FONT FACE="Courier, monospace">--mode=</FONT>
|
|
||||||
switch followed by (or setting <FONT FACE="Courier, monospace">option_1</FONT>
|
|
||||||
to) a value from the following table:</P>
|
|
||||||
<TABLE WIDTH=60% BORDER=1 ALIGN=CENTER>
|
|
||||||
<TR ALIGN=CENTER>
|
|
||||||
<TH>Mode</TH><TH>Error Correction Capacity</TH>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>1</TD><TD>>10% + 3 codewords</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>2</TD><TD>>23% + 3 codewords</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>3</TD><TD>>36% + 3 codewords</TD>
|
|
||||||
</TR><TR ALIGN=CENTER>
|
|
||||||
<TD>4</TD><TD>>50% + 3 codewords</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<P ALIGN=LEFT>It is not possible to select both symbol size and error
|
|
||||||
correction capacity for the same symbol. If both options are selected
|
|
||||||
then the error correction capacity selection will be ignored.</P>
|
|
||||||
<P ALIGN=LEFT>Aztec Code is able to encode any extended ASCII
|
|
||||||
character data up to a maximum length of approximately 3823 numeric
|
|
||||||
or 3067 alphabetic characters or 1914 bytes of data.</P>
|
|
||||||
<IMG SRC="aztec.png" NAME="graphics4" ALIGN=LEFT WIDTH=46 HEIGHT=46 BORDER=0><BR CLEAR=LEFT>
|
|
||||||
<P><A NAME="AZRUNE"></A><FONT SIZE=5><B>5.6.6 Aztec Runes</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>A truncated version of compact Aztec Code for encoding
|
|
||||||
whole integers between 0 and 255. Includes Reed-Solomon error
|
|
||||||
correction. As defined in ISO/IEC 24778 Annex A.</P>
|
|
||||||
<IMG SRC="azrune.png" NAME="graphics6" ALIGN=LEFT WIDTH=22 HEIGHT=22 BORDER=0><BR CLEAR=LEFT>
|
|
||||||
<HR>
|
|
||||||
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
|
|
||||||
<TR>
|
|
||||||
<TD WIDTH=33% HEIGHT=5>
|
|
||||||
<P ALIGN=LEFT><A HREF="fourstate.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="markings.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=LEFT>4-State Codes</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=34%>
|
|
||||||
<P ALIGN=CENTER> </P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=RIGHT>Markings</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
</BODY>
|
|
||||||
</HTML>
|
|
@ -1,95 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
||||||
<HTML>
|
|
||||||
<HEAD>
|
|
||||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
|
||||||
<TITLE>Two-Track Symbols</TITLE>
|
|
||||||
<META NAME="GENERATOR" CONTENT="OpenOffice.org 2.3 (Linux)">
|
|
||||||
<META NAME="CREATED" CONTENT="20070730;21081900">
|
|
||||||
<META NAME="CHANGED" CONTENT="20080316;13023600">
|
|
||||||
<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="composite.html">Prev</A></P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=80%></TD>
|
|
||||||
<TD WIDTH=10%>
|
|
||||||
<P ALIGN=RIGHT><A HREF="fourstate.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<HR>
|
|
||||||
<H1 ALIGN=LEFT>5.4 Two-Track Symbols</H1>
|
|
||||||
<P ALIGN=LEFT><A NAME="PHARMA"></A><FONT SIZE=5><B>5.4.1 Two-Track
|
|
||||||
Pharmacode</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>Developed by Laetus, Pharmacode Two-Track is an
|
|
||||||
alternative system to Pharmacode One-Track used for the
|
|
||||||
identification of pharmaceuticals. The symbology is able to encode
|
|
||||||
whole numbers between 4 and 64570080.</P>
|
|
||||||
<P ALIGN=LEFT><IMG SRC="pharma2.png" NAME="graphics1" ALIGN=LEFT WIDTH=58 HEIGHT=100 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
|
||||||
</P>
|
|
||||||
<P ALIGN=LEFT><A NAME="POSTNET"></A><FONT SIZE=5><B>5.4.2 PostNet</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>Used by the United States Postal Service and due to be
|
|
||||||
superseded by the OneCode system by 2009, the PostNet barcode is used
|
|
||||||
for encoding zip-codes on mail items. PostNet uses numerical input
|
|
||||||
data and includes a modulo-10 check digit. While Zint will encode
|
|
||||||
PostNet symbols of any length, standard lengths used by USPS are
|
|
||||||
PostNet6 (5 digits ZIP input), PostNet10 (5 digit ZIP + 4 digit user
|
|
||||||
data) and PostNet12 (5 digit ZIP + 6 digit user data).</P>
|
|
||||||
<P ALIGN=LEFT><IMG SRC="postnet.png" NAME="graphics2" ALIGN=LEFT WIDTH=246 HEIGHT=24 BORDER=0><BR CLEAR=LEFT><BR><BR>
|
|
||||||
</P>
|
|
||||||
<P ALIGN=LEFT><A NAME="PLANET"></A><FONT SIZE=5><B>5.4.3 PLANET</B></FONT></P>
|
|
||||||
<P ALIGN=LEFT>Used by the United States Postal Service and due to be
|
|
||||||
superseded by the OneCode system by 2009, the PLANET (Postal Alpha
|
|
||||||
Numeric Encoding Technique) barcode is used for encoding routing data
|
|
||||||
on mail items. Planet uses numerical input data and includes a
|
|
||||||
modulo-10 check digit. While Zint will encode PLANET symbols of any
|
|
||||||
length, standard lengths used by USPS are Planet12 (11 digit input)
|
|
||||||
and Planet14 (13 digit input).</P>
|
|
||||||
<P ALIGN=LEFT><IMG SRC="planet.png" NAME="graphics3" ALIGN=LEFT WIDTH=286 HEIGHT=24 BORDER=0><BR CLEAR=LEFT><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="composite.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="fourstate.html">Next</A></P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
<TR VALIGN=TOP>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=LEFT>Composite Symbols</P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=34%>
|
|
||||||
<P ALIGN=CENTER> </P>
|
|
||||||
</TD>
|
|
||||||
<TD WIDTH=33%>
|
|
||||||
<P ALIGN=RIGHT>4-State Codes</P>
|
|
||||||
</TD>
|
|
||||||
</TR>
|
|
||||||
</TABLE>
|
|
||||||
<P><BR><BR>
|
|
||||||
</P>
|
|
||||||
</BODY>
|
|
||||||
</HTML>
|
|
BIN
docs/upca.png
Before Width: | Height: | Size: 759 B |
11
readme
@ -15,11 +15,7 @@ Composite Symbology, Data Matrix, QR Code, Maxicode, Aztec Code, EAN-13, Codablo
|
|||||||
Korea Post Barcode, HIBC Code 128, HIBC Code 39, HIBC Data Matrix, HIBC PDF417, HIBC MicroPDF417,
|
Korea Post Barcode, HIBC Code 128, HIBC Code 39, HIBC Data Matrix, HIBC PDF417, HIBC MicroPDF417,
|
||||||
HIBC QR Code, HIBC Codablock-F, Japanese Postal Code, Code 49, Channel Code, FIM and Flattermarken.
|
HIBC QR Code, HIBC Codablock-F, Japanese Postal Code, Code 49, Channel Code, FIM and Flattermarken.
|
||||||
|
|
||||||
Full documentation is included in the 'docs' directory. The libzint back end code is included
|
Full documentation is now available from the project website at http://www.zint.org.uk
|
||||||
in the 'backend' directory, and the front end command line program 'zint' is included in the
|
|
||||||
'frontend' directory. See the HTML documentation for full installation instructions. The file
|
|
||||||
DEVELOPERS in the backend folder gives a brief guide to which symbologies are handled by which
|
|
||||||
source code files.
|
|
||||||
|
|
||||||
SUPPORT ZINT
|
SUPPORT ZINT
|
||||||
------------
|
------------
|
||||||
@ -35,7 +31,6 @@ To donate to this project go to: http://sourceforge.net/project/project_donation
|
|||||||
|
|
||||||
QT FRONT END
|
QT FRONT END
|
||||||
------------
|
------------
|
||||||
|
|
||||||
This package includes a Qt4 GUI front end. This feature is still under development but if you would
|
This package includes a Qt4 GUI front end. This feature is still under development but if you would
|
||||||
like to give it a try then here is how to get to it: You will need Qt4 and cmake to compile the code.
|
like to give it a try then here is how to get to it: You will need Qt4 and cmake to compile the code.
|
||||||
cd to the folder that contains this README file then...
|
cd to the folder that contains this README file then...
|
||||||
@ -77,8 +72,8 @@ Robin.
|
|||||||
THINGS TO DO
|
THINGS TO DO
|
||||||
------------
|
------------
|
||||||
|
|
||||||
If you are interested in expanding the functionality of this library then here are a few
|
If you are interested in expanding the functionality of this package then here are a few
|
||||||
things which you may like to attempt:
|
things which need to be done!
|
||||||
|
|
||||||
Frontend
|
Frontend
|
||||||
--------
|
--------
|
||||||
|