mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-10 13:36:02 +00:00
CLI: --gs1XXX args now imply `--gs1
GUI: fix chkGS1Strict enabling on startup regression from previous commit; update CLI equivalence with --gs1strict & adjust for implied --gs1; add tests CMake: allow lpng/zlib and gs1encoders to take paths (for Windows) win32/README: simplify locating lpng/zlib/gs1encoders for cmake using above; add note on 64-bit build manual/man page: adjust for various above changes
This commit is contained in:
@@ -1353,12 +1353,13 @@ Interpretations) mechanism to encode the data if the symbology supports it - see
|
||||
|
||||
GS1 data can be encoded in a number of symbologies. Application Identifiers
|
||||
(AIs) should be enclosed in [square brackets] followed by the data to be encoded
|
||||
(see 6.1.10.3 GS1-128). GS1 Digital Link URIs are also supported. To encode GS1
|
||||
data use the --gs1 option. Also recommended is the --gs1strict option, which
|
||||
verifies the GS1 data. GS1 mode is assumed (and doesn’t need to be set) for
|
||||
GS1-128, EAN-14, GS1 DataBar and GS1 Composite symbologies but is also available
|
||||
for Aztec Code, Code 16K, Code 49, Code One, Data Matrix, DotCode, QR Code and
|
||||
Ultracode.
|
||||
(see 6.1.10.3 GS1-128). For matrix symbologies, GS1 Digital Link URIs are also
|
||||
supported. To encode GS1 data use the --gs1 option. Alternatively, use the
|
||||
--gs1strict option, which strictly verifies the GS1 data.
|
||||
|
||||
GS1 mode is assumed (and doesn’t need to be set) for GS1-128, EAN-14, GS1
|
||||
DataBar and GS1 Composite symbologies but is also available for Aztec Code, Code
|
||||
16K, Code 49, Code One, Data Matrix, DotCode, QR Code and Ultracode.
|
||||
|
||||
Health Industry Barcode (HIBC) data may also be encoded in the symbologies Aztec
|
||||
Code, Codablock-F, Code 128, Code 39, Data Matrix, MicroPDF417, PDF417 and QR
|
||||
@@ -2368,7 +2369,7 @@ member. Valid values are shown in the table below.
|
||||
|
||||
GS1PARENS_MODE Parentheses (round brackets) used in GS1 data instead
|
||||
of square brackets to delimit Application Identifiers
|
||||
(parentheses in the data must be escaped).
|
||||
(opening parentheses in the data must be escaped).
|
||||
|
||||
GS1NOCHECK_MODE Do not check GS1 data for validity, i.e. suppress
|
||||
checks for valid AIs and data lengths. Invalid
|
||||
@@ -3226,9 +3227,9 @@ inclusion of parentheses in the AI data without escaping.
|
||||
|
||||
For compatibility with data entry in other systems, the option --gs1parens (API
|
||||
input_mode |= GS1PARENS_MODE) may be used to signal that AIs are encased in
|
||||
parentheses. If there are any parentheses in the AI data, they must be escaped
|
||||
with a backslash (\( or \)) and the option --esc (API input_mode |= ESCAPE_MODE)
|
||||
selected.
|
||||
parentheses. If there are any opening parentheses in the AI data, they must be
|
||||
escaped with a backslash (\(). Optionally, for clarity, closing parentheses may
|
||||
also be escaped,
|
||||
|
||||
Fixed length data should be entered at the appropriate length for correct
|
||||
encoding. GS1-128 does not support extended ASCII (ISO/IEC 8859-1) characters.
|
||||
@@ -5259,22 +5260,25 @@ OPTIONS
|
||||
--gs1
|
||||
|
||||
Treat input as GS1 compatible data. Application Identifiers (AIs) should be
|
||||
placed in square brackets "[]" (but see --gs1parens).
|
||||
placed in square brackets "[]" (but see --gs1parens). Also accepts GS1
|
||||
Digital Link URIs (unverified) for matrix symbologies.
|
||||
|
||||
--gs1nocheck
|
||||
|
||||
Do not check the validity of GS1 data.
|
||||
Treat input as GS1 compatible data (as --gs1) but do not check the validity
|
||||
of the data.
|
||||
|
||||
--gs1parens
|
||||
|
||||
Process parentheses "()" as GS1 AI delimiters, rather than square brackets
|
||||
"[]". If the AI data contains parentheses, they must be backslashed ("\(" or
|
||||
"\)") and the --esc option selected.
|
||||
Treat input as GS1 compatible data (as --gs1) but process parentheses "()"
|
||||
as GS1 AI delimiters, rather than square brackets "[]". If the AI data
|
||||
contains opening parentheses, they must be backslashed ("\(").
|
||||
|
||||
--gs1strict
|
||||
|
||||
Uses the GS1 Syntax Engine (if available) to strictly verify GS1 data.
|
||||
Ignored if --gs1nocheck also given.
|
||||
Treat input as GS1 compatible data (as --gs1) and use the GS1 Syntax Engine
|
||||
(if available) to strictly verify the GS1 data, including GS1 Digital Link
|
||||
URIs. Ignored if --gs1nocheck also given.
|
||||
|
||||
--gssep
|
||||
|
||||
|
||||
Reference in New Issue
Block a user