mirror of
https://git.code.sf.net/p/zint/code
synced 2026-07-31 10:29:52 +00:00
AZTEC: add manual FNC1 support:
improve P/S vs P/L choice when have ECI; add ZINT_DEBUG_TEST dump AUSPOST: allow variable length data input DATAMATRIX: do `EXTRA_ESCAPE_MODE` processing up front & check have non-zero length afterwards; disallow `READER_INIT` and `EXTRA_ESCAPE_MODE`; general: add new `z_zero_fill()` func & use; add new `z_extra_escape_position_fnc1()` helper; in `z_ct_set_seg_extra_escapes_eci` check position FNC1 whether or not have ECI library: escape_char_process: note escaped backslash followed by caret by passes `EXTRA_ESCAPE_MODE` check test suite: BWIPP: update to latest; support AUSPOST variants; process `EXTRA_ESCAPE_MODE` escaping up front
This commit is contained in:
+56
-41
@@ -1515,25 +1515,25 @@ Sequences</caption>
|
||||
<tr>
|
||||
<td style="text-align: left;"><code>\^1</code></td>
|
||||
<td style="text-align: left;">Insert <code>FNC1</code> character</td>
|
||||
<td>Code128, Data Matrix</td>
|
||||
<td>Aztec Code, Code 128, Data Matrix</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;"><code>\^^</code></td>
|
||||
<td style="text-align: left;">Literal <code>\^</code></td>
|
||||
<td>Code128, Data Matrix</td>
|
||||
<td>Aztec Code, Code 128, Data Matrix</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;"><code>\^A</code>, <code>\^B</code>,
|
||||
<code>\^C</code></td>
|
||||
<td style="text-align: left;">Select Code Set A, B or C
|
||||
respectively</td>
|
||||
<td>Code128 only</td>
|
||||
<td>Code 128 only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;"><code>\^@</code></td>
|
||||
<td style="text-align: left;">Exit manual Code Set selection and resume
|
||||
automatic Code Set selection</td>
|
||||
<td>Code128 only</td>
|
||||
<td>Code 128 only</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -4297,7 +4297,8 @@ other shortcuts if available (affects <code>AZTEC</code>,
|
||||
<tr>
|
||||
<td style="text-align: left;"><code>EXTRA_ESCAPE_MODE</code></td>
|
||||
<td style="text-align: left;">Process special symbology-specific escape
|
||||
sequences (<code>CODE128</code> and <code>DATAMATRIX</code> only).</td>
|
||||
sequences (<code>AZTEC</code>, <code>CODE128</code> and
|
||||
<code>DATAMATRIX</code> only).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;"><code>GS1SYNTAXENGINE_MODE</code></td>
|
||||
@@ -4740,8 +4741,8 @@ alt="zint -b C25INTER --compliantheight -d "9212320967"" />
|
||||
<p>No check digit is added by default, but can be set the same as for <a
|
||||
href="#standard-code-2-of-5">6.1.2.1 Standard Code 2 of 5</a>.</p>
|
||||
<h4 id="code-2-of-5-data-logic">6.1.2.5 Code 2 of 5 Data Logic</h4>
|
||||
<p>Data Logic can encode numeric input (digits 0-9) up to a maximum of
|
||||
113 digits.</p>
|
||||
<p>Data Logic, also known as China Post or Hong Kong 2 of 5, can encode
|
||||
numeric input (digits 0-9) up to a maximum of 113 digits.</p>
|
||||
<figure>
|
||||
<img src="images/c25logic.svg" class="lin"
|
||||
alt="zint -b C25LOGIC -d "9212320967"" />
|
||||
@@ -5998,7 +5999,7 @@ alt="zint -b PHARMA_TWO --compliantheight -d "29876543"" />
|
||||
</figure>
|
||||
<h3 id="postnet">6.4.2 POSTNET</h3>
|
||||
<p>Used by the United States Postal Service until 2009, the POSTNET
|
||||
barcode was used for encoding zip-codes on mail items. POSTNET uses
|
||||
barcode was 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 up to 38 digits in length, standard
|
||||
lengths as used by USPS were <code>PostNet6</code> (5-digit ZIP input),
|
||||
@@ -6085,69 +6086,75 @@ alt="zint -b AUSPOST --compliantheight -d "96184209"" />
|
||||
<p>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. The first 8
|
||||
digits is the DPID.</p>
|
||||
Encoding behaviour is determined by the length and type of the input
|
||||
data as shown in the following table, where <code>C</code> means any
|
||||
valid character.</p>
|
||||
<table id="tbl:auspost_input_formats" style="width:86%;">
|
||||
<caption><span class="table-label">Table 23:</span> Australia Post Input
|
||||
Formats</caption>
|
||||
<colgroup>
|
||||
<col style="width: 13%" />
|
||||
<col style="width: 38%" />
|
||||
<col style="width: 11%" />
|
||||
<col style="width: 20%" />
|
||||
<col style="width: 22%" />
|
||||
<col style="width: 12%" />
|
||||
<col style="width: 8%" />
|
||||
<col style="width: 6%" />
|
||||
<col style="width: 12%" />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align: left;">Input Length</th>
|
||||
<th style="text-align: left;">Required Input Format</th>
|
||||
<th>Symbol Length</th>
|
||||
<th style="text-align: left;">DPID (required)</th>
|
||||
<th style="text-align: left;">Customer Data (optional)</th>
|
||||
<th style="text-align: left;">Symbol Length</th>
|
||||
<th>FCC</th>
|
||||
<th>Encoding Table(s)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: left;">8</td>
|
||||
<td style="text-align: left;"><code>99999999</code></td>
|
||||
<td>37-bar</td>
|
||||
<td style="text-align: left;">1-8</td>
|
||||
<td style="text-align: left;">1 to 8 digits</td>
|
||||
<td style="text-align: left;">None</td>
|
||||
<td style="text-align: left;">37 bars</td>
|
||||
<td>11</td>
|
||||
<td>N</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;">13</td>
|
||||
<td style="text-align: left;"><code>99999999AAAAA</code></td>
|
||||
<td>52-bar</td>
|
||||
<td style="text-align: left;">9-13</td>
|
||||
<td style="text-align: left;">8 digits</td>
|
||||
<td style="text-align: left;">1 to 5 <code>C</code></td>
|
||||
<td style="text-align: left;">52 bars</td>
|
||||
<td>59</td>
|
||||
<td>N and C</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;">16</td>
|
||||
<td style="text-align: left;"><code>9999999999999999</code></td>
|
||||
<td>52-bar</td>
|
||||
<td style="text-align: left;">9-16</td>
|
||||
<td style="text-align: left;">8 digits</td>
|
||||
<td style="text-align: left;">1 to 8 digits</td>
|
||||
<td style="text-align: left;">52 bars</td>
|
||||
<td>59</td>
|
||||
<td>N</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;">18</td>
|
||||
<td style="text-align: left;"><code>99999999AAAAAAAAAA</code></td>
|
||||
<td>67-bar</td>
|
||||
<td style="text-align: left;">9-18</td>
|
||||
<td style="text-align: left;">8 digits</td>
|
||||
<td style="text-align: left;">1 to 10 <code>C</code></td>
|
||||
<td style="text-align: left;">67 bars</td>
|
||||
<td>62</td>
|
||||
<td>N and C</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;">23</td>
|
||||
<td style="text-align: left;"><code>99999999999999999999999</code></td>
|
||||
<td>67-bar</td>
|
||||
<td style="text-align: left;">9-23</td>
|
||||
<td style="text-align: left;">8 digits</td>
|
||||
<td style="text-align: left;">1 to 15 digits</td>
|
||||
<td style="text-align: left;">67 bars</td>
|
||||
<td>62</td>
|
||||
<td>N</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>The special Null FCC 00, non-machine readable and intended for
|
||||
customer use only, is used (all input lengths) if the DPID is all
|
||||
zeroes.</p>
|
||||
<p>The special Null FCC 00, intended for customer use only, is used (all
|
||||
input lengths) if the DPID is all zeroes.</p>
|
||||
<h4 id="reply-paid-barcode">6.5.1.2 Reply Paid Barcode</h4>
|
||||
<p>A Reply Paid version of the Australia Post 4-State Barcode (FCC 45)
|
||||
which requires an 8-digit DPID input.</p>
|
||||
@@ -6282,10 +6289,10 @@ alt="zint -b USPS_IMAIL --compliantheight -d "01234567094987654321-01234&qu
|
||||
<figcaption><span class="figure-label">Figure 108:</span>
|
||||
<code>zint -b USPS_IMAIL --compliantheight -d "01234567094987654321-01234"</code></figcaption>
|
||||
</figure>
|
||||
<p>Intelligent Mail is a fixed length (65-bar) symbol which combines
|
||||
<p>Intelligent Mail 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 (<code>-</code>),
|
||||
followed by a delivery point zip-code which can be 0, 5, 9 or 11 digits
|
||||
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>
|
||||
<ul>
|
||||
@@ -7764,6 +7771,14 @@ length of approximately 3823 numeric or 3067 alphabetic characters or
|
||||
1914 bytes of data. A separate symbology ID
|
||||
(<code>BARCODE_HIBC_AZTEC</code>) can be used to encode Health Industry
|
||||
Barcode (HIBC) data.</p>
|
||||
<p>Manual insertion of <code>FNC1</code> is possible using the
|
||||
<code>--extraesc</code> option (API
|
||||
<code>input_mode |= EXTRA_ESCAPE_MODE</code>), which apart from
|
||||
processing normal escape sequences also processes the extra escape
|
||||
sequences given in <span class="cross-ref-group"><a
|
||||
href="#tbl:extra_escapes" class="cross-ref">Table 3: Extra Escape
|
||||
Sequences</a></span> - see <a href="#data-matrix-iso-16022">6.6.1 Data
|
||||
Matrix (ISO 16022)</a> for details.</p>
|
||||
<p>For a faster but less optimal encodation, the <code>--fast</code>
|
||||
option (API <code>input_mode |= FAST_MODE</code>) may be used.</p>
|
||||
<p>Aztec Code supports Structured Append of up to 26 symbols and an
|
||||
@@ -8520,12 +8535,12 @@ reply mail with a</td>
|
||||
<tr>
|
||||
<td>B</td>
|
||||
<td style="text-align: left;">Used for business reply mail without a
|
||||
pre-printed zip code.</td>
|
||||
pre-printed ZIP code.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>C</td>
|
||||
<td style="text-align: left;">Used for business reply mail with a
|
||||
pre-printed zip code.</td>
|
||||
pre-printed ZIP code.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>D</td>
|
||||
@@ -9421,9 +9436,9 @@ are:</p>
|
||||
<dt><code>--extraesc</code></dt>
|
||||
<dd>
|
||||
<p>As well as processing the normal escape sequences above, process the
|
||||
special escape sequences beginning with <code>\^</code>. For Code 128
|
||||
and Data Matrix, process the escape sequence <code>\^1</code> that
|
||||
inserts an <code>FNC1</code> character, and the escaping sequence
|
||||
special escape sequences beginning with <code>\^</code>. For Aztec Code,
|
||||
Code 128 and Data Matrix, process the escape sequence <code>\^1</code>
|
||||
that inserts an <code>FNC1</code> character, and the escaping sequence
|
||||
<code>\^^</code> that encodes a literal <code>\^</code>. For Code 128
|
||||
only, process the escape sequences <code>\^A</code>, <code>\^B</code>,
|
||||
<code>\^C</code> and <code>\^@</code> that allow manual switching of
|
||||
|
||||
+31
-23
@@ -603,14 +603,16 @@ the sequence backslash caret ("`\^`"):
|
||||
Extra Escape Interpretation Available for Symbology
|
||||
Sequence
|
||||
----------------- ------------------------------ -----------------------
|
||||
`\^1` Insert `FNC1` character Code128, Data Matrix
|
||||
`\^1` Insert `FNC1` character Aztec Code, Code 128,
|
||||
Data Matrix
|
||||
|
||||
`\^^` Literal `\^` Code128, Data Matrix
|
||||
`\^^` Literal `\^` Aztec Code, Code 128,
|
||||
Data Matrix
|
||||
|
||||
`\^A`, `\^B`, `\^C` Select Code Set A, B or C Code128 only
|
||||
`\^A`, `\^B`, `\^C` Select Code Set A, B or C Code 128 only
|
||||
respectively
|
||||
|
||||
`\^@` Exit manual Code Set selection Code128 only
|
||||
`\^@` Exit manual Code Set selection Code 128 only
|
||||
and resume automatic Code Set
|
||||
selection
|
||||
---------------------------------------------------------------------------
|
||||
@@ -2552,7 +2554,7 @@ Value Effect
|
||||
`MICROPDF417`, `PDF417`, `QRCODE` and `UPNQR` only).
|
||||
|
||||
`EXTRA_ESCAPE_MODE` Process special symbology-specific escape sequences
|
||||
(`CODE128` and `DATAMATRIX` only).
|
||||
(`AZTEC`, `CODE128` and `DATAMATRIX` only).
|
||||
|
||||
`GS1SYNTAXENGINE_MODE` Use the GS1 Syntax Engine (if available) to strictly
|
||||
validate GS1 input.
|
||||
@@ -3007,7 +3009,8 @@ Standard Code 2 of 5].
|
||||
|
||||
#### 6.1.2.5 Code 2 of 5 Data Logic
|
||||
|
||||
Data Logic can encode numeric input (digits 0-9) up to a maximum of 113 digits.
|
||||
Data Logic, also known as China Post or Hong Kong 2 of 5, can encode numeric
|
||||
input (digits 0-9) up to a maximum of 113 digits.
|
||||
|
||||
{.lin}
|
||||
|
||||
@@ -4056,7 +4059,7 @@ pharmaceuticals. The symbology is able to encode whole numbers between 4 and
|
||||
### 6.4.2 POSTNET
|
||||
|
||||
Used by the United States Postal Service until 2009, the POSTNET barcode was
|
||||
used for encoding zip-codes on mail items. POSTNET uses numerical input data and
|
||||
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 up
|
||||
to 38 digits in length, standard lengths as used by USPS were `PostNet6`
|
||||
(5-digit ZIP input), `PostNet10` (5-digit ZIP + 4-digit user data) and
|
||||
@@ -4141,28 +4144,28 @@ 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. The first 8 digits is the DPID.
|
||||
determined by the length and type of the input data as shown in the following
|
||||
table, where `C` means any valid character.
|
||||
|
||||
-------------------------------------------------------------
|
||||
Input Required Input Format Symbol FCC Encoding
|
||||
Length Length Table(s)
|
||||
------ ------------------------- ------ --- --------
|
||||
8 `99999999` 37-bar 11 N
|
||||
Input DPID Customer Data Symbol FCC Encoding
|
||||
Length (required) (optional) Length Table(s)
|
||||
------ ------------- -------------- ------- --- --------
|
||||
1-8 1 to 8 digits None 37 bars 11 N
|
||||
|
||||
13 `99999999AAAAA` 52-bar 59 N and C
|
||||
9-13 8 digits 1 to 5 `C` 52 bars 59 N and C
|
||||
|
||||
16 `9999999999999999` 52-bar 59 N
|
||||
9-16 8 digits 1 to 8 digits 52 bars 59 N
|
||||
|
||||
18 `99999999AAAAAAAAAA` 67-bar 62 N and C
|
||||
9-18 8 digits 1 to 10 `C` 67 bars 62 N and C
|
||||
|
||||
23 `99999999999999999999999` 67-bar 62 N
|
||||
9-23 8 digits 1 to 15 digits 67 bars 62 N
|
||||
-------------------------------------------------------------
|
||||
|
||||
Table: Australia Post Input Formats {#tbl:auspost_input_formats}
|
||||
|
||||
The special Null FCC 00, non-machine readable and intended for customer use
|
||||
only, is used (all input lengths) if the DPID is all zeroes.
|
||||
The special Null FCC 00, intended for customer use only, is used (all input
|
||||
lengths) if the DPID is all zeroes.
|
||||
|
||||
#### 6.5.1.2 Reply Paid Barcode
|
||||
|
||||
@@ -4256,9 +4259,9 @@ PLANET symbologies in 2009.
|
||||
{.trk}
|
||||
|
||||
Intelligent Mail is a fixed length (65-bar) symbol which combines routing and
|
||||
Intelligent Mail 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
|
||||
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:
|
||||
|
||||
@@ -4887,6 +4890,11 @@ approximately 3823 numeric or 3067 alphabetic characters or 1914 bytes of data.
|
||||
A separate symbology ID (`BARCODE_HIBC_AZTEC`) can be used to encode Health
|
||||
Industry Barcode (HIBC) data.
|
||||
|
||||
Manual insertion of `FNC1` is possible using the `--extraesc` option (API
|
||||
`input_mode |= EXTRA_ESCAPE_MODE`), which apart from processing normal escape
|
||||
sequences also processes the extra escape sequences given in
|
||||
[#tbl:extra_escapes] - see [6.6.1 Data Matrix (ISO 16022)] for details.
|
||||
|
||||
For a faster but less optimal encodation, the `--fast` option (API `input_mode
|
||||
|= FAST_MODE`) may be used.
|
||||
|
||||
@@ -5164,8 +5172,8 @@ Code Letter Usage
|
||||
----------- --------------------------------------------------------------
|
||||
A Used for courtesy reply mail and metered reply mail with a
|
||||
pre-printed POSTNET symbol.
|
||||
B Used for business reply mail without a pre-printed zip code.
|
||||
C Used for business reply mail with a pre-printed zip code.
|
||||
B Used for business reply mail without a pre-printed ZIP code.
|
||||
C Used for business reply mail with a pre-printed ZIP code.
|
||||
D Used for Information Based Indicia (IBI) postage.
|
||||
E Used for customized mail with a USPS Intelligent Mail barcode.
|
||||
|
||||
|
||||
+38
-30
@@ -755,14 +755,16 @@ the sequence backslash caret (“\^”):
|
||||
Extra Escape Interpretation Available for Symbology
|
||||
Sequence
|
||||
-------------------- ------------------------------- -----------------------
|
||||
\^1 Insert FNC1 character Code128, Data Matrix
|
||||
\^1 Insert FNC1 character Aztec Code, Code 128,
|
||||
Data Matrix
|
||||
|
||||
\^^ Literal \^ Code128, Data Matrix
|
||||
\^^ Literal \^ Aztec Code, Code 128,
|
||||
Data Matrix
|
||||
|
||||
\^A, \^B, \^C Select Code Set A, B or C Code128 only
|
||||
\^A, \^B, \^C Select Code Set A, B or C Code 128 only
|
||||
respectively
|
||||
|
||||
\^@ Exit manual Code Set selection Code128 only
|
||||
\^@ Exit manual Code Set selection Code 128 only
|
||||
and resume automatic Code Set
|
||||
selection
|
||||
----------------------------------------------------------------------------
|
||||
@@ -2509,7 +2511,7 @@ member:
|
||||
MICROPDF417, PDF417, QRCODE and UPNQR only).
|
||||
|
||||
EXTRA_ESCAPE_MODE Process special symbology-specific escape sequences
|
||||
(CODE128 and DATAMATRIX only).
|
||||
(AZTEC, CODE128 and DATAMATRIX only).
|
||||
|
||||
GS1SYNTAXENGINE_MODE Use the GS1 Syntax Engine (if available) to strictly
|
||||
validate GS1 input.
|
||||
@@ -2909,7 +2911,8 @@ Standard Code 2 of 5.
|
||||
|
||||
6.1.2.5 Code 2 of 5 Data Logic
|
||||
|
||||
Data Logic can encode numeric input (digits 0-9) up to a maximum of 113 digits.
|
||||
Data Logic, also known as China Post or Hong Kong 2 of 5, can encode numeric
|
||||
input (digits 0-9) up to a maximum of 113 digits.
|
||||
|
||||
[zint -b C25LOGIC -d "9212320967"]
|
||||
|
||||
@@ -3874,7 +3877,7 @@ pharmaceuticals. The symbology is able to encode whole numbers between 4 and
|
||||
6.4.2 POSTNET
|
||||
|
||||
Used by the United States Postal Service until 2009, the POSTNET barcode was
|
||||
used for encoding zip-codes on mail items. POSTNET uses numerical input data and
|
||||
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 up
|
||||
to 38 digits in length, standard lengths as used by USPS were PostNet6 (5-digit
|
||||
ZIP input), PostNet10 (5-digit ZIP + 4-digit user data) and PostNet12 (5-digit
|
||||
@@ -3948,28 +3951,28 @@ 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. The first 8 digits is the DPID.
|
||||
determined by the length and type of the input data as shown in the following
|
||||
table, where C means any valid character.
|
||||
|
||||
---------------------------------------------------------------
|
||||
Input Required Input Format Symbol FCC Encoding
|
||||
Length Length Table(s)
|
||||
--------- --------------------------- -------- ----- ----------
|
||||
8 99999999 37-bar 11 N
|
||||
-----------------------------------------------------------------
|
||||
Input DPID Customer Data Symbol FCC Encoding
|
||||
Length (required) (optional) Length Table(s)
|
||||
-------- -------------- --------------- -------- ----- ----------
|
||||
1-8 1 to 8 digits None 37 bars 11 N
|
||||
|
||||
13 99999999AAAAA 52-bar 59 N and C
|
||||
9-13 8 digits 1 to 5 C 52 bars 59 N and C
|
||||
|
||||
16 9999999999999999 52-bar 59 N
|
||||
9-16 8 digits 1 to 8 digits 52 bars 59 N
|
||||
|
||||
18 99999999AAAAAAAAAA 67-bar 62 N and C
|
||||
9-18 8 digits 1 to 10 C 67 bars 62 N and C
|
||||
|
||||
23 99999999999999999999999 67-bar 62 N
|
||||
---------------------------------------------------------------
|
||||
9-23 8 digits 1 to 15 digits 67 bars 62 N
|
||||
-----------------------------------------------------------------
|
||||
|
||||
Table 23: Australia Post Input Formats
|
||||
|
||||
The special Null FCC 00, non-machine readable and intended for customer use
|
||||
only, is used (all input lengths) if the DPID is all zeroes.
|
||||
The special Null FCC 00, intended for customer use only, is used (all input
|
||||
lengths) if the DPID is all zeroes.
|
||||
|
||||
6.5.1.2 Reply Paid Barcode
|
||||
|
||||
@@ -4062,9 +4065,9 @@ PLANET symbologies in 2009.
|
||||
|
||||
[zint -b USPS_IMAIL --compliantheight -d "01234567094987654321-01234"]
|
||||
|
||||
Intelligent Mail is a fixed length (65-bar) symbol which combines routing and
|
||||
Intelligent Mail 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
|
||||
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:
|
||||
|
||||
@@ -4663,6 +4666,11 @@ approximately 3823 numeric or 3067 alphabetic characters or 1914 bytes of data.
|
||||
A separate symbology ID (BARCODE_HIBC_AZTEC) can be used to encode Health
|
||||
Industry Barcode (HIBC) data.
|
||||
|
||||
Manual insertion of FNC1 is possible using the --extraesc option (API
|
||||
input_mode |= EXTRA_ESCAPE_MODE), which apart from processing normal escape
|
||||
sequences also processes the extra escape sequences given in Table 3: Extra
|
||||
Escape Sequences - see 6.6.1 Data Matrix (ISO 16022) for details.
|
||||
|
||||
For a faster but less optimal encodation, the --fast option (API
|
||||
input_mode |= FAST_MODE) may be used.
|
||||
|
||||
@@ -4933,8 +4941,8 @@ as shown in the table below.
|
||||
------------- ----------------------------------------------------------------
|
||||
A Used for courtesy reply mail and metered reply mail with a
|
||||
pre-printed POSTNET symbol.
|
||||
B Used for business reply mail without a pre-printed zip code.
|
||||
C Used for business reply mail with a pre-printed zip code.
|
||||
B Used for business reply mail without a pre-printed ZIP code.
|
||||
C Used for business reply mail with a pre-printed ZIP code.
|
||||
D Used for Information Based Indicia (IBI) postage.
|
||||
E Used for customized mail with a USPS Intelligent Mail barcode.
|
||||
|
||||
@@ -5459,11 +5467,11 @@ OPTIONS
|
||||
--extraesc
|
||||
|
||||
As well as processing the normal escape sequences above, process the special
|
||||
escape sequences beginning with \^. For Code 128 and Data Matrix, process
|
||||
the escape sequence \^1 that inserts an FNC1 character, and the escaping
|
||||
sequence \^^ that encodes a literal \^. For Code 128 only, process the
|
||||
escape sequences \^A, \^B, \^C and \^@ that allow manual switching of Code
|
||||
Sets. The sequence \^@ turns off manual switching.
|
||||
escape sequences beginning with \^. For Aztec Code, Code 128 and Data
|
||||
Matrix, process the escape sequence \^1 that inserts an FNC1 character, and
|
||||
the escaping sequence \^^ that encodes a literal \^. For Code 128 only,
|
||||
process the escape sequences \^A, \^B, \^C and \^@ that allow manual
|
||||
switching of Code Sets. The sequence \^@ turns off manual switching.
|
||||
|
||||
--fast
|
||||
|
||||
|
||||
+1
-1
@@ -215,7 +215,7 @@ The escape sequences are:
|
||||
\f[CR]\-\-extraesc\f[R]
|
||||
As well as processing the normal escape sequences above, process the
|
||||
special escape sequences beginning with \f[CR]\(rs\(ha\f[R].
|
||||
For Code 128 and Data Matrix, process the escape sequence
|
||||
For Aztec Code, Code 128 and Data Matrix, process the escape sequence
|
||||
\f[CR]\(rs\(ha1\f[R] that inserts an \f[CR]FNC1\f[R] character, and the
|
||||
escaping sequence \f[CR]\(rs\(ha\(ha\f[R] that encodes a literal
|
||||
\f[CR]\(rs\(ha\f[R].
|
||||
|
||||
+3
-3
@@ -194,9 +194,9 @@ Paintbrush (`PCX`), Portable Network Format (`PNG`), Scalable Vector Graphic (`S
|
||||
`--extraesc`
|
||||
|
||||
: As well as processing the normal escape sequences above, process the special escape sequences beginning with `\^`.
|
||||
For Code 128 and Data Matrix, process the escape sequence `\^1` that inserts an `FNC1` character, and the escaping
|
||||
sequence `\^^` that encodes a literal `\^`. For Code 128 only, process the escape sequences `\^A`, `\^B`, `\^C`
|
||||
and `\^@` that allow manual switching of Code Sets. The sequence `\^@` turns off manual switching.
|
||||
For Aztec Code, Code 128 and Data Matrix, process the escape sequence `\^1` that inserts an `FNC1` character, and
|
||||
the escaping sequence `\^^` that encodes a literal `\^`. For Code 128 only, process the escape sequences `\^A`,
|
||||
`\^B`, `\^C` and `\^@` that allow manual switching of Code Sets. The sequence `\^@` turns off manual switching.
|
||||
|
||||
`--fast`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user