You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scribus/bwipp-gs1ai.html
+66-28Lines changed: 66 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -5,22 +5,35 @@
5
5
<metaname="robots" content="noindex, nofollow" />
6
6
<title>GS1 AI Standard Format</title>
7
7
<style>
8
-
@import"../manual.css";
9
-
</style>
8
+
@import"../manual.css"</style>
10
9
</head>
11
10
<body>
12
-
<h2id="gs1-application-identifier-standard-format">GS1 Application Identifier Standard Format</h2>
13
-
<p>Certain barcode symbologies (including <ahref="bwipp-symbologies.html#gs1-128">GS1-128</a>, <ahref="bwipp-symbologies.html#gs1-databar-expanded">GS1 DataBar Expanded</a>, <ahref="bwipp-symbologies.html#gs1-datamatrix">GS1 DataMatrix</a>, <ahref="bwipp-symbologies.html#gs1-qr-code">GS1 QR Code</a> and <ahref="bwipp-symbologies.html#gs1-composite-symbols">GS1 Composite Symbols</a>) represent standardized GS1 data and require that their data field is provided in GS1 Application Identifier standard format, consisting of a concatenated string of <em>AIs</em> along with their corresponding values.</p>
14
-
<p>The AIs are a set of approximately one hundred two-, three- or four-digit prefixes written within parentheses that represent physical attributes and business information, e.g.</p>
DataMatrix</a>, <ahref="bwipp-symbologies.html#gs1-qr-code">GS1 QR
16
+
Code</a> and <ahref="bwipp-symbologies.html#gs1-composite-symbols">GS1
17
+
Composite Symbols</a>) represent standardized GS1 data and require that
18
+
their data field is provided in GS1 Application Identifier standard
19
+
format, consisting of a concatenated string of <em>AIs</em> along with
20
+
their corresponding values.</p>
21
+
<p>The AIs are a set of approximately one hundred two-, three- or
22
+
four-digit prefixes written within parentheses that represent physical
23
+
attributes and business information, e.g.</p>
15
24
<ul>
16
25
<li><em>(00)</em> is an eighteen-digit SSCC.</li>
17
26
<li><em>(01)</em> is a fourteen-digit GTIN.</li>
18
27
<li><em>(403)</em> is a variable-length routing code.</li>
19
28
</ul>
20
-
<p>The following input represents GTIN-14 <em>09521234543213</em>; Expiration Date <em>1 January 2010</em>; Batch <em>123ABC</em>; Serial <em>1234567890</em>:</p>
<p>Encoders for barcode symbologies that expect data in GS1 Application Identifier standard format will take care of parsing the input and inserting any necessary <em>FNC1</em> characters to delimit variable length fields.</p>
29
+
<p>The following input represents GTIN-14 <em>09521234543213</em>;
30
+
Expiration Date <em>1 January 2010</em>; Batch <em>123ABC</em>; Serial
(Where "]Nm" is the symbology specific AIM Symbology Identifier.)
37
-
</code></pre>
38
-
<h4id="encoding-parentheses-within-application-identifier-data-values">Encoding parentheses within Application Identifier data values</h4>
39
-
<p>Instances of parentheses, <code>(</code> and <code>)</code>, within Application Identifier data values must be escaped using the <ahref="bwipp-options.html#parse"><code>parse</code> option</a> as <code>^040</code> and <code>^041</code>, respectively.</p>
<p>The input is checked against the structural rules for the GS1 Application Identifiers, as described in <ahref="https://www.linkedin.com/pulse/gs1-application-identifier-syntax-dictionary-terry-burton/">this article</a>, unless the <strong>dontlint</strong> option is given. The Application Identifier definitions are provided in the <ahref="http://www.gs1.org/barcodes-epcrfid-id-keys/gs1-general-specifications">GS1 General Specifications</a>.</p>
42
-
<h4id="use-of-group-separator-character-gs-ascii-29-as-an-ai-separator">Use of Group Separator character (GS; ASCII 29) as an AI separator</h4>
43
-
<p>FNC1 is the canonical separator that is used in GS1 symbols when encoding Application Identifier based data.</p>
44
-
<p>The transfer protocol for FNC1 characters is defined by the fundamental ISO/IEC barcode symbology standards and is not something that an application standard can legitimately redefine whilst claiming conformance with the fundamental standards.</p>
45
-
<p>Encoding a GS (ASCII value 29) directly within a barcode message is incorrect and may lead to larger symbol sizes since they may not be encoded as efficiently and FNC1. However, because the transfer protocol for barcode scanners converts FNC1 non-data characters in third and subsequent characters positions to GS data characters for transmission, the host is generally unable to determine whether FNC1 or GS was used in the barcode message.</p>
46
-
<p>Because of this ambiguity, the use of GS characters of AI separation is tolerated by the GS1 standards, but not encouraged.</p>
47
-
<p>BWIPP will always correctly encode the barcode message using FNC1 characters.</p>
48
-
<p>If you wish to do the wrong thing then you can manually encode the data and use a general (non-GS1) instance of the encoder, for example:</p>
49
+
(Where "]Nm" is the symbology specific AIM Symbology Identifier.)</code></pre>
<li>The rules for encoding Application Identifier based data are nuanced. FNC1/GS separators are not merely separators and their necessity is unrelated to whether the AIs are fixed or variable length, as many sources falsely claim.</li>
62
-
<li>You will not benefit from BWIPP's comprehensive validation of AI-based data if you choose to encode data manually rather than let BWIPP take care of it.</li>
94
+
<li>The rules for encoding Application Identifier based data are
95
+
nuanced. FNC1/GS separators are not merely separators and their
96
+
necessity is unrelated to whether the AIs are fixed or variable length,
97
+
as many sources falsely claim.</li>
98
+
<li>You will not benefit from BWIPP's comprehensive validation of
99
+
AI-based data if you choose to encode data manually rather than let
0 commit comments