mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
387 lines
10 KiB
HTML
387 lines
10 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
|
|
<TITLE>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> |