- 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:
gitlost
2022-12-19 16:28:15 +00:00
parent a54bdc0299
commit 268fdd7fc2
18 changed files with 318 additions and 140 deletions

View File

@ -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)