mirror of
https://git.code.sf.net/p/zint/code
synced 2026-05-08 15:13:50 +00:00
CLI: add ZINT_TEST-only "--test" option (currently just ensures
the barcode name table is sorted so binary chop works), adding `ZINT_HAVE_GS1SE` define to "zint_add_test.cmake" - allows `test_barcode_symbology()` in "test_args.c" to be a lot less verbose; `const`-up various variables; manual: use better MAILMAKE_4S example data and mention special fixed string international destination
This commit is contained in:
@@ -4,6 +4,6 @@
|
||||
<desc>Zint Generated Symbol</desc>
|
||||
<g id="barcode" fill="#000000">
|
||||
<rect x="0" y="0" width="1048" height="68" fill="#FFFFFF"/>
|
||||
<path d="M80 0h8v42.63h-8ZM160 0h8v42.63h-8ZM176 0h8v42.63h-8ZM256 0h8v42.63h-8ZM272 0h8v42.63h-8ZM352 0h8v42.63h-8ZM368 0h8v42.63h-8ZM496 0h8v42.63h-8ZM512 0h8v42.63h-8ZM544 0h8v42.63h-8ZM560 0h8v42.63h-8ZM608 0h8v42.63h-8ZM640 0h8v42.63h-8ZM656 0h8v42.63h-8ZM720 0h8v67.95h-8ZM736 0h8v42.63h-8ZM752 0h8v67.95h-8ZM832 0h8v42.63h-8ZM848 0h8v42.63h-8ZM928 0h8v42.63h-8ZM944 0h8v42.63h-8ZM960 0h8v67.95h-8ZM992 0h8v67.95h-8ZM1008 0h8v42.63h-8ZM1024 0h8v67.95h-8ZM1040 0h8v67.95h-8ZM0 25.31h8v17.32h-8ZM16 25.31h8v17.32h-8ZM32 25.31h8v42.63h-8ZM48 25.31h8v17.32h-8ZM64 25.31h8v17.32h-8ZM96 25.31h8v17.32h-8ZM112 25.31h8v17.32h-8ZM128 25.31h8v42.63h-8ZM144 25.31h8v17.32h-8ZM192 25.31h8v17.32h-8ZM208 25.31h8v17.32h-8ZM224 25.31h8v42.63h-8ZM240 25.31h8v17.32h-8ZM288 25.31h8v17.32h-8ZM304 25.31h8v17.32h-8ZM320 25.31h8v42.63h-8ZM336 25.31h8v17.32h-8ZM384 25.31h8v17.32h-8ZM400 25.31h8v17.32h-8ZM416 25.31h8v42.63h-8ZM432 25.31h8v17.32h-8ZM448 25.31h8v17.32h-8ZM464 25.31h8v42.63h-8ZM480 25.31h8v42.63h-8ZM528 25.31h8v17.32h-8ZM576 25.31h8v42.63h-8ZM592 25.31h8v42.63h-8ZM624 25.31h8v17.32h-8ZM672 25.31h8v17.32h-8ZM688 25.31h8v42.63h-8ZM704 25.31h8v42.63h-8ZM768 25.31h8v17.32h-8ZM784 25.31h8v42.63h-8ZM800 25.31h8v42.63h-8ZM816 25.31h8v17.32h-8ZM864 25.31h8v42.63h-8ZM880 25.31h8v42.63h-8ZM896 25.31h8v42.63h-8ZM912 25.31h8v17.32h-8ZM976 25.31h8v42.63h-8Z"/>
|
||||
<path d="M16 0h8v42.63h-8ZM32 0h8v42.63h-8ZM64 0h8v42.63h-8ZM128 0h8v42.63h-8ZM176 0h8v42.63h-8ZM192 0h8v42.63h-8ZM240 0h8v67.95h-8ZM256 0h8v42.63h-8ZM368 0h8v67.95h-8ZM400 0h8v67.95h-8ZM480 0h8v67.95h-8ZM496 0h8v67.95h-8ZM528 0h8v67.95h-8ZM560 0h8v42.63h-8ZM576 0h8v67.95h-8ZM608 0h8v42.63h-8ZM672 0h8v67.95h-8ZM688 0h8v67.95h-8ZM752 0h8v42.63h-8ZM784 0h8v42.63h-8ZM848 0h8v67.95h-8ZM864 0h8v42.63h-8ZM928 0h8v42.63h-8ZM944 0h8v67.95h-8ZM992 0h8v67.95h-8ZM1040 0h8v42.63h-8ZM0 25.31h8v42.63h-8ZM48 25.31h8v17.32h-8ZM80 25.31h8v17.32h-8ZM96 25.31h8v17.32h-8ZM112 25.31h8v17.32h-8ZM144 25.31h8v42.63h-8ZM160 25.31h8v17.32h-8ZM208 25.31h8v17.32h-8ZM224 25.31h8v17.32h-8ZM272 25.31h8v42.63h-8ZM288 25.31h8v42.63h-8ZM304 25.31h8v42.63h-8ZM320 25.31h8v42.63h-8ZM336 25.31h8v17.32h-8ZM352 25.31h8v17.32h-8ZM384 25.31h8v17.32h-8ZM416 25.31h8v42.63h-8ZM432 25.31h8v42.63h-8ZM448 25.31h8v42.63h-8ZM464 25.31h8v42.63h-8ZM512 25.31h8v42.63h-8ZM544 25.31h8v42.63h-8ZM592 25.31h8v17.32h-8ZM624 25.31h8v42.63h-8ZM640 25.31h8v42.63h-8ZM656 25.31h8v17.32h-8ZM704 25.31h8v17.32h-8ZM720 25.31h8v42.63h-8ZM736 25.31h8v42.63h-8ZM768 25.31h8v17.32h-8ZM800 25.31h8v42.63h-8ZM816 25.31h8v17.32h-8ZM832 25.31h8v17.32h-8ZM880 25.31h8v17.32h-8ZM896 25.31h8v17.32h-8ZM912 25.31h8v42.63h-8ZM960 25.31h8v42.63h-8ZM976 25.31h8v17.32h-8ZM1008 25.31h8v42.63h-8ZM1024 25.31h8v42.63h-8Z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
@@ -5968,9 +5968,9 @@ Mailmark</h3>
|
||||
includes Reed- Solomon error correction.</p>
|
||||
<figure>
|
||||
<img src="images/mailmark_4s.svg" class="trk"
|
||||
alt="zint -b MAILMARK_4S --compliantheight -d "1100000000000XY11"" />
|
||||
alt="zint -b MAILMARK_4S --compliantheight -d "21B2254800659JW5O9QA6Y"" />
|
||||
<figcaption><span class="figure-label">Figure 107:</span>
|
||||
<code>zint -b MAILMARK_4S --compliantheight -d "1100000000000XY11"</code></figcaption>
|
||||
<code>zint -b MAILMARK_4S --compliantheight -d "21B2254800659JW5O9QA6Y"</code></figcaption>
|
||||
</figure>
|
||||
<p>Input is a pre-formatted alphanumeric string of 22 (for Barcode C) or
|
||||
26 (for Barcode L) characters, producing a symbol with 66 or 78 bars
|
||||
@@ -6030,7 +6030,8 @@ Mailmark Destination+DPS Patterns</caption>
|
||||
<code>'S'</code> for space.</p>
|
||||
<p>Four of the permitted patterns include a number of trailing space
|
||||
characters - these will be appended by Zint if not included in the input
|
||||
data.</p>
|
||||
data. A special fixed string <code>"XY11 "</code> (5 trailing
|
||||
spaces, inclusion optional) designates an international destination.</p>
|
||||
<p>For the two-dimensional Data Matrix-based version, see <a
|
||||
href="#royal-mail-2d-mailmark-cmdm-data-matrix">6.6.2 Royal Mail 2D
|
||||
Mailmark (CMDM) (Data Matrix)</a>.</p>
|
||||
|
||||
@@ -4074,7 +4074,7 @@ Developed in 2014 as a replacement for RM4SCC this 4-state symbol includes Reed-
|
||||
Solomon error correction.
|
||||
|
||||
{.trk}
|
||||
"21B2254800659JW5O9QA6Y"`](images/mailmark_4s.svg){.trk}
|
||||
|
||||
Input is a pre-formatted alphanumeric string of 22 (for Barcode C) or 26 (for
|
||||
Barcode L) characters, producing a symbol with 66 or 78 bars respectively. The
|
||||
@@ -4104,7 +4104,9 @@ where `'A'` stands for full alphabetic (A-Z), `'L'` for limited alphabetic (A-Z
|
||||
less `'CIKMOV'`), `'N'` for numeric (0-9), and `'S'` for space.
|
||||
|
||||
Four of the permitted patterns include a number of trailing space characters -
|
||||
these will be appended by Zint if not included in the input data.
|
||||
these will be appended by Zint if not included in the input data. A special
|
||||
fixed string `"XY11 "` (5 trailing spaces, inclusion optional) designates an
|
||||
international destination.
|
||||
|
||||
For the two-dimensional Data Matrix-based version, see [6.6.2 Royal Mail 2D
|
||||
Mailmark (CMDM) (Data Matrix)].
|
||||
|
||||
@@ -3898,7 +3898,7 @@ Zint.
|
||||
Developed in 2014 as a replacement for RM4SCC this 4-state symbol includes Reed-
|
||||
Solomon error correction.
|
||||
|
||||
[zint -b MAILMARK_4S --compliantheight -d "1100000000000XY11"]
|
||||
[zint -b MAILMARK_4S --compliantheight -d "21B2254800659JW5O9QA6Y"]
|
||||
|
||||
Input is a pre-formatted alphanumeric string of 22 (for Barcode C) or 26 (for
|
||||
Barcode L) characters, producing a symbol with 66 or 78 bars respectively. The
|
||||
@@ -3930,7 +3930,9 @@ where 'A' stands for full alphabetic (A-Z), 'L' for limited alphabetic (A-Z less
|
||||
'CIKMOV'), 'N' for numeric (0-9), and 'S' for space.
|
||||
|
||||
Four of the permitted patterns include a number of trailing space characters -
|
||||
these will be appended by Zint if not included in the input data.
|
||||
these will be appended by Zint if not included in the input data. A special
|
||||
fixed string "XY11 " (5 trailing spaces, inclusion optional) designates an
|
||||
international destination.
|
||||
|
||||
For the two-dimensional Data Matrix-based version, see 6.6.2 Royal Mail 2D
|
||||
Mailmark (CMDM) (Data Matrix).
|
||||
|
||||
@@ -114,7 +114,7 @@ zint -b AUSREPLY --compliantheight -d "12345678" --scale=$SCALE_TRACK -o images/
|
||||
zint -b AUSREDIRECT --compliantheight -d "98765432" --scale=$SCALE_TRACK -o images/ausredirect.svg
|
||||
zint -b KIX --compliantheight -d "2500GG30250" --scale=$SCALE_TRACK -o images/kix.svg
|
||||
zint -b RM4SCC --compliantheight -d "W1J0TR01" --scale=$SCALE_TRACK -o images/rm4scc.svg
|
||||
zint -b MAILMARK_4S --compliantheight -d "1100000000000XY11" --scale=$SCALE_TRACK -o images/mailmark_4s.svg
|
||||
zint -b MAILMARK_4S --compliantheight -d "21B2254800659JW5O9QA6Y" --scale=$SCALE_TRACK -o images/mailmark_4s.svg
|
||||
zint -b USPS_IMAIL --compliantheight -d "01234567094987654321-01234" --scale=$SCALE_TRACK -o images/usps_imail.svg
|
||||
zint -b JAPANPOST --compliantheight -d "15400233-16-4-205" --scale=$SCALE_TRACK -o images/japanpost.svg
|
||||
zint -b HIBC_DM -d "/ACMRN123456/V200912190833" --fast --square --scale=$SCALE_2D_BIGGER -o images/hibc_dm.svg
|
||||
|
||||
Reference in New Issue
Block a user