mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-02 17:57:13 +00:00
- BMP/EMF/EPS/GIF/PCX/PNG/SVG/TIF/TXT: check for errors on writing
to output file; ZBarcode_Encode_File: check `fseek()` for errors (ticket #275) - man page: fix Code 11 check digit info - manual/man page: document octal escape; Code 128 subset/mode -> Code Set
This commit is contained in:
@@ -492,15 +492,20 @@ Sequence Equivalent
|
||||
|
||||
`\\` 0x5C `\` Backslash
|
||||
|
||||
`\dNNN` NNN Any 8-bit character where NNN is decimal (0-255)
|
||||
`\dNNN` NNN Any 8-bit character where NNN is decimal
|
||||
(000-255)
|
||||
|
||||
`\oNNN` 0oNNN Any 8-bit character where NNN is octal
|
||||
(000-377)
|
||||
|
||||
`\xNN` 0xNN Any 8-bit character where NN is hexadecimal
|
||||
(00-FF)
|
||||
|
||||
`\uNNNN` Any 16-bit Unicode BMP[^2] character where
|
||||
NNNN is hexadecimal
|
||||
NNNN is hexadecimal (0000-FFFF)
|
||||
|
||||
`\UNNNNNN` Any 21-bit Unicode character where NNNNNN
|
||||
is hexadecimal (maximum 0x10FFFF)
|
||||
is hexadecimal (000000-10FFFF)
|
||||
---------------------------------------------------------------------------
|
||||
|
||||
Table: {#tbl:escape_sequences tag=": Escape Sequences"}
|
||||
@@ -593,7 +598,7 @@ Value
|
||||
|
||||
18 `BARCODE_CODABAR` Codabar
|
||||
|
||||
20 `BARCODE_CODE128` Code 128 (automatic subset switching)
|
||||
20 `BARCODE_CODE128` Code 128 (automatic Code Set switching)
|
||||
|
||||
21 `BARCODE_DPLEIT` Deutsche Post Leitcode
|
||||
|
||||
@@ -648,7 +653,7 @@ Value
|
||||
|
||||
58 `BARCODE_QRCODE` QR Code
|
||||
|
||||
60 `BARCODE_CODE128AB` Code 128 (Suppress subset C)
|
||||
60 `BARCODE_CODE128AB` Code 128 (Suppress Code Set C)
|
||||
|
||||
63 `BARCODE_AUSPOST` Australia Post Standard Customer
|
||||
|
||||
@@ -2776,20 +2781,22 @@ pharmaceuticals. The symbology is able to encode whole numbers between 3 and
|
||||
|
||||
One of the most ubiquitous one-dimensional barcode symbologies, Code 128 was
|
||||
developed in 1981 by Computer Identics. This symbology supports full ASCII text
|
||||
and uses a three-mode system to compress the data into a smaller symbol. Zint
|
||||
automatically switches between modes and adds a modulo-103 check digit. Code
|
||||
128 is the default barcode symbology used by Zint. In addition Zint supports
|
||||
the encoding of ISO/IEC 8859-1 (non-English) characters in Code 128 symbols. The
|
||||
ISO/IEC 8859-1 character set is shown in Appendix [A.2 Latin Alphabet No. 1
|
||||
(ISO/IEC 8859-1)].
|
||||
and uses a three-Code Set system to compress the data into a smaller symbol.
|
||||
Zint automatically switches between Code Sets A, B and C and adds a modulo-103
|
||||
check digit.
|
||||
|
||||
#### 6.1.10.2 Code 128 Suppress Subset C (Subsets A and B only)
|
||||
Code 128 is the default barcode symbology used by Zint. In addition Zint
|
||||
supports the encoding of ISO/IEC 8859-1 (non-English) characters in Code 128
|
||||
symbols. The ISO/IEC 8859-1 character set is shown in Appendix [A.2 Latin
|
||||
Alphabet No. 1 (ISO/IEC 8859-1)].
|
||||
|
||||
#### 6.1.10.2 Code 128 Suppress Code Set C (Code Sets A and B only)
|
||||
|
||||

|
||||
|
||||
It is sometimes advantageous to stop Code 128 from using subset mode C which
|
||||
It is sometimes advantageous to stop Code 128 from using Code Set C which
|
||||
compresses numerical data. The `BARCODE_CODE128AB`[^10] variant (symbology 60)
|
||||
suppresses mode C in favour of modes A and B.
|
||||
suppresses Code Set C in favour of Code Sets A and B.
|
||||
|
||||
[^10]: `BARCODE_CODE128AB` previously used the name `BARCODE_CODE128B`, which is
|
||||
still recognised.
|
||||
|
||||
@@ -106,7 +106,7 @@ December 2022
|
||||
- 6.1.9 Pharmacode
|
||||
- 6.1.10 Code 128
|
||||
- 6.1.10.1 Standard Code 128 (ISO 15417)
|
||||
- 6.1.10.2 Code 128 Suppress Subset C (Subsets A and B only)
|
||||
- 6.1.10.2 Code 128 Suppress Code Set C (Code Sets A and B only)
|
||||
- 6.1.10.3 GS1-128
|
||||
- 6.1.10.4 EAN-14
|
||||
- 6.1.10.5 NVE-18 (SSCC-18)
|
||||
@@ -646,15 +646,19 @@ sequences are shown in the table below.
|
||||
\\ 0x5C \ Backslash
|
||||
|
||||
\dNNN NNN Any 8-bit character where NNN is decimal
|
||||
(0-255)
|
||||
(000-255)
|
||||
|
||||
\oNNN 0oNNN Any 8-bit character where NNN is octal
|
||||
(000-377)
|
||||
|
||||
\xNN 0xNN Any 8-bit character where NN is hexadecimal
|
||||
(00-FF)
|
||||
|
||||
\uNNNN Any 16-bit Unicode BMP[2] character where
|
||||
NNNN is hexadecimal
|
||||
NNNN is hexadecimal (0000-FFFF)
|
||||
|
||||
\UNNNNNN Any 21-bit Unicode character where NNNNNN
|
||||
is hexadecimal (maximum 0x10FFFF)
|
||||
is hexadecimal (000000-10FFFF)
|
||||
----------------------------------------------------------------------------
|
||||
|
||||
: Table : Escape Sequences:
|
||||
@@ -731,7 +735,7 @@ underscores are optional.
|
||||
|
||||
18 BARCODE_CODABAR Codabar
|
||||
|
||||
20 BARCODE_CODE128 Code 128 (automatic subset switching)
|
||||
20 BARCODE_CODE128 Code 128 (automatic Code Set switching)
|
||||
|
||||
21 BARCODE_DPLEIT Deutsche Post Leitcode
|
||||
|
||||
@@ -786,7 +790,7 @@ underscores are optional.
|
||||
|
||||
58 BARCODE_QRCODE QR Code
|
||||
|
||||
60 BARCODE_CODE128AB Code 128 (Suppress subset C)
|
||||
60 BARCODE_CODE128AB Code 128 (Suppress Code Set C)
|
||||
|
||||
63 BARCODE_AUSPOST Australia Post Standard Customer
|
||||
|
||||
@@ -2729,20 +2733,22 @@ pharmaceuticals. The symbology is able to encode whole numbers between 3 and
|
||||
|
||||
One of the most ubiquitous one-dimensional barcode symbologies, Code 128 was
|
||||
developed in 1981 by Computer Identics. This symbology supports full ASCII text
|
||||
and uses a three-mode system to compress the data into a smaller symbol. Zint
|
||||
automatically switches between modes and adds a modulo-103 check digit. Code 128
|
||||
is the default barcode symbology used by Zint. In addition Zint supports the
|
||||
encoding of ISO/IEC 8859-1 (non-English) characters in Code 128 symbols. The
|
||||
ISO/IEC 8859-1 character set is shown in Appendix A.2 Latin Alphabet No. 1
|
||||
(ISO/IEC 8859-1).
|
||||
and uses a three-Code Set system to compress the data into a smaller symbol.
|
||||
Zint automatically switches between Code Sets A, B and C and adds a modulo-103
|
||||
check digit.
|
||||
|
||||
6.1.10.2 Code 128 Suppress Subset C (Subsets A and B only)
|
||||
Code 128 is the default barcode symbology used by Zint. In addition Zint
|
||||
supports the encoding of ISO/IEC 8859-1 (non-English) characters in Code 128
|
||||
symbols. The ISO/IEC 8859-1 character set is shown in Appendix A.2 Latin
|
||||
Alphabet No. 1 (ISO/IEC 8859-1).
|
||||
|
||||
6.1.10.2 Code 128 Suppress Code Set C (Code Sets A and B only)
|
||||
|
||||
[zint -b CODE128AB -d "130170X178"]
|
||||
|
||||
It is sometimes advantageous to stop Code 128 from using subset mode C which
|
||||
It is sometimes advantageous to stop Code 128 from using Code Set C which
|
||||
compresses numerical data. The BARCODE_CODE128AB[10] variant (symbology 60)
|
||||
suppresses mode C in favour of modes A and B.
|
||||
suppresses Code Set C in favour of Code Sets A and B.
|
||||
|
||||
6.1.10.3 GS1-128
|
||||
|
||||
@@ -4497,8 +4503,10 @@ OPTIONS
|
||||
\\ (0x5C) \ Backslash
|
||||
\dNNN (NNN) Any 8-bit character where NNN is
|
||||
decimal (000-255)
|
||||
\oNNN (0oNNN) Any 8-bit character where NNN is
|
||||
octal (000-377)
|
||||
\xNN (0xNN) Any 8-bit character where NN is
|
||||
hexadecimal
|
||||
hexadecimal (00-FF)
|
||||
\uNNNN (U+NNNN) Any 16-bit Unicode BMP character
|
||||
where NNNN is hexadecimal
|
||||
\UNNNNNN (U+NNNNNN) Any 21-bit Unicode character
|
||||
@@ -4749,8 +4757,10 @@ OPTIONS
|
||||
C25LOGIC ditto
|
||||
C25STANDARD ditto
|
||||
Codabar 1 or 2 (add hidden or visible check digit)
|
||||
Code 11 0 or 1 (no or 1 visible check digit only)
|
||||
(default is 2 visible check digits)
|
||||
Code 11 0 to 2 (2 visible check digits to none)
|
||||
0 (default 2 visible check digits)
|
||||
1 (1 visible check digit)
|
||||
2 (no check digits)
|
||||
Code 39 1 (add visible check digit)
|
||||
Code 93 1 (hide the default check characters)
|
||||
EXCODE39 1 (add visible check digit)
|
||||
|
||||
10
docs/zint.1
10
docs/zint.1
@@ -187,8 +187,10 @@ The escape sequences are:
|
||||
\[rs]\[rs] (0x5C) \[rs] Backslash
|
||||
\[rs]dNNN (NNN) Any 8-bit character where NNN is
|
||||
decimal (000-255)
|
||||
\[rs]oNNN (0oNNN) Any 8-bit character where NNN is
|
||||
octal (000-377)
|
||||
\[rs]xNN (0xNN) Any 8-bit character where NN is
|
||||
hexadecimal
|
||||
hexadecimal (00-FF)
|
||||
\[rs]uNNNN (U+NNNN) Any 16-bit Unicode BMP character
|
||||
where NNNN is hexadecimal
|
||||
\[rs]UNNNNNN (U+NNNNNN) Any 21-bit Unicode character
|
||||
@@ -466,8 +468,10 @@ C25INTER ditto
|
||||
C25LOGIC ditto
|
||||
C25STANDARD ditto
|
||||
Codabar 1 or 2 (add hidden or visible check digit)
|
||||
Code 11 0 or 1 (no or 1 visible check digit only)
|
||||
(default is 2 visible check digits)
|
||||
Code 11 0 to 2 (2 visible check digits to none)
|
||||
0 (default 2 visible check digits)
|
||||
1 (1 visible check digit)
|
||||
2 (no check digits)
|
||||
Code 39 1 (add visible check digit)
|
||||
Code 93 1 (hide the default check characters)
|
||||
EXCODE39 1 (add visible check digit)
|
||||
|
||||
@@ -139,8 +139,10 @@ Paintbrush (`PCX`), Portable Network Format (`PNG`), Scalable Vector Graphic (`S
|
||||
\\ (0x5C) \ Backslash
|
||||
\dNNN (NNN) Any 8-bit character where NNN is
|
||||
decimal (000-255)
|
||||
\oNNN (0oNNN) Any 8-bit character where NNN is
|
||||
octal (000-377)
|
||||
\xNN (0xNN) Any 8-bit character where NN is
|
||||
hexadecimal
|
||||
hexadecimal (00-FF)
|
||||
\uNNNN (U+NNNN) Any 16-bit Unicode BMP character
|
||||
where NNNN is hexadecimal
|
||||
\UNNNNNN (U+NNNNNN) Any 21-bit Unicode character
|
||||
@@ -368,8 +370,10 @@ Paintbrush (`PCX`), Portable Network Format (`PNG`), Scalable Vector Graphic (`S
|
||||
C25LOGIC ditto
|
||||
C25STANDARD ditto
|
||||
Codabar 1 or 2 (add hidden or visible check digit)
|
||||
Code 11 0 or 1 (no or 1 visible check digit only)
|
||||
(default is 2 visible check digits)
|
||||
Code 11 0 to 2 (2 visible check digits to none)
|
||||
0 (default 2 visible check digits)
|
||||
1 (1 visible check digit)
|
||||
2 (no check digits)
|
||||
Code 39 1 (add visible check digit)
|
||||
Code 93 1 (hide the default check characters)
|
||||
EXCODE39 1 (add visible check digit)
|
||||
|
||||
Reference in New Issue
Block a user