Debian Codegraph @

texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.tex

raw
1 \hypertarget{symbology-reference}{%
2 \section{Symbology Reference}\label{symbology-reference}}
3
4 \hypertarget{point-of-sale}{%
5 \subsection{Point of Sale}\label{point-of-sale}}
6
7 \hypertarget{ean-13}{%
8 \subsubsection{EAN-13}\label{ean-13}}
9
10 \textbf{EAN-13} is an extension of the \protect\hyperlink{upc-a}{UPC-A}
11 barcode symbology that usually carries a GTIN-13. It was designed by the
12 International Article Numbering Association in 1976 for identification
13 of retail goods at point of sale outside of the US.
14
15
16 Also known as: EAN, UCC-13, European Article Number, International
17 Article Number, JAN, JAN-13, IAN, WPC, SAAN, UCCET, ABAC, BCCI, ICA,
18 MANA, KANC, ANA, ANC.
19
20 Variants:
21
22 \begin{itemize}
23 \tightlist
24 \item
25 EAN-13+2 is an extension of EAN-13 that includes a
26 \protect\hyperlink{ean-2}{two-digit add-on}.
27 \item
28 EAN-13+5 is an extension of EAN-13 that includes a
29 \protect\hyperlink{ean-5}{five-digit add-on}.
30 \item
31 EAN-99 is a special form of EAN-13 starting with \texttt{99} that is
32 used as an in-store coupon.
33 \item
34 \protect\hyperlink{ean-8}{EAN-8} is a barcode symbology derived from
35 EAN-13 that is designed for small packaging. It uses a distinct
36 numbering system based on GTIN-8.
37 \item
38 \protect\hyperlink{isbn}{ISBN} is a variant of EAN-13 used to identify
39 books.
40 \item
41 \protect\hyperlink{ismn}{ISMN} is a variant of EAN-13 used to identify
42 printed music.
43 \item
44 \protect\hyperlink{issn}{ISSN} is a variant of EAN-13 used to identify
45 periodicals.
46 \item
47 \protect\hyperlink{gs1-composite-symbols}{EAN-13 Composite} is a
48 variant of EAN-13 that should be used when a CC-A or CC-B GS1
49 Composite 2D component is required.
50 \end{itemize}
51
52 Standards: ISO/IEC 15420, BS EN 797, GS1 General Specifications.
53
54 \hypertarget{data-and-options}{%
55 \paragraph{Data and Options}\label{data-and-options}}
56
57 \begin{itemize}
58 \tightlist
59 \item
60 The data field for a EAN-13 may contain twelve or thirteen digits,
61 optionally followed by a space then two or five digits if an
62 \protect\hyperlink{ean-2}{EAN-2} or \protect\hyperlink{ean-5}{EAN-5}
63 add-on is required.
64 \item
65 If twelve digits of primary data are supplied then the check digit is
66 calculated automatically. Otherwise the provided check digit will be
67 verified.
68 \item
69 The \textbf{includetext} option should normally be supplied.
70 \item
71 The \textbf{guardwhitespace} option enables the display of whitespace
72 guard marks.
73 \end{itemize}
74
75 \hypertarget{examples}{%
76 \paragraph{Examples}\label{examples}}
77
78 Identical symbols, input provided with and without a check digit:
79
80 %\begin{verbatim}
81 %Data: 9771473968012
82 %Options: includetext guardwhitespace
83 %Encoder: ean13
84 %\end{verbatim}
85
86 \begin{exampleA}[righthand width=1.6in]{ean13}
87 \begin{pspicture}(0,-8pt)(1.5in,1in)
88 \psbarcode{9771473968012}{includetext guardwhitespace}{ean13}
89 \end{pspicture}
90 \end{exampleA}
91
92 %\begin{verbatim}
93 %Data: 977147396801
94 %Options: includetext guardwhitespace
95 %Encoder: ean13
96 %\end{verbatim}
97
98 \begin{exampleA}[righthand width=1.6in]{ean13 -- 12 digit}
99 \begin{pspicture}(0,-8pt)(1.5in,1in)
100 \psbarcode{977147396801}{includetext guardwhitespace}{ean13}
101 \end{pspicture}
102 \end{exampleA}
103
104
105 %\includegraphics{images/ean13-1}
106
107 A symbol that includes a \protect\hyperlink{ean-5}{five-digit add-on}:
108
109 %\begin{verbatim}
110 %Data: 9771473968012 54499
111 %Options: includetext guardwhitespace
112 %Encoder: ean13
113 %\end{verbatim}
114
115 \begin{exampleA}[righthand width=2.5in]{ean13 -- 5-digit addon}
116 \begin{pspicture}(0,-8pt)(2.5in,1in)
117 \psbarcode{9771473968012 54499}{includetext guardwhitespace}{ean13}
118 \end{pspicture}
119 \end{exampleA}
120
121
122
123 %\includegraphics{images/ean13-2}
124
125 \hypertarget{ean-8}{%
126 \subsubsection{EAN-8}\label{ean-8}}
127
128 \textbf{EAN-8} is derived from the \protect\hyperlink{ean-13}{EAN-13}
129 barcode symbology and is designed for small packaging. It usually
130 carries a GTIN-8.
131
132 Also known as: UCC-8, JAN-8.
133
134 Variants:
135
136 \begin{itemize}
137 \tightlist
138 \item
139 EAN-8+2 is an extension of EAN-8 that includes a
140 \protect\hyperlink{ean-2}{two-digit add-on}.
141 \item
142 EAN-8+5 is an extension of EAN-8 that includes a
143 \protect\hyperlink{ean-5}{five-digit add-on}.
144 \item
145 EAN-Velocity is a special form of EAN-8 starting with \texttt{0} that
146 is used for in-store coupons.
147 \item
148 \protect\hyperlink{ean-13}{EAN-13} is a longer variant of EAN-8 which
149 has a distinct number system based on GTIN-13.
150 \item
151 \protect\hyperlink{gs1-composite-symbols}{EAN-8 Composite} is a
152 variant of EAN-8 that should be used when a CC-A or CC-B GS1 composite
153 2D component is required.
154 \end{itemize}
155
156 Standards: ISO/IEC 15420, BS EN 797, GS1 General Specifications.
157
158 \hypertarget{data-and-options-1}{%
159 \paragraph{Data and Options}\label{data-and-options-1}}
160
161 \begin{itemize}
162 \tightlist
163 \item
164 The data field takes either seven or eight digits, optionally followed
165 by a space then two or five digits if an
166 \protect\hyperlink{ean-2}{EAN-2} or \protect\hyperlink{ean-5}{EAN-5}
167 add-on is required.
168 \item
169 If seven digits of primary data are supplied then the check digit is
170 calculated automatically. Otherwise the provided check digit will be
171 verified.
172 \item
173 The \textbf{includetext} option should normally be supplied.
174 \item
175 The \textbf{guardwhitespace} option enables the display of whitespace
176 guard marks.
177 \end{itemize}
178
179 \hypertarget{examples-1}{%
180 \paragraph{Examples}\label{examples-1}}
181
182 Identical symbols, input provided with and without a check digit:
183
184 \begin{verbatim}
185 Data: 01335583
186 Options: includetext
187 Encoder: ean8
188 \end{verbatim}
189
190 \begin{verbatim}
191 Data: 0133558
192 Options: includetext
193 Encoder: ean8
194 \end{verbatim}
195
196 \includegraphics{images/ean8-1}
197
198 Truncated with whitespace guards:
199
200 \begin{verbatim}
201 Data: 01335583
202 Options: includetext height=0.5 guardwhitespace
203 Encoder: ean8
204 \end{verbatim}
205
206 \includegraphics{images/ean8-2}
207
208 \hypertarget{upc-a}{%
209 \subsubsection{UPC-A}\label{upc-a}}
210
211 The \textbf{UPC-A} barcode symbology is used for identification of
212 retail goods at point of sale inside of the US. It usually carries a
213 GTIN-12.
214
215 Also known as: UPC, UCC-12, Universal Product Code.
216
217 Variants:
218
219 \begin{itemize}
220 \tightlist
221 \item
222 UPC-A+2 is an extension of UPC-A that includes a
223 \protect\hyperlink{ean-2}{two-digit add-on}.
224 \item
225 UPC-A+5 is an extension of UPC-A that includes a
226 \protect\hyperlink{ean-5}{five-digit add-on}.
227 \item
228 \protect\hyperlink{upc-e}{UPC-E} is a barcode symbology derived from
229 UPC-A that is designed for small packaging.
230 \item
231 \protect\hyperlink{gs1-composite-symbols}{UPC-A Composite} is a
232 variant of UPC-A that should be used when a CC-A or CC-B
233 \protect\hyperlink{gs1-composite-symbols}{GS1 composite} 2D component
234 is required.
235 \item
236 A UPC-A symbol can be converted to an
237 \protect\hyperlink{ean-13}{EAN-13} symbol by prefixing the GTIN-12
238 with 0 to make the equivalent GTIN-13.
239 \end{itemize}
240
241 Standards: ISO/IEC 15420, BS EN 797, GS1 General Specifications.
242
243 \hypertarget{data-and-options-2}{%
244 \paragraph{Data and Options}\label{data-and-options-2}}
245
246 \begin{itemize}
247 \tightlist
248 \item
249 The data field for a UPC-A may contain eleven or twelve digits,
250 optionally followed by a space then two or five digits if an
251 \protect\hyperlink{ean-2}{EAN-2} or \protect\hyperlink{ean-5}{EAN-5}
252 add-on is required.
253 \item
254 Alternatively, the data field may contain seven or eight digits of a
255 \protect\hyperlink{upc-e}{UPC-E} to produce the equivalent UPC-A
256 symbol.
257 \item
258 If eleven digits of primary data are supplied then the check digit is
259 calculated automatically. Otherwise the provided check digit will be
260 verified.
261 \item
262 The \textbf{includetext} option should normally be supplied.
263 \end{itemize}
264
265 \hypertarget{examples-2}{%
266 \paragraph{Examples}\label{examples-2}}
267
268 Identical symbols, input provided with and without a check digit:
269
270 \begin{verbatim}
271 Data: 788581014974
272 Options: includetext
273 Encoder: upca
274 \end{verbatim}
275
276 \begin{verbatim}
277 Data: 78858101497
278 Options: includetext
279 Encoder: upca
280 \end{verbatim}
281
282 \includegraphics{images/upca-1}
283
284 A symbol that includes a \protect\hyperlink{ean-5}{five-digit add-on}:
285
286 \begin{verbatim}
287 Data: 788581014974 54499
288 Options: includetext guardwhitespace
289 Encoder: upca
290 \end{verbatim}
291
292 \includegraphics{images/upca-2}
293
294 \hypertarget{upc-e}{%
295 \subsubsection{UPC-E}\label{upc-e}}
296
297 \textbf{UPC-E} is a compacted form of the
298 \protect\hyperlink{upc-a}{UPC-A} barcode symbology that usually carries
299 a GTIN-12 with a number system of \emph{0} or \emph{1} that has been
300 zero compressed.
301
302 Variants:
303
304 \begin{itemize}
305 \tightlist
306 \item
307 UPC-E0 is a UPC-E with a number system of \emph{0}.
308 \item
309 UPC-E1 is a UPC-E with a number system of \emph{1}.
310 \item
311 UPC-E+2 is an extension of UPC-E that includes a
312 \protect\hyperlink{ean-2}{two-digit add-on}.
313 \item
314 UPC-E+5 is an extension of UPC-E that includes a
315 \protect\hyperlink{ean-5}{five-digit add-on}.
316 \item
317 \protect\hyperlink{upc-a}{UPC-A} is the full size form of UPC-E.
318 \item
319 \protect\hyperlink{gs1-composite-symbols}{UPC-E Composite} is a
320 variant of UPC-E that should be used when a CC-A or CC-B GS1 Composite
321 2D component is required.
322 \end{itemize}
323
324 Standards: ISO/IEC 15420, BS EN 797, GS1 General Specifications.
325
326 \hypertarget{data-and-options-3}{%
327 \paragraph{Data and Options}\label{data-and-options-3}}
328
329 \begin{itemize}
330 \tightlist
331 \item
332 The data field takes either seven or eight digits, optionally followed
333 by a space then two or five digits if an
334 \protect\hyperlink{ean-2}{EAN-2} or \protect\hyperlink{ean-5}{EAN-5}
335 add-on is required.
336 \item
337 Alternatively, the data field may contain eleven or twelve digits of a
338 \protect\hyperlink{upc-a}{UPC-A} to produce the equivalent UPC-E
339 symbol, provided that the input can be zero suppressed.
340 \item
341 If seven digits of primary data are supplied then the check digit is
342 calculated automatically. Otherwise the provided check digit will be
343 verified.
344 \item
345 The \textbf{includetext} option should normally be supplied.
346 \end{itemize}
347
348 \hypertarget{examples-3}{%
349 \paragraph{Examples}\label{examples-3}}
350
351 Identical symbols, input provided with and without a check digit:
352
353 \begin{verbatim}
354 Data: 01234565
355 Options: includetext
356 Encoder: upce
357 \end{verbatim}
358
359 \begin{verbatim}
360 Data: 0123456
361 Options: includetext
362 Encoder: upce
363 \end{verbatim}
364
365 \includegraphics{images/upce-1}
366
367 A truncated symbol:
368
369 \begin{verbatim}
370 Data: 01234565
371 Options: includetext height=0.5
372 Encoder: upce
373 \end{verbatim}
374
375 \includegraphics{images/upce-2}
376
377 \hypertarget{isbn}{%
378 \subsubsection{ISBN}\label{isbn}}
379
380 An \textbf{ISBN} barcode is a variant of
381 \protect\hyperlink{ean-13}{EAN-13} that is used to identify books.
382
383 Also known as: ISBN-13, International Standard Book Number, Bookland
384 EAN-13.
385
386 Variants:
387
388 \begin{itemize}
389 \tightlist
390 \item
391 ISBN-10 is a legacy format that was depreciated for public use after
392 1st January 2007.
393 \end{itemize}
394
395 Standards: ISO 2108, ISO/IEC 15420, BS EN 797, GS1 General
396 Specifications.
397
398 \hypertarget{data-and-options-4}{%
399 \paragraph{Data and Options}\label{data-and-options-4}}
400
401 \begin{itemize}
402 \tightlist
403 \item
404 The data should contain twelve or thirteen digits separated
405 appropriately by dash characters \emph{-}.
406 \item
407 The data can also be provided in legacy ISBN-10 format as nine or ten
408 digits separated appropriately by dash characters \emph{-}. This will
409 be automatically upgraded to the ISBN-13 format.
410 \item
411 If the last digit of the primary data is not given then the ISBN check
412 digit is calculated automatically, otherwise it will be verified.
413 \item
414 The primary data can optionally be followed by a space then two or
415 five digits if an \protect\hyperlink{ean-2}{EAN-2} or
416 \protect\hyperlink{ean-5}{EAN-5} add-on is required.
417 \item
418 The \textbf{includetext} option should normally be supplied.
419 \item
420 The \textbf{guardwhitespace} option enables the display of whitespace
421 guard marks.
422 \item
423 The following options are also relevant to this barcode symbology:
424
425 \begin{itemize}
426 \tightlist
427 \item
428 \textbf{isbntextfont}: PostScript font name for text above symbol
429 \item
430 \textbf{isbntextsize}: Font size for the text above symbol, in
431 points
432 \item
433 \textbf{isbntextxoffset}: Horizontal position of ISBN text, in
434 points
435 \item
436 \textbf{isbntextyoffset}: Vertical position of ISBN text, in points
437 \end{itemize}
438 \item
439 \emph{Deprecated.} The \textbf{legacy} option prevents ISBN-10 input
440 from being upgraded to ISBN-13 and will result in a symbol that is
441 obsolete and should not be used at point of sale.
442 \end{itemize}
443
444 \hypertarget{example-isbn}{%
445 \paragraph{Example ISBN}\label{example-isbn}}
446
447 Identical symbols, input provided with and without an ISBN check digit:
448
449 \begin{verbatim}
450 Data: 978-1-873671-00-9
451 Options: includetext
452 Encoder: isbn
453 \end{verbatim}
454
455 \begin{verbatim}
456 Data: 978-1-873671-00
457 Options: includetext
458 Encoder: isbn
459 \end{verbatim}
460
461 \includegraphics{images/isbn-1}
462
463 An ISBN with a \protect\hyperlink{ean-5}{five-digit add-on}:
464
465 \begin{verbatim}
466 Data: 978-1-873671-00-9 54499
467 Options: includetext guardwhitespace
468 Encoder: isbn
469 \end{verbatim}
470
471 \includegraphics{images/isbn-2}
472
473 The following ISBN-10 input will be automatically upgraded to a valid
474 ISBN-13 symbol:
475
476 \begin{verbatim}
477 Data: 1-86074-271-2
478 Options: includetext
479 Encoder: isbn
480 \end{verbatim}
481
482 \begin{verbatim}
483 Data: 1-86074-271
484 Options: includetext
485 Encoder: isbn
486 \end{verbatim}
487
488 \includegraphics{images/isbn-3}
489
490 \hypertarget{example-isbn-10}{%
491 \paragraph{Example ISBN-10}\label{example-isbn-10}}
492
493 Note that ISBN-10 is legacy format not for use at P.O.S.
494
495 The following will generate an obsolete ISBN-10 symbol:
496
497 \begin{verbatim}
498 Data: 1-86074-271-8
499 Options: legacy includetext guardwhitespace
500 Encoder: isbn
501 \end{verbatim}
502
503 \begin{verbatim}
504 Data: 1-86074-271
505 Options: legacy includetext guardwhitespace
506 Encoder: isbn
507 \end{verbatim}
508
509 \includegraphics{images/isbn-4}
510
511 \hypertarget{ismn}{%
512 \subsubsection{ISMN}\label{ismn}}
513
514 An \textbf{ISMN} barcode is a variant of
515 \protect\hyperlink{ean-13}{EAN-13} with a prefix \emph{979} that is used
516 to identify printed music.
517
518 Also known as: International Standard Music Number, ISMN-13.
519
520 Variants:
521
522 \begin{itemize}
523 \tightlist
524 \item
525 ISMN-10 is a legacy format that was depreciated for public use.
526 \end{itemize}
527
528 Standards: ISO 10957, ISO/IEC 15420, BS EN 797, GS1 General
529 Specifications.
530
531 \hypertarget{data-and-options-5}{%
532 \paragraph{Data and Options}\label{data-and-options-5}}
533
534 \begin{itemize}
535 \tightlist
536 \item
537 The data should contain twelve or thirteen digits separated
538 appropriately by dash characters \emph{-}.
539 \item
540 The data can also be provided in legacy ISMN-10 format start \emph{M-}
541 then eight or nine digits separated appropriately by dash characters
542 \emph{-}. This will be automatically upgraded to the ISMN-13 format.
543 \item
544 If the last digit of the primary data is not given then the ISMN check
545 digit is calculated automatically, otherwise it will be verified.
546 \item
547 The primary data can optionally be followed by a space then two or
548 five digits if an \protect\hyperlink{ean-2}{EAN-2} or
549 \protect\hyperlink{ean-5}{EAN-5} add-on is required.
550 \item
551 The \textbf{includetext} option should normally be supplied.
552 \item
553 The \textbf{guardwhitespace} option enables the display of whitespace
554 guard marks.
555 \item
556 The following options are also relevant to this barcode symbology:
557
558 \begin{itemize}
559 \tightlist
560 \item
561 \textbf{ismntextfont}: PostScript font name for text above symbol
562 \item
563 \textbf{ismntextsize}: Font size for the text above symbol, in
564 points
565 \item
566 \textbf{ismntextxoffset}: Horizontal position of ISMN text, in
567 points
568 \item
569 \textbf{ismntextyoffset}: Vertical position of ISMN text, in points
570 \end{itemize}
571 \item
572 \emph{Deprecated.} The \textbf{legacy} option prevents ISMN-10 input
573 from being upgraded to ISMN-13 and will result in a symbol that is
574 obsolete and should not be used at point of sale.
575 \end{itemize}
576
577 \hypertarget{example-ismn}{%
578 \paragraph{Example ISMN}\label{example-ismn}}
579
580 Identical symbols, input provided with and without an ISMN check digit:
581
582 \begin{verbatim}
583 Data: 979-0-2600-0043-8
584 Options: includetext
585 Encoder: ismn
586 \end{verbatim}
587
588 \begin{verbatim}
589 Data: 979-0-2600-0043
590 Options: includetext
591 Encoder: ismn
592 \end{verbatim}
593
594 \includegraphics{images/ismn-1}
595
596 The following ISMN-10 input will be automatically upgraded to a valid
597 ISMN-13 symbol:
598
599 \begin{verbatim}
600 Data: M-345-24680-5
601 Options: includetext
602 Encoder: ismn
603 \end{verbatim}
604
605 \begin{verbatim}
606 Data: M-345-24680
607 Options: includetext
608 Encoder: ismn
609 \end{verbatim}
610
611 \includegraphics{images/ismn-2}
612
613 \hypertarget{example-ismn-10}{%
614 \paragraph{Example ISMN-10}\label{example-ismn-10}}
615
616 Note that ISMN-10 is a legacy format not for use at P.O.S.
617
618 The following will generate an obsolete ISMN-10 symbol:
619
620 \begin{verbatim}
621 Data: M-345-24680-5
622 Options: legacy includetext guardwhitespace
623 Encoder: ismn
624 \end{verbatim}
625
626 \begin{verbatim}
627 Data: M-345-24680
628 Options: legacy includetext guardwhitespace
629 Encoder: ismn
630 \end{verbatim}
631
632 \includegraphics{images/ismn-3}
633
634 \hypertarget{issn}{%
635 \subsubsection{ISSN}\label{issn}}
636
637 An \textbf{ISSN} barcode is an \protect\hyperlink{ean-13}{EAN-13} with
638 prefix \emph{977} used to identify periodicals.
639
640 Also known as: International Standard Serial Number.
641
642 Standards: ISO 3297, ISO/IEC 15420, BS EN 797, GS1 General
643 Specifications.
644
645 \hypertarget{data-and-options-6}{%
646 \paragraph{Data and Options}\label{data-and-options-6}}
647
648 \begin{itemize}
649 \tightlist
650 \item
651 The data should contain the seven or eight digits ISSN separated by a
652 dash characters \emph{-}, followed by a two-digit sequence variant,
653 optionally followed by two or five digits if a
654 \protect\hyperlink{ean-2}{two-digit add-on} or
655 \protect\hyperlink{ean-5}{five-digit add-on} is required.
656 \item
657 If the last digit of the ISSN data is not given then the ISSN check
658 digit is calculated automatically, otherwise it will be verified.
659 \item
660 The \textbf{includetext} option should normally be supplied.
661 \item
662 The \textbf{guardwhitespace} option enables the display of whitespace
663 guard marks.
664 \item
665 The following options are also relevant to this barcode symbology:
666
667 \begin{itemize}
668 \tightlist
669 \item
670 \textbf{issntextfont}: PostScript font name for text above symbol
671 \item
672 \textbf{issntextsize}: Font size for the text above symbol, in
673 points
674 \item
675 \textbf{issntextxoffset}: Horizontal position of ISSN text, in
676 points
677 \item
678 \textbf{issntextyoffset}: Vertical position of ISSN text, in points
679 \end{itemize}
680 \end{itemize}
681
682 A sequence variant is a two-digit number that usually starts at zero and
683 is incremented whenever the recommended retail price is amended, where
684 applicable.
685
686 \hypertarget{example}{%
687 \paragraph{Example}\label{example}}
688
689 Identical symbols, input provided with and without an ISSN check digit
690 and having sequence number \emph{00}:
691
692 \begin{verbatim}
693 Data: 0317-8471 00
694 Options: includetext guardwhitespace
695 Encoder: issn
696 \end{verbatim}
697
698 \begin{verbatim}
699 Data: 0317-847 00
700 Options: includetext guardwhitespace
701 Encoder: issn
702 \end{verbatim}
703
704 \includegraphics{images/issn-1}
705
706 An ISSN with sequence number \emph{03} and a
707 \protect\hyperlink{ean-2}{two-digit add-on} representing issue number
708 \emph{17}:
709
710 \begin{verbatim}
711 Data: 0317-8471 03 17
712 Options: includetext guardwhitespace
713 Encoder: issn
714 \end{verbatim}
715
716 \begin{verbatim}
717 Data: 0317-847 03 17
718 Options: includetext guardwhitespace
719 Encoder: issn
720 \end{verbatim}
721
722 \includegraphics{images/issn-2}
723
724 \hypertarget{two-dimensional}{%
725 \subsection{Two-Dimensional}\label{two-dimensional}}
726
727 \hypertarget{aztec-code}{%
728 \subsubsection{Aztec Code}\label{aztec-code}}
729
730 \textbf{Aztec Code} is a 2D matrix-style barcode symbology. It can
731 encode full 256-character extended-ASCII.
732
733 Variants:
734
735 \begin{itemize}
736 \tightlist
737 \item
738 \protect\hyperlink{aztec-runes}{Aztec Runes} are a set of small
739 barcode symbols that are used for special applications.
740 \end{itemize}
741
742 Standards: ISO/IEC 24778, ANSI/AIM BC13 - ISS Aztec Code.
743
744 \hypertarget{data-and-options-7}{%
745 \paragraph{Data and Options}\label{data-and-options-7}}
746
747 \begin{itemize}
748 \tightlist
749 \item
750 The data field can contain any extended ASCII data. The default
751 interpretation of data by readers is in accordance with ISO/IEC
752 8859-1. When supported by the receiver characters from other code
753 pages can be encoded using Extended Channel Interpretation (ECI).
754 \item
755 When the \textbf{parse} option is specified, any instances of
756 \texttt{\^{}NNN} in the data field are replaced with their equivalent
757 ASCII value, useful for specifying unprintable characters.
758 \item
759 When the \textbf{parsefnc} option is specified, non-data function
760 characters can be specified by escape sequences:
761
762 \begin{itemize}
763 \tightlist
764 \item
765 \texttt{\^{}FNC1}: FNC1
766 \item
767 \texttt{\^{}ECI000000} to \texttt{\^{}ECI999999}: ECI indicators
768 \end{itemize}
769 \item
770 The \textbf{eclevel} option is used to specify the percentage of error
771 correction to be applied when expanding the data, by default
772 \texttt{23}.
773 \item
774 The \textbf{ecaddchars} option is used to specify how many additional
775 error correction characters to apply the data once expanded by the
776 eclevel percentage, by default \texttt{3}.
777 \item
778 The \textbf{layers} option is used to specify a particular number of
779 layers in which to encode the data, between \texttt{1} and
780 \texttt{32}. By default the encoder will create a symbol with be
781 minimal number of layers to encode the given data.
782 \item
783 The \textbf{format} option is used to select between
784 \texttt{format=full} and \texttt{format=compact} symbol types. By
785 default the encoder will choose the most appropriate format to create
786 a symbol of minimal size.
787 \item
788 The \textbf{readerinit} option denotes that the symbol is used for
789 programming the barcode reader.
790 \item
791 The \textbf{raw} option denotes that the data field is providing the
792 input as a pre-encoded bitstream suitable for direct low-level
793 encoding.
794 \item
795 \emph{Deprecated: Use \protect\hyperlink{aztec-runes}{Aztec Runes}
796 instead.} The \textbf{format} option can also be used to create Aztec
797 Code "runes", using \texttt{format=rune}. In this case the rune symbol
798 number should be given in the data field.
799 \end{itemize}
800
801 \hypertarget{examples-4}{%
802 \paragraph{Examples}\label{examples-4}}
803
804 \begin{verbatim}
805 Data: This is Aztec Code
806 Options:
807 Encoder: azteccode
808 \end{verbatim}
809
810 \includegraphics{images/aztec-1}
811
812 \begin{verbatim}
813 Data: This is ^065ztec Code
814 Options: parse eclevel=50 ecaddchars=0
815 Encoder: azteccode
816 \end{verbatim}
817
818 \includegraphics{images/aztec-6}
819
820 \begin{verbatim}
821 Data: ABC123
822 Options: layers=3 format=full
823 Encoder: azteccode
824 \end{verbatim}
825
826 \includegraphics{images/aztec-2}
827
828 \begin{verbatim}
829 Data: ABC123
830 Options: format=compact
831 Encoder: azteccode
832 \end{verbatim}
833
834 \includegraphics{images/aztec-5}
835
836 \begin{verbatim}
837 Data: 00100111001000000101001101111000010100111100101000000110
838 Options: raw
839 Encoder: azteccode
840 \end{verbatim}
841
842 \includegraphics{images/aztec-4}
843
844 \hypertarget{aztec-runes}{%
845 \subsubsection{Aztec Runes}\label{aztec-runes}}
846
847 \textbf{Aztec Runes} are a set of small barcode symbols that are used
848 for special applications.
849
850 Variants:
851
852 \protect\hyperlink{aztec-code}{Aztec Code} is a 2D matrix-style barcode
853 symbology that can encode full 256 character extended-ASCII.
854
855 Standards: ISO/IEC 24778, ANSI/AIM BC13 - ISS Aztec Code.
856
857 \hypertarget{data-and-options-8}{%
858 \paragraph{Data and Options}\label{data-and-options-8}}
859
860 \begin{itemize}
861 \tightlist
862 \item
863 The data field contains the rune number \texttt{0} to \texttt{255}.
864 \end{itemize}
865
866 \hypertarget{examples-5}{%
867 \paragraph{Examples}\label{examples-5}}
868
869 \begin{verbatim}
870 Data: 25
871 Options:
872 Encoder: aztecrune
873 \end{verbatim}
874
875 \includegraphics{images/aztec-3}
876
877 \hypertarget{data-matrix}{%
878 \subsubsection{Data Matrix}\label{data-matrix}}
879
880 The \textbf{Data Matrix} symbology is 2D matrix-style barcode that can
881 encode full 256 character extended-ASCII.
882
883 Also known as: Data Matrix ECC 200, DataMatrix.
884
885 Variants:
886
887 \begin{itemize}
888 \tightlist
889 \item
890 \protect\hyperlink{data-matrix-rectangular}{Data Matrix Rectangular}
891 is a variant of Data Matrix that uses rectangular symbols.
892 \item
893 \protect\hyperlink{data-matrix-rectangular-extension}{Data Matrix
894 Rectangular Extension} is a variant of Data Matrix Rectangular that
895 provides a greater range of symbol dimensions.
896 \item
897 \protect\hyperlink{gs1-datamatrix}{GS1 DataMatrix} is a variant of
898 Data Matrix that should be used when encoding data that is in
899 \protect\hyperlink{gs1-application-identifier-standard-format}{GS1
900 Application Identifier standard format}.
901 \item
902 \protect\hyperlink{gs1-digital-link-data-matrix}{GS1 Digital Link Data
903 Matrix} is a variant of Data Matrix that should be used when encoding
904 a GS1 Digital Link URI.
905 \item
906 \protect\hyperlink{hibc-symbols}{HIBC Data Matrix} is a variant of
907 Data Matrix that should be used when encoding HIBC formatted data.
908 \item
909 \protect\hyperlink{mailmark}{Royal Mail Mailmark} is a variant of Data
910 Matrix that is used by the Royal Mail postal service on letters and
911 other small mailpieces.
912 \end{itemize}
913
914 Standards: ISO/IEC 16022, ANSI/AIM BC11 - ISS Data Matrix.
915
916 \hypertarget{data-and-options-9}{%
917 \paragraph{Data and Options}\label{data-and-options-9}}
918
919 \begin{itemize}
920 \tightlist
921 \item
922 The data field can contain any extended ASCII data. The default
923 interpretation of data by readers is in accordance with ISO/IEC
924 8859-1. When supported by the receiver characters from other code
925 pages can be encoded using Extended Channel Interpretation (ECI).
926 \item
927 When the \textbf{parse} option is specified, any instances of
928 \texttt{\^{}NNN} in the data field are replaced with their equivalent
929 ASCII value. This is useful for specifying unprintable characters.
930 \item
931 When the \textbf{parsefnc} option is specified, non-data function
932 characters can be specified by escape sequences:
933
934 \begin{itemize}
935 \tightlist
936 \item
937 \texttt{\^{}FNC1}: FNC1. \emph{Recommendation: Use
938 \protect\hyperlink{gs1-datamatrix}{GS1 DataMatrix} for encoding GS1
939 AI syntax data.}
940 \item
941 \texttt{\^{}PROG}: PROG - Reader programming
942 \item
943 \texttt{\^{}ECI000000} to \texttt{\^{}ECI999999}: ECI indicators
944 \end{itemize}
945 \item
946 Whenever the data field contains suitable input, the encoder will
947 compress ISO/IEC 15434 structured data (internally using the 05 Macro
948 and 06 Macro codewords.)
949 \item
950 When the \textbf{dotty} option is specified the modules are rendered
951 as dots rather than squares. The dot radius can be adjusted using the
952 \textbf{inkspread} option.
953 \item
954 The \textbf{columns} and \textbf{rows} options are used to specify the
955 size of the symbol.
956 \item
957 The \textbf{version} option can also be used to specify the symbol
958 size, as \texttt{version=RxC}. Valid options are \emph{10x10},
959 \emph{12x12}, \emph{14x14}, \emph{16x16}, \emph{18x18}, \emph{20x20},
960 \emph{22x22}, \emph{24x24}, \emph{26x26}, \emph{32x32}, \emph{36x36},
961 \emph{40x40}, \emph{44x44}, \emph{48x48}, \emph{52x52}, \emph{64x64},
962 \emph{72x72}, \emph{80x80}, \emph{88x88}, \emph{96x96},
963 \emph{104x104}, \emph{120x120}, \emph{132x132}, \emph{144x144}
964 \item
965 If \textbf{columns}, \textbf{rows} and \textbf{version} are
966 unspecified the encoder will default to creating a symbol of the
967 specified \textbf{format} that is the minimum size to represent the
968 given data.
969 \item
970 The \textbf{raw} option denotes that the data field is providing the
971 input as pre-encoded codewords in \texttt{\^{}NNN} format, suitable
972 for direct low-level encoding.
973 \item
974 \emph{Deprecated}: The \textbf{format} option is used to specify the
975 shape of the symbol, either:
976
977 \begin{itemize}
978 \tightlist
979 \item
980 \texttt{square} (default)
981 \item
982 \texttt{rectangle}: Use
983 \protect\hyperlink{data-matrix-rectangular}{Data Matrix Rectangular}
984 for rectangular symbols.
985 \end{itemize}
986 \item
987 \emph{Deprecated: Use
988 \protect\hyperlink{data-matrix-rectangular-extension}{Data Matrix
989 Rectangular Extension}.} The \textbf{dmre} option enables Data Matrix
990 Rectangular Extension symbols based on the ISO/IEC standard, which
991 increases the number of rectangular symbol sizes available.
992 \item
993 \emph{Deprecated: Use
994 \protect\hyperlink{data-matrix-rectangular-extension}{Data Matrix
995 Rectangular Extension} with dimdmre option.} The \textbf{dindmre}
996 option enables Data Matrix Rectangular Extension symbols based on the
997 obsolete DIN standard.
998 \item
999 \emph{Deprecated: For internal use.} The \textbf{mailmark} option
1000 signifies the requirement to use Mailmark-specific encoding.
1001 \end{itemize}
1002
1003 \hypertarget{examples-6}{%
1004 \paragraph{Examples}\label{examples-6}}
1005
1006 Identical symbols, automatically sized, the latter showing use of the
1007 parse option:
1008
1009 \begin{verbatim}
1010 Data: This is Data Matrix
1011 Options:
1012 Encoder: datamatrix
1013 \end{verbatim}
1014
1015 \begin{verbatim}
1016 Data: This is ^068ata Matrix
1017 Options: parse
1018 Encoder: datamatrix
1019 \end{verbatim}
1020
1021 \includegraphics{images/datamatrix-1}
1022
1023 Identical symbols with a fixed size:
1024
1025 \begin{verbatim}
1026 Data: Fixed size
1027 Options: version=48x48
1028 Encoder: datamatrix
1029 \end{verbatim}
1030
1031 \begin{verbatim}
1032 Data: Fixed size
1033 Options: rows=48 columns=48
1034 Encoder: datamatrix
1035 \end{verbatim}
1036
1037 \includegraphics{images/datamatrix-2}
1038
1039 A rectangular symbol with a fixed size:
1040
1041 \begin{verbatim}
1042 Data: Rectangular
1043 Options: format=rectangle version=16x48
1044 Encoder: datamatrix
1045 \end{verbatim}
1046
1047 \includegraphics{images/datamatrix-3}
1048
1049 An advanced use containing "hidden data" in the padding codewords as
1050 used by some non-standard, "high-security" applications. The technique
1051 works by filling the symbol using raw codewords formed from the standard
1052 data immediately followed by the non-standard padding data beginning
1053 with \texttt{\^{}129}:
1054
1055 \begin{verbatim}
1056 Data: ^066^067^068^142^052^129^161^056^206^101^251^147
1057 Options: version=16x16 raw
1058 Encoder: datamatrix
1059 \end{verbatim}
1060
1061 \hypertarget{data-matrix-rectangular}{%
1062 \subsubsection{Data Matrix Rectangular}\label{data-matrix-rectangular}}
1063
1064 The \textbf{Data Matrix Rectangular} symbology is a rectangular variant
1065 of \protect\hyperlink{data-matrix}{Data Matrix}.
1066
1067 Variants:
1068
1069 \begin{itemize}
1070 \tightlist
1071 \item
1072 \protect\hyperlink{data-matrix}{Data Matrix} is the standard square
1073 variant of the symbology.
1074 \item
1075 \protect\hyperlink{data-matrix-rectangular-extension}{Data Matrix
1076 Rectangular Extension} is a variant of Data Matrix Rectangular that
1077 provides a greater range of symbol dimensions.
1078 \end{itemize}
1079
1080 Standards: ISO/IEC 16022, ANSI/AIM BC11 - ISS Data Matrix.
1081
1082 \hypertarget{data-and-options-10}{%
1083 \paragraph{Data and Options}\label{data-and-options-10}}
1084
1085 \begin{itemize}
1086 \tightlist
1087 \item
1088 The data field can contain any extended ASCII data. The default
1089 interpretation of data by readers is in accordance with ISO/IEC
1090 8859-1. When supported by the receiver characters from other code
1091 pages can be encoded using Extended Channel Interpretation (ECI).
1092 \item
1093 When the \textbf{parse} option is specified, any instances of
1094 \texttt{\^{}NNN} in the data field are replaced with their equivalent
1095 ASCII value. This is useful for specifying unprintable characters.
1096 \item
1097 When the \textbf{parsefnc} option is specified, non-data function
1098 characters can be specified by escape sequences:
1099
1100 \begin{itemize}
1101 \tightlist
1102 \item
1103 \texttt{\^{}FNC1}: FNC1. \emph{Recommendation: Use
1104 \protect\hyperlink{gs1-datamatrix}{GS1 DataMatrix} for encoding GS1
1105 AI syntax data.}
1106 \item
1107 \texttt{\^{}PROG}: PROG - Reader programming
1108 \item
1109 \texttt{\^{}ECI000000} to \texttt{\^{}ECI999999}: ECI indicators
1110 \end{itemize}
1111 \item
1112 Whenever the data field contains suitable input, the encoder will
1113 compress ISO/IEC 15434 structured data (internally using the 05 Macro
1114 and 06 Macro codewords.)
1115 \item
1116 When the \textbf{dotty} option is specified the modules are rendered
1117 as dots rather than squares. The dot radius can be adjusted using the
1118 \textbf{inkspread} option.
1119 \item
1120 \emph{Deprecated: Use
1121 \protect\hyperlink{data-matrix-rectangular-extension}{Data Matrix
1122 Rectangular Extension}.} The \textbf{dmre} option enables Data Matrix
1123 Rectangular Extension symbols based on the ISO/IEC standard, which
1124 increases the number of rectangular symbol sizes available.
1125 \item
1126 \emph{Deprecated: Standard is obsolete. Use
1127 \protect\hyperlink{data-matrix-rectangular-extension}{Data Matrix
1128 Rectangular Extension} with the dindmre option.} The \textbf{dindmre}
1129 option enables Data Matrix Rectangular Extension symbols based on the
1130 obsolete DIN standard.
1131 \item
1132 The \textbf{columns} and \textbf{rows} options are used to specify the
1133 size of the symbol.
1134 \item
1135 The \textbf{version} option can also be used to specify the symbol
1136 size, as \texttt{version=RxC}. Valid options are \emph{8x18},
1137 \emph{8x32}, \emph{12x26}, \emph{12x36}, \emph{16x36}, \emph{16x48}.
1138 \item
1139 If \textbf{columns}, \textbf{rows} and \textbf{version} are
1140 unspecified the encoder will default to creating a symbol that is the
1141 minimum size to represent the given data.
1142 \item
1143 The \textbf{raw} option denotes that the data field is providing the
1144 input as pre-encoded codewords in \texttt{\^{}NNN} format, suitable
1145 for direct low-level encoding.
1146 \end{itemize}
1147
1148 \hypertarget{examples-7}{%
1149 \paragraph{Examples}\label{examples-7}}
1150
1151 A rectangular symbol with a fixed size:
1152
1153 \begin{verbatim}
1154 Data: Rectangular
1155 Options: version=16x48
1156 Encoder: datamatrixrectangular
1157 \end{verbatim}
1158
1159 \includegraphics{images/datamatrix-3}
1160
1161 \hypertarget{data-matrix-rectangular-extension}{%
1162 \subsubsection{Data Matrix Rectangular
1163 Extension}\label{data-matrix-rectangular-extension}}
1164
1165 The \textbf{Data Matrix Rectangular Extension} symbology is an
1166 enhancement to \protect\hyperlink{data-matrix-rectangular}{Data Matrix
1167 Rectangular} that provides a greater range of symbol dimensions.
1168
1169 Also known as: DMRE.
1170
1171 Variants:
1172
1173 \begin{itemize}
1174 \tightlist
1175 \item
1176 \protect\hyperlink{data-matrix}{Data Matrix} is the standard square
1177 variant of the symbology.
1178 \item
1179 \protect\hyperlink{data-matrix-rectangular}{Data Matrix Rectangular}
1180 is the original rectangular variant of Data Matrix that provides a
1181 limited range of symbol dimensions.
1182 \end{itemize}
1183
1184 Standards: ISO/IEC 21471.
1185
1186 \hypertarget{data-and-options-11}{%
1187 \paragraph{Data and Options}\label{data-and-options-11}}
1188
1189 \begin{itemize}
1190 \tightlist
1191 \item
1192 The data field can contain any extended ASCII data. The default
1193 interpretation of data by readers is in accordance with ISO/IEC
1194 8859-1. When supported by the receiver characters from other code
1195 pages can be encoded using Extended Channel Interpretation (ECI).
1196 \item
1197 When the \textbf{parse} option is specified, any instances of
1198 \texttt{\^{}NNN} in the data field are replaced with their equivalent
1199 ASCII value. This is useful for specifying unprintable characters.
1200 \item
1201 When the \textbf{parsefnc} option is specified, non-data function
1202 characters can be specified by escape sequences:
1203
1204 \begin{itemize}
1205 \tightlist
1206 \item
1207 \texttt{\^{}FNC1}: FNC1
1208 \item
1209 \texttt{\^{}PROG}: PROG - Reader programming
1210 \item
1211 \texttt{\^{}ECI000000} to \texttt{\^{}ECI999999}: ECI indicators
1212 \end{itemize}
1213 \item
1214 Whenever the data field contains suitable input, the encoder will
1215 compress ISO/IEC 15434 structured data (internally using the 05 Macro
1216 and 06 Macro codewords.)
1217 \item
1218 When the \textbf{dotty} option is specified the modules are rendered
1219 as dots rather than squares. The dot radius can be adjusted using the
1220 \textbf{inkspread} option.
1221 \item
1222 The \textbf{columns} and \textbf{rows} options are used to specify the
1223 size of the symbol.
1224 \item
1225 The \textbf{version} option can also be used to specify the symbol
1226 size, as \texttt{version=RxC}. Valid options are \emph{8x18},
1227 \emph{8x32}, \emph{8x48}, \emph{8x64}, \emph{8x80}, \emph{8x96},
1228 \emph{8x120}, \emph{8x144}, \emph{12x26}, \emph{12x36}, \emph{12x64},
1229 \emph{12x88}, \emph{16x36}, \emph{16x48}, \emph{16x64}, \emph{20x36},
1230 \emph{20x44}, \emph{20x64}, \emph{22x48}, \emph{24x48}, \emph{24x64},
1231 \emph{26x40}, \emph{26x48}, \emph{26x64}.
1232 \item
1233 If \textbf{columns}, \textbf{rows} and \textbf{version} are
1234 unspecified the encoder will default to creating a symbol that is the
1235 minimum size to represent the given data.
1236 \item
1237 The \textbf{raw} option denotes that the data field is providing the
1238 input as pre-encoded codewords in \texttt{\^{}NNN} format, suitable
1239 for direct low-level encoding.
1240 \item
1241 \emph{Deprecated: Standard is obsolete.} The \textbf{dindmre} option
1242 select Data Matrix Rectangular Extension symbols whose dimensions are
1243 based on the obsolete DIN standard, rather than the current ISO
1244 standard.
1245
1246 \begin{itemize}
1247 \tightlist
1248 \item
1249 With \texttt{dindmre} the valid version \textbf{options} are
1250 \emph{8x18}, \emph{8x32}, \emph{8x48}, \emph{8x64}, \emph{12x26},
1251 \emph{12x36}, \emph{12x64}, \emph{16x36}, \emph{16x48},
1252 \emph{16x64}, \emph{24x32}, \emph{24x36}, \emph{24x48},
1253 \emph{24x64}, \emph{26x32}, \emph{26x40}, \emph{26x48},
1254 \emph{26x64}.
1255 \end{itemize}
1256 \end{itemize}
1257
1258 \hypertarget{examples-8}{%
1259 \paragraph{Examples}\label{examples-8}}
1260
1261 A DMRE symbol with a fixed size:
1262
1263 \begin{verbatim}
1264 Data: 1234
1265 Options: version=8x80
1266 Encoder: datamatrixrectangularextension
1267 \end{verbatim}
1268
1269 \includegraphics{images/datamatrix-3}
1270
1271 \hypertarget{han-xin-code}{%
1272 \subsubsection{Han Xin Code}\label{han-xin-code}}
1273
1274 The \textbf{Han Xin Code} symbology is a 2D matrix-style barcode
1275 symbology that can encode full 256 character extended-ASCII.
1276
1277 Also known as: Chinese Sensible.
1278
1279 Standards: GB/T 21049-2007.
1280
1281 \hypertarget{data-and-options-12}{%
1282 \paragraph{Data and Options}\label{data-and-options-12}}
1283
1284 \begin{itemize}
1285 \tightlist
1286 \item
1287 The data field can contain any extended ASCII data. The default
1288 interpretation of data by readers is in accordance with ISO/IEC
1289 8859-1.
1290 \item
1291 When the \textbf{parse} option is specified, any instances of
1292 \texttt{\^{}NNN} in the data field are replaced with their equivalent
1293 ASCII value, useful for specifying unprintable characters.
1294 \item
1295 The \textbf{eclevel} option is used to specify the error correction
1296 level:
1297
1298 \begin{itemize}
1299 \tightlist
1300 \item
1301 \texttt{eclevel=L1} - Lowest
1302 \item
1303 \texttt{eclevel=L2}
1304 \item
1305 \texttt{eclevel=L3}
1306 \item
1307 \texttt{eclevel=L4} - Highest
1308 \end{itemize}
1309 \item
1310 The \textbf{version} option is used to specify the size of the symbol,
1311 1 to 84.
1312 \item
1313 If unspecified the encoder will select the version of the symbol that
1314 is the minimum size to represent the given data at the selected error
1315 correction level.
1316 \end{itemize}
1317
1318 \hypertarget{examples-9}{%
1319 \paragraph{Examples}\label{examples-9}}
1320
1321 \begin{verbatim}
1322 Data: Han Xin Code
1323 Options: version=10 eclevel=L4
1324 Encoder: hanxin
1325 \end{verbatim}
1326
1327 \includegraphics{images/hanxin-1}
1328
1329 \hypertarget{micropdf417}{%
1330 \subsubsection{MicroPDF417}\label{micropdf417}}
1331
1332 The \textbf{MicroPDF417} barcode symbology is 2D stacked-linear barcode
1333 based on \protect\hyperlink{pdf417}{PDF417} that can encode full 256
1334 character extended-ASCII.
1335
1336 Variants:
1337
1338 \begin{itemize}
1339 \tightlist
1340 \item
1341 \protect\hyperlink{pdf417}{PDF417} is a larger variant of the
1342 MicroPDF417 barcode.
1343 \item
1344 \protect\hyperlink{hibc-symbols}{HIBC MicroPDF417} is a variant of
1345 MicroPDF417 that should be used when encoding HIBC formatted data.
1346 \end{itemize}
1347
1348 Standards: ISO/IEC 24728, AIM ISS - MicroPDF417.
1349
1350 \hypertarget{data-and-options-13}{%
1351 \paragraph{Data and Options}\label{data-and-options-13}}
1352
1353 \begin{itemize}
1354 \item
1355 The data field can contain any extended ASCII data. The default
1356 interpretation of data by readers is in accordance with ISO/IEC
1357 8859-1. When supported by the receiver characters from other code
1358 pages can be encoded using Extended Channel Interpretation (ECI).
1359 \item
1360 When the \textbf{parse} option is specified, any instances of
1361 \texttt{\^{}NNN} in the data field are replaced with their equivalent
1362 ASCII value, useful for specifying unprintable characters.
1363 \item
1364 When the \textbf{parsefnc} option is specified, non-data function
1365 characters can be specified by escape sequences:
1366
1367 \begin{itemize}
1368 \tightlist
1369 \item
1370 \texttt{\^{}ECI000000} to \texttt{\^{}ECI811799}: ECI indicators
1371 \end{itemize}
1372 \item
1373 The \textbf{columns} and \textbf{rows} options are used to specify the
1374 size of the symbol. Valid values are:
1375
1376 \begin{itemize}
1377 \tightlist
1378 \item
1379 \emph{1x11}, \emph{1x14}, \emph{1x17}, \emph{1x20}, \emph{1x24},
1380 \emph{1x28}, \emph{2x8}, \emph{2x11}, \emph{2x14}, \emph{2x17},
1381 \emph{2x20}, \emph{2x23}, \emph{2x26}, \emph{3x6}, \emph{3x8},
1382 \emph{3x10}, \emph{3x12}, \emph{3x15}, \emph{3x20}, \emph{3x26},
1383 \emph{3x32}, \emph{3x38}, \emph{3x44}, \emph{4x4}, \emph{4x6},
1384 \emph{4x8}, \emph{4x10}, \emph{4x12}, \emph{4x15}, \emph{4x20},
1385 \emph{4x26}, \emph{4x32}, \emph{4x38}, \emph{4x44}
1386 \end{itemize}
1387 \item
1388 If the \textbf{columns} and \textbf{rows} are unspecified the encoder
1389 will default to creating a symbol that is the minimum size to
1390 represent the given data.
1391 \item
1392 The \textbf{rowmult} option is used to specify how tall each bar is,
1393 with respect to the minimum module width. The default is 3.
1394 \item
1395 The \textbf{raw} option denotes that the data field is providing the
1396 input as a pre-encoded codewords in \texttt{\^{}NNN} format, suitable
1397 for direct low-level encoding.
1398 \item
1399 \emph{Deprecated: Internal use.} The \textbf{cca} option identifies
1400 this symbol as a \emph{CC-A} 2D component of a
1401 \protect\hyperlink{gs1-composite-symbols}{GS1 Composite} symbol.
1402
1403 \begin{itemize}
1404 \tightlist
1405 \item
1406 Special size rules apply when the \textbf{cca} option is given, in
1407 which case the \textbf{columns} and \textbf{rows} options that are
1408 used to specify the size of the symbol must be one of:
1409
1410 \begin{itemize}
1411 \tightlist
1412 \item
1413 \emph{2x5}, \emph{2x6}, \emph{2x7}, \emph{2x8}, \emph{2x9},
1414 \emph{2x10}, \emph{2x12}, \emph{3x4}, \emph{3x5}, \emph{3x6},
1415 \emph{3x7}, \emph{3x8}, \emph{4x3}, \emph{4x4}, \emph{4x5},
1416 \emph{4x6}, \emph{4x7}
1417 \end{itemize}
1418 \end{itemize}
1419 \item
1420 \emph{Deprecated: Internal use.} The \textbf{ccb} option identifies
1421 this symbol as a \emph{CC-B} 2D component of a
1422 \protect\hyperlink{gs1-composite-symbols}{GS1 Composite} symbol.
1423 \end{itemize}
1424
1425 \hypertarget{examples-10}{%
1426 \paragraph{Examples}\label{examples-10}}
1427
1428 \begin{verbatim}
1429 Data: MicroPDF417
1430 Options:
1431 Encoder: micropdf417
1432 \end{verbatim}
1433
1434 \includegraphics{images/micropdf417-1}
1435
1436 \begin{verbatim}
1437 Data: MicroP^068F417
1438 Options: parse rows=15 columns=4
1439 Encoder: micropdf417
1440 \end{verbatim}
1441
1442 \includegraphics{images/micropdf417-2}
1443
1444 \hypertarget{pdf417}{%
1445 \subsubsection{PDF417}\label{pdf417}}
1446
1447 The \textbf{PDF417} barcode symbology is 2D stacked-linear barcode that
1448 can encode full 256 character extended-ASCII.
1449
1450 Variants:
1451
1452 \begin{itemize}
1453 \tightlist
1454 \item
1455 \protect\hyperlink{compact-pdf417}{Compact PDF417} is a shortened form
1456 of the PDF417 barcode that is used in applications where the space for
1457 the symbol is restricted.
1458 \item
1459 \protect\hyperlink{micropdf417}{MicroPDF417} is a smaller variant of
1460 the PDF417 barcode.
1461 \item
1462 \protect\hyperlink{hibc-symbols}{HIBC PDF417} is a variant of PDF417
1463 that should be used when encoding HIBC formatted data.
1464 \end{itemize}
1465
1466 Standards: ISO/IEC 15438, DD ENV 12925, AIM USS - PDF417.
1467
1468 \hypertarget{data-and-options-14}{%
1469 \paragraph{Data and Options}\label{data-and-options-14}}
1470
1471 \begin{itemize}
1472 \tightlist
1473 \item
1474 The data field can contain any extended ASCII data. The default
1475 interpretation of data by readers is in accordance with ISO/IEC
1476 8859-1. When supported by the receiver characters from other code
1477 pages can be encoded using Extended Channel Interpretation (ECI).
1478 \item
1479 When the \textbf{parse} option is specified, any instances of
1480 \texttt{\^{}NNN} in the data field are replaced with their equivalent
1481 ASCII value, useful for specifying unprintable characters.
1482 \item
1483 When the \textbf{parsefnc} option is specified, non-data function
1484 characters can be specified by escape sequences:
1485
1486 \begin{itemize}
1487 \tightlist
1488 \item
1489 \texttt{\^{}ECI000000} to \texttt{\^{}ECI811799}: ECI indicators.
1490 \end{itemize}
1491 \item
1492 The \textbf{eclevel} option is used to specify the error correction
1493 level, from 1 to 5. The default is to choose a standard level of error
1494 correction that is determined by the encoded data length.
1495 \item
1496 The \textbf{columns} option specifies the number of columns (or groups
1497 of bars) in the output symbol, from 1 to 30.
1498 \item
1499 The \textbf{rows} option specifies the minimum number of rows in the
1500 symbol, from 3 to 90.
1501 \item
1502 If \textbf{rows} is unspecified the encoder will select a number that
1503 creates a symbol that is the minimum size to represent the given data.
1504 \item
1505 The \textbf{rowmult} option is used to specify how tall each bar is,
1506 with respect to the minimum module width. The default is 3.
1507 \item
1508 The \textbf{raw} option denotes that the data field is providing the
1509 input as a pre-encoded codewords in \texttt{\^{}NNN} format, suitable
1510 for direct low-level encoding.
1511 \item
1512 \emph{Deprecated: Use \protect\hyperlink{compact-pdf417}{Compact
1513 PDF417} instead. The \textbf{compact} option is used to create a
1514 compact/truncated PDF417 symbol that has fewer bars per row that a
1515 standard symbol and hence is more narrow.}
1516 \item
1517 \emph{Deprecated: Internal use.} The \textbf{ccc} option identifies
1518 this symbol as a \emph{CC-C} 2D component of a
1519 \protect\hyperlink{gs1-composite-symbols}{GS1 Composite} symbol.
1520 \end{itemize}
1521
1522 \hypertarget{examples-11}{%
1523 \paragraph{Examples}\label{examples-11}}
1524
1525 \begin{verbatim}
1526 Data: PDF417
1527 Options:
1528 Encoder: pdf417
1529 \end{verbatim}
1530
1531 \includegraphics{images/pdf417-1}
1532
1533 \begin{verbatim}
1534 Data: P^068F417
1535 Options: parse columns=2 rows=15
1536 Encoder: pdf417
1537 \end{verbatim}
1538
1539 \includegraphics{images/pdf417-2}
1540
1541 \begin{verbatim}
1542 Data: Strong error correction
1543 Options: columns=2 eclevel=5
1544 Encoder: pdf417
1545 \end{verbatim}
1546
1547 \includegraphics{images/pdf417-4}
1548
1549 \begin{verbatim}
1550 Data: ^453^178^121^239
1551 Options: raw columns=2
1552 Encoder: pdf417
1553 \end{verbatim}
1554
1555 \includegraphics{images/pdf417-5}
1556
1557 \hypertarget{compact-pdf417}{%
1558 \subsubsection{Compact PDF417}\label{compact-pdf417}}
1559
1560 \textbf{Compact PDF417} is a shortened form of the
1561 \protect\hyperlink{pdf417}{PDF417} barcode that is used in applications
1562 where the space for the symbol is restricted.
1563
1564 Also known as: Truncated PDF417
1565
1566 Variants:
1567
1568 \begin{itemize}
1569 \tightlist
1570 \item
1571 \protect\hyperlink{pdf417}{PDF417} is the larger, more popular
1572 variant.
1573 \item
1574 \protect\hyperlink{micropdf417}{MicroPDF417} is a smaller variant of
1575 the PDF417 barcode.
1576 \item
1577 \protect\hyperlink{hibc-symbols}{HIBC PDF417} is a variant of PDF417
1578 that should be used when encoding HIBC formatted data.
1579 \end{itemize}
1580
1581 Standards: ISO/IEC 15438, DD ENV 12925, AIM USS - PDF417.
1582
1583 \hypertarget{data-and-options-15}{%
1584 \paragraph{Data and Options}\label{data-and-options-15}}
1585
1586 \begin{itemize}
1587 \tightlist
1588 \item
1589 The data field can contain any extended ASCII data. The default
1590 interpretation of data by readers is in accordance with ISO/IEC
1591 8859-1. When supported by the receiver characters from other code
1592 pages can be encoded using Extended Channel Interpretation (ECI).
1593 \item
1594 When the \textbf{parse} option is specified, any instances of
1595 \texttt{\^{}NNN} in the data field are replaced with their equivalent
1596 ASCII value, useful for specifying unprintable characters.
1597 \item
1598 When the \textbf{parsefnc} option is specified, non-data function
1599 characters can be specified by escape sequences:
1600
1601 \begin{itemize}
1602 \tightlist
1603 \item
1604 \texttt{\^{}ECI000000} to \texttt{\^{}ECI811799}: ECI indicators
1605 \end{itemize}
1606 \item
1607 The \textbf{eclevel} option is used to specify the error correction
1608 level, from 1 to 5. The default is to choose a standard level of error
1609 correction that is determined by the encoded data length.
1610 \item
1611 The \textbf{columns} option specifies the number of columns (or groups
1612 of bars) in the output symbol, from 1 to 30.
1613 \item
1614 The \textbf{rows} option specifies the minimum number of rows in the
1615 symbol, from 3 to 90.
1616 \item
1617 If \textbf{rows} is unspecified the encoder will select a number that
1618 creates a symbol that is the minimum size to represent the given data.
1619 \item
1620 The \textbf{rowmult} option is used to specify how tall each bar is,
1621 with respect to the minimum module width. The default is 3.
1622 \item
1623 The \textbf{raw} option denotes that the data field is providing the
1624 input as a pre-encoded codewords in \texttt{\^{}NNN} format, suitable
1625 for direct low-level encoding.
1626 \end{itemize}
1627
1628 \hypertarget{examples-12}{%
1629 \paragraph{Examples}\label{examples-12}}
1630
1631 \begin{verbatim}
1632 Data: A truncated PDF417
1633 Options: columns=4
1634 Encoder: pdf417compact
1635 \end{verbatim}
1636
1637 \includegraphics{images/pdf417-3}
1638
1639 \hypertarget{qr-code}{%
1640 \subsubsection{QR Code}\label{qr-code}}
1641
1642 The \textbf{QR Code} symbology is a 2D matrix-style barcode symbology
1643 that can encode full 256 character extended-ASCII.
1644
1645 Also known as: Quick Response Code.
1646
1647 Variants:
1648
1649 \begin{itemize}
1650 \tightlist
1651 \item
1652 \protect\hyperlink{micro-qr-code}{Micro QR Code} is a small QR Code
1653 that is used in applications that require a small symbol space.
1654 \item
1655 \protect\hyperlink{gs1-qr-code}{GS1 QR Code} is a variant of Data
1656 Matrix that should be used when encoding data that is in
1657 \protect\hyperlink{gs1-application-identifier-standard-format}{GS1
1658 Application Identifier standard format}.
1659 \item
1660 \protect\hyperlink{gs1-digital-link-qr-code}{GS1 Digital Link QR Code}
1661 is a variant of Data Matrix that should be used when encoding a GS1
1662 Digital Link URI.
1663 \item
1664 \protect\hyperlink{hibc-symbols}{HIBC QR Code} is a variant of QR Code
1665 that should be used when encoding HIBC formatted data.
1666 \item
1667 \protect\hyperlink{swiss-qr-code}{Swiss QR Code} is a variant of the
1668 QR Code for use with the QR-bill application supporting Swiss
1669 payments.
1670 \end{itemize}
1671
1672 Standards: ISO/IEC 18004, JIS X 0510, ITS - QR Code, AIM ISS - QR Code.
1673
1674 \hypertarget{data-and-options-16}{%
1675 \paragraph{Data and Options}\label{data-and-options-16}}
1676
1677 \begin{itemize}
1678 \tightlist
1679 \item
1680 The data field can contain any extended ASCII data. The default
1681 interpretation of data by readers is in accordance with ISO/IEC
1682 8859-1. When supported by the receiver characters from other code
1683 pages can be encoded using Extended Channel Interpretation (ECI).
1684 \item
1685 When the \textbf{parse} option is specified, any instances of
1686 \texttt{\^{}NNN} in the data field are replaced with their equivalent
1687 ASCII value, useful for specifying unprintable characters.
1688 \item
1689 When the \textbf{parsefnc} option is specified, non-data function
1690 characters can be specified by escape sequences:
1691
1692 \begin{itemize}
1693 \tightlist
1694 \item
1695 \texttt{\^{}FNC1}: FNC1. \emph{Recommendation: Use
1696 \protect\hyperlink{gs1-qr-code}{GS1 QR Code} for encoding GS1 AI
1697 syntax data.}
1698 \item
1699 \texttt{\^{}ECI000000} to \texttt{\^{}ECI999999}: ECI indicators
1700 \end{itemize}
1701 \item
1702 The \textbf{eclevel} option is used to specify the error correction
1703 level:
1704
1705 \begin{itemize}
1706 \tightlist
1707 \item
1708 \texttt{eclevel=L} - Low
1709 \item
1710 \texttt{eclevel=M} - Medium (default)
1711 \item
1712 \texttt{eclevel=Q} - Quality
1713 \item
1714 \texttt{eclevel=H} - High
1715 \end{itemize}
1716 \item
1717 The \textbf{version} option is used to specify the size of the symbol,
1718 1 to 40.
1719 \item
1720 If unspecified the encoder will select the version of the symbol that
1721 is the minimum size to represent the given data at the selected error
1722 correction level.
1723 \item
1724 \emph{Deprecated}: The \textbf{format} option is used to specify the
1725 symbol type, either:
1726
1727 \begin{itemize}
1728 \tightlist
1729 \item
1730 \texttt{full} (default)
1731 \item
1732 \texttt{micro}: Use \protect\hyperlink{micro-qr-code}{Micro QR Code}
1733 for Micro QR Code symbols.
1734 \item
1735 \texttt{rmqr}: The standard is still in draft.
1736 \end{itemize}
1737 \end{itemize}
1738
1739 \hypertarget{examples-13}{%
1740 \paragraph{Examples}\label{examples-13}}
1741
1742 \begin{verbatim}
1743 Data: QR Code
1744 Options:
1745 Encoder: qrcode
1746 \end{verbatim}
1747
1748 \begin{verbatim}
1749 Data: QR ^067ode
1750 Options: parse
1751 Encoder: qrcode
1752 \end{verbatim}
1753
1754 \includegraphics{images/qrcode-1}
1755
1756 \begin{verbatim}
1757 Data: QR CODE 1234
1758 Options: version=10 eclevel=Q
1759 Encoder: qrcode
1760 \end{verbatim}
1761
1762 \includegraphics{images/qrcode-2}
1763
1764 \hypertarget{micro-qr-code}{%
1765 \subsubsection{Micro QR Code}\label{micro-qr-code}}
1766
1767 The \textbf{Micro QR Code} symbology is a smaller variant of
1768 \protect\hyperlink{qr-code}{QR Code} that is used in applications that
1769 require a small symbol space.
1770
1771 Also known as: Micro Quick Response Code.
1772
1773 Variants:
1774
1775 \begin{itemize}
1776 \tightlist
1777 \item
1778 \protect\hyperlink{qr-code}{QR Code} is the more popular, larger
1779 variant.
1780 \end{itemize}
1781
1782 Standards: ISO/IEC 18004, JIS X 0510, ITS - QR Code, AIM ISS - QR Code.
1783
1784 \hypertarget{data-and-options-17}{%
1785 \paragraph{Data and Options}\label{data-and-options-17}}
1786
1787 \begin{itemize}
1788 \tightlist
1789 \item
1790 The data field can contain any extended ASCII data. The default
1791 interpretation of data by readers is in accordance with ISO/IEC
1792 8859-1.
1793 \item
1794 An appropriate size will be selected to work around the following
1795 restrictions:
1796
1797 \begin{itemize}
1798 \tightlist
1799 \item
1800 An M1 symbol is only compatible with numeric data.
1801 \item
1802 An M2 symbol is only compatible with alphanumeric data.
1803 \end{itemize}
1804 \item
1805 When the \textbf{parse} option is specified, any instances of
1806 \texttt{\^{}NNN} in the data field are replaced with their equivalent
1807 ASCII value, useful for specifying unprintable characters.
1808 \item
1809 The \textbf{version} option is used to specify the size of the symbol,
1810 either \texttt{version=M1}, \texttt{version=M2}, \texttt{version=M3}
1811 or \texttt{version=M4}.
1812 \item
1813 The \textbf{eclevel} option is used to specify the error correction
1814 level:
1815
1816 \begin{itemize}
1817 \tightlist
1818 \item
1819 \texttt{eclevel=L} - Low (default)
1820 \item
1821 \texttt{eclevel=M} - Medium; Not compatible with M1 symbols
1822 \item
1823 \texttt{eclevel=Q} - Quality; Only compatible with M4 symbols
1824 \end{itemize}
1825 \item
1826 If unspecified the encoder will select the version of the symbol that
1827 is the minimum size to represent the given data at the selected error
1828 correction level.
1829 \end{itemize}
1830
1831 \hypertarget{examples-14}{%
1832 \paragraph{Examples}\label{examples-14}}
1833
1834 \begin{verbatim}
1835 Data: 01234567
1836 Options:
1837 Encoder: microqrcode
1838 \end{verbatim}
1839
1840 \includegraphics{images/qrcode-5}
1841
1842 \hypertarget{swiss-qr-code}{%
1843 \subsubsection{Swiss QR Code}\label{swiss-qr-code}}
1844
1845 \textbf{Swiss QR Code} is a variant of the
1846 \protect\hyperlink{qr-code}{QR Code} barcode symbology for use with the
1847 QR-bill application supporting Swiss payments.
1848
1849 Standards: Swiss Implementation Guidelines QR-bill, ISO/IEC 18004, ITS -
1850 QR Code
1851
1852 \hypertarget{data-and-options-18}{%
1853 \paragraph{Data and Options}\label{data-and-options-18}}
1854
1855 \begin{itemize}
1856 \tightlist
1857 \item
1858 The data field input is provided in the format described in the Swiss
1859 Implementation Guidelines QR-bill document.
1860 \item
1861 The \textbf{version} option is used to specify the size of the symbol,
1862 5 to 25. This is not typically specified.
1863 \item
1864 If the \textbf{version} is unspecified the encoder will default to
1865 creating a symbol that is the minimum size to represent the given data
1866 at the selected error correction level.
1867 \end{itemize}
1868
1869 Note: Swiss QR Code specifies that the image shall be 46mm x 46mm
1870 (excluding quiet zone), irrespective of QR Code version, and is
1871 overlayed with a fixed 7mm x 7mm Swiss Cross pattern. The Swiss Cross
1872 pitch bears no relation to the module width of the QR symbol, so we must
1873 assume that the application provides sufficient resolution throughout
1874 the print process that defects produced by issues such as pixel grazing
1875 are insignificant. Therefore, unlike most other encoders, we do not pick
1876 a fixed module width to assist with grid fitting but rather ensure that
1877 the image is scaled to a fixed size, per the specification.
1878
1879 \hypertarget{example-1}{%
1880 \paragraph{Example}\label{example-1}}
1881
1882 \begin{verbatim}
1883 Data:
1884 SPC
1885 0200
1886 1
1887 CH5800791123000889012
1888 S
1889 Robert Schneider AG
1890 Rue du Lac
1891 1268
1892 2501
1893 Biel
1894 CH
1895
1896
1897
1898
1899
1900
1901
1902 199.95
1903 CHF
1904 K
1905 Pia-Maria Rutschmann-Schnyder
1906 Grosse Marktgasse 28
1907 9400 Rorschach
1908
1909
1910 CH
1911 SCOR
1912 RF18539007547034
1913
1914 EPD
1915 Options:
1916 Encoder: swissqrcode
1917 \end{verbatim}
1918
1919 \includegraphics[scale=0.5]{images/swissqrcode-1}
1920
1921 \hypertarget{one-dimensional}{%
1922 \subsection{One-Dimensional}\label{one-dimensional}}
1923
1924 \hypertarget{code-128}{%
1925 \subsubsection{Code 128}\label{code-128}}
1926
1927 \textbf{Code 128} is an arbitrarily long, high-density barcode symbology
1928 that can be used to encode full 256 character extended-ASCII.
1929
1930 Also known as: USD-6, USS-128, Code 128A, Code 128B, Code 128C.
1931
1932 Variants:
1933
1934 \begin{itemize}
1935 \tightlist
1936 \item
1937 \protect\hyperlink{gs1-128}{GS1-128} is a variant of Code 128 that
1938 should be used when encoding data that is in
1939 \protect\hyperlink{gs1-application-identifier-standard-format}{GS1
1940 Application Identifier standard format}.
1941 \item
1942 \protect\hyperlink{hibc-symbols}{HIBC Code 128} is a variant of Code
1943 128 that should be used when encoding HIBC formatted data.
1944 \end{itemize}
1945
1946 Standards: ISO/IEC 15417, ANSI/AIM BC4 - ISS Code 128, BS EN 799.
1947
1948 \hypertarget{data-and-options-19}{%
1949 \paragraph{Data and Options}\label{data-and-options-19}}
1950
1951 \begin{itemize}
1952 \tightlist
1953 \item
1954 The data field input can consist of any extended ASCII data. The
1955 default interpretation of data by readers is in accordance with
1956 ISO/IEC 8859-1.
1957 \item
1958 The mandatory check digit is calculated automatically.
1959 \item
1960 When the \textbf{parse} option is specified, any instances of
1961 \texttt{\^{}NNN} in the data field are replaced with their equivalent
1962 ASCII or extended-ASCII value, useful for specifying unprintable
1963 characters, e.g. \texttt{\^{}029} for \emph{GS}, \texttt{\^{}209} for
1964 \emph{Ñ}, etc.
1965 \item
1966 \emph{FNC4} function characters will be inserted automatically to
1967 allow the encoding of extended ASCII characters.
1968 \item
1969 When the \textbf{parsefnc} option is specified, non-data function
1970 characters can be specified by escape sequences:
1971
1972 \begin{itemize}
1973 \tightlist
1974 \item
1975 \texttt{\^{}FNC1}: FNC1. \emph{Recommendation: Use
1976 \protect\hyperlink{gs1-128}{GS1-128} for encoding GS1 AI syntax
1977 data.}
1978 \item
1979 \texttt{\^{}FNC2}: FNC2
1980 \item
1981 \texttt{\^{}FNC3}: FNC3
1982 \end{itemize}
1983 \item
1984 The \textbf{raw} option denotes that the data field is providing the
1985 input as pre-encoded codewords in \texttt{\^{}NNN} format, suitable
1986 for direct low-level encoding.
1987 \item
1988 \emph{Deprecated: For internal use.} When the \textbf{parsefnc} option
1989 is specified, the special pseudo characters \texttt{\^{}LNKA} and
1990 \texttt{\^{}LNKC} at the end of the symbol indicate that a GS1-128
1991 symbol includes a \emph{CC-A/B} or \emph{CC-C} GS1 composite 2D
1992 component.
1993 \end{itemize}
1994
1995 \hypertarget{example-2}{%
1996 \paragraph{Example}\label{example-2}}
1997
1998 \begin{verbatim}
1999 Data: Count0123456789!
2000 Options: includetext
2001 Encoder: code128
2002 \end{verbatim}
2003
2004 \includegraphics{images/code128-1}
2005
2006 \hypertarget{code-39}{%
2007 \subsubsection{Code 39}\label{code-39}}
2008
2009 The \textbf{Code 39} barcode symbology is discrete, variable length and
2010 self-checking.
2011
2012 Also known as: Code 3 of 9, LOGMARS, Alpha39, USD-3, USS-39.
2013
2014 Variants:
2015
2016 \begin{itemize}
2017 \tightlist
2018 \item
2019 \protect\hyperlink{code-39-extended}{Code 39 Extended} is a variant of
2020 Code 39 that can be used to encode full 128 character ASCII with the
2021 use of shift character combinations.
2022 \item
2023 \protect\hyperlink{hibc-symbols}{HIBC Code39} is a variant of Code 39
2024 that should be used when encoding HIBC formatted data.
2025 \item
2026 AIM USD-2 is a subset of Code 39 containing the characters A-Z, 0-9,
2027 \emph{space}, \texttt{-} and \texttt{.}.
2028 \end{itemize}
2029
2030 Standards: ISO/IEC 16388, ANSI/AIM BC1 - USS Code 39, BS EN 800, MIL STD
2031 1189.
2032
2033 \hypertarget{data-and-options-20}{%
2034 \paragraph{Data and Options}\label{data-and-options-20}}
2035
2036 \begin{itemize}
2037 \tightlist
2038 \item
2039 The data field can hold any of the following:
2040
2041 \begin{itemize}
2042 \tightlist
2043 \item
2044 Numbers 0-9
2045 \item
2046 Capital letters A-Z
2047 \item
2048 Symbols \texttt{-.\$/+\%*} and \emph{space}
2049 \end{itemize}
2050 \item
2051 The \textbf{includecheck} option calculates the check digit.
2052 \item
2053 The \textbf{includecheckintext} option makes the calculated checksum
2054 appear in the human readable text.
2055 \item
2056 The \textbf{hidestars} option suppresses the asterisks in the human
2057 readable text.
2058 \end{itemize}
2059
2060 \hypertarget{examples-15}{%
2061 \paragraph{Examples}\label{examples-15}}
2062
2063 \begin{verbatim}
2064 Data: CODE39
2065 Options: includetext
2066 Encoder: code39
2067 \end{verbatim}
2068
2069 \includegraphics{images/code39-1}
2070
2071 \begin{verbatim}
2072 Data: CODE39
2073 Options: includecheck includetext includecheckintext
2074 Encoder: code39
2075 \end{verbatim}
2076
2077 \includegraphics{images/code39-2}
2078
2079 \begin{verbatim}
2080 Data: CODE39
2081 Options: hidestars includecheck includetext
2082 Encoder: code39
2083 \end{verbatim}
2084
2085 \includegraphics{images/code39-3}
2086
2087 \hypertarget{code-39-extended}{%
2088 \subsubsection{Code 39 Extended}\label{code-39-extended}}
2089
2090 The \textbf{Code 39 Extended} barcode symbology is discrete, variable
2091 length and self-checking. It is based on
2092 \protect\hyperlink{code-39}{Code 39} but can encode full 128 character
2093 ASCII by using shift combinations.
2094
2095 Also known as: Code 39 Full ASCII.
2096
2097 Variants:
2098
2099 \begin{itemize}
2100 \tightlist
2101 \item
2102 \protect\hyperlink{code-39}{Code 39} is a simpler variant of Code 39
2103 Extended.
2104 \end{itemize}
2105
2106 Standards: ISO/IEC 16388, ANSI/AIM BC1 - USS Code 39, BS EN 800.
2107
2108 \hypertarget{data-and-options-21}{%
2109 \paragraph{Data and Options}\label{data-and-options-21}}
2110
2111 \begin{itemize}
2112 \tightlist
2113 \item
2114 The data field can consist of any ASCII data.
2115 \item
2116 When the \textbf{parse} option is specified, any instances of
2117 \texttt{\^{}NNN} in the data field are replaced with their equivalent
2118 ASCII value, useful for specifying unprintable characters, e.g.
2119 \texttt{\^{}029} for \emph{GS}, etc.
2120 \item
2121 The \textbf{includecheck} option calculates the check digit.
2122 \item
2123 The \textbf{includecheckintext} causes the calculated check digit to
2124 appear in the human readable text.
2125 \item
2126 The \textbf{hidestars} option suppresses the asterisks in the human
2127 readable text.
2128 \end{itemize}
2129
2130 \hypertarget{examples-16}{%
2131 \paragraph{Examples}\label{examples-16}}
2132
2133 \begin{verbatim}
2134 Data: Code39 Ext!
2135 Options: includetext includecheck
2136 Encoder: code39ext
2137 \end{verbatim}
2138
2139 \includegraphics{images/code39ext-1}
2140
2141 \begin{verbatim}
2142 Data: Code39^029Extended
2143 Options: parse includecheck
2144 Encoder: code39ext
2145 \end{verbatim}
2146
2147 \includegraphics{images/code39ext-2}
2148
2149 \hypertarget{code-93}{%
2150 \subsubsection{Code 93}\label{code-93}}
2151
2152 \textbf{Code 93} is a continuous, variable length, self-checking barcode
2153 symbology.
2154
2155 Also known as: USD-7, USS-93.
2156
2157 Variants:
2158
2159 \begin{itemize}
2160 \tightlist
2161 \item
2162 \protect\hyperlink{code-93-extended}{Code 93 Extended} is a variant of
2163 Code 93 that can be used to encode full 128 character ASCII with the
2164 use of special shift character combinations.
2165 \end{itemize}
2166
2167 Standards: ANSI/AIM BC5 - USS Code 93, ITS 93i.
2168
2169 \hypertarget{data-and-options-22}{%
2170 \paragraph{Data and Options}\label{data-and-options-22}}
2171
2172 \begin{itemize}
2173 \tightlist
2174 \item
2175 The data field can hold any of the following:
2176
2177 \begin{itemize}
2178 \tightlist
2179 \item
2180 Numbers 0-9
2181 \item
2182 Capital letters A-Z
2183 \item
2184 Symbols \texttt{-.\$/+\%*} and \emph{space}
2185 \end{itemize}
2186 \item
2187 The \textbf{includecheck} option calculates the two check digits.
2188 \item
2189 \emph{Deprecated: For internal use.} The \textbf{parsefnc} option
2190 allows the special shift characters to be supplied as escape
2191 sequences:
2192
2193 \begin{itemize}
2194 \tightlist
2195 \item
2196 \texttt{\^{}SFT\$}: (\$)
2197 \item
2198 \texttt{\^{}SFT\%}: (\%)
2199 \item
2200 \texttt{\^{}SFT/}: (/)
2201 \item
2202 \texttt{\^{}SFT+}: (+)
2203 \end{itemize}
2204 \end{itemize}
2205
2206 \hypertarget{examples-17}{%
2207 \paragraph{Examples}\label{examples-17}}
2208
2209 \begin{verbatim}
2210 Data: CODE93
2211 Options: includecheck
2212 Encoder: code93
2213 \end{verbatim}
2214
2215 \includegraphics{images/code93-1}
2216
2217 Code 93 including a special shift combination \texttt{(/)A} representing
2218 \emph{!}:
2219
2220 \begin{verbatim}
2221 Data: CODE93^SFT/A
2222 Options: parsefnc includecheck
2223 Encoder: code93
2224 \end{verbatim}
2225
2226 \includegraphics{images/code93-2}
2227
2228 \hypertarget{code-93-extended}{%
2229 \subsubsection{Code 93 Extended}\label{code-93-extended}}
2230
2231 The \textbf{Code 93 Extended} barcode symbology is continuous, variable
2232 length and self-checking. It is based on
2233 \protect\hyperlink{code-93}{Code 93} but can encode full 128 character
2234 ASCII using four additional shift characters: \emph{(\$)} \emph{(\%)}
2235 \emph{(/)} \emph{(+)}
2236
2237 Also known as: Code 93 Full ASCII.
2238
2239 Variants:
2240
2241 \begin{itemize}
2242 \tightlist
2243 \item
2244 \protect\hyperlink{code-93}{Code 93} is a simpler variant of the Code
2245 93 Extended barcode symbology.
2246 \end{itemize}
2247
2248 Standards: ANSI/AIM BC5 - USS Code 93, ITS 93i.
2249
2250 \hypertarget{data-and-options-23}{%
2251 \paragraph{Data and Options}\label{data-and-options-23}}
2252
2253 \begin{itemize}
2254 \tightlist
2255 \item
2256 The data field can consist of any ASCII data.
2257 \item
2258 When the \textbf{parse} option is specified, any instances of
2259 \texttt{\^{}NNN} in the data field are replaced with their equivalent
2260 ASCII value, useful for specifying unprintable characters, e.g.
2261 \texttt{\^{}029} for \emph{GS}, etc.
2262 \item
2263 The \textbf{includecheck} option calculates the two check digits.
2264 \end{itemize}
2265
2266 \hypertarget{examples-18}{%
2267 \paragraph{Examples}\label{examples-18}}
2268
2269 \begin{verbatim}
2270 Data: Code93Ext!
2271 Options: includecheck
2272 Encoder: code93ext
2273 \end{verbatim}
2274
2275 \includegraphics{images/code93ext-1}
2276
2277 \begin{verbatim}
2278 Data: Code93^029Extended
2279 Options: parse includecheck
2280 Encoder: code93ext
2281 \end{verbatim}
2282
2283 \includegraphics{images/code93ext-2}
2284
2285 \hypertarget{interleaved-2-of-5}{%
2286 \subsubsection{Interleaved 2 of 5}\label{interleaved-2-of-5}}
2287
2288 \textbf{Interleaved 2 of 5} is a high-density numeric barcode symbology.
2289
2290 Also known as: ITF, Code 2 of 5 Interleaved, USD-1, USS-Interleaved 2 of
2291 5.
2292
2293 Variants:
2294
2295 \begin{itemize}
2296 \tightlist
2297 \item
2298 \protect\hyperlink{itf-14}{ITF-14} is a variant of Interleaved 2 of 5
2299 that should be used when encoding a fourteen-digit GTIN.
2300 \end{itemize}
2301
2302 Standards: ISO/IEC 16390, ANSI/AIM BC2 - USS Interleaved 2 of 5, BS EN
2303 801.
2304
2305 \hypertarget{data-and-options-24}{%
2306 \paragraph{Data and Options}\label{data-and-options-24}}
2307
2308 \begin{itemize}
2309 \tightlist
2310 \item
2311 The data can consist of any number of digits.
2312 \item
2313 If the length of the symbol including the possible check digit would
2314 be odd then the data is prefixed by \emph{0}.
2315 \item
2316 The \textbf{includecheck} option calculates the check digit.
2317 \item
2318 The \textbf{includecheckintext} option makes the calculated checksum
2319 appear in the human readable text.
2320 \end{itemize}
2321
2322 \hypertarget{examples-19}{%
2323 \paragraph{Examples}\label{examples-19}}
2324
2325 \begin{verbatim}
2326 Data: 0123456789
2327 Options:
2328 Encoder: interleaved2of5
2329 \end{verbatim}
2330
2331 \includegraphics{images/itf-1}
2332
2333 \begin{verbatim}
2334 Data: 2401234567
2335 Options: includecheck includetext includecheckintext
2336 Encoder: interleaved2of5
2337 \end{verbatim}
2338
2339 \includegraphics{images/itf-2}
2340
2341 \hypertarget{supply-chain}{%
2342 \subsection{Supply Chain}\label{supply-chain}}
2343
2344 \hypertarget{ean-14}{%
2345 \subsubsection{EAN-14}\label{ean-14}}
2346
2347 \textbf{EAN-14} is an implementation of the
2348 \protect\hyperlink{gs1-128}{GS1-128} barcode symbology with \emph{AI
2349 (01)} that is used to encode a lone GTIN-14.
2350
2351 Also known as: UCC-14.
2352
2353 Standards: ISO/IEC 15417, ANSI/AIM BC4-1999 ISS, BS EN 799, GS1 General
2354 Specifications.
2355
2356 \hypertarget{data-and-options-25}{%
2357 \paragraph{Data and Options}\label{data-and-options-25}}
2358
2359 \begin{itemize}
2360 \tightlist
2361 \item
2362 The data field input must be a solitary \emph{AI (01)} with thirteen
2363 or fourteen digits of a GTIN, i.e. \texttt{(01)...}.
2364 \item
2365 Arbitrary spacing may be placed between the digits to format the human
2366 readable text without interfering with the encoded data.
2367 \item
2368 If thirteen digits of primary data are supplied then the check digit
2369 is calculated automatically. Otherwise the provided check digit will
2370 be verified.
2371 \end{itemize}
2372
2373 \hypertarget{examples-20}{%
2374 \paragraph{Examples}\label{examples-20}}
2375
2376 Identical symbols, input provided with and without a check digit:
2377
2378 \begin{verbatim}
2379 Data: (01)04601234567893
2380 Options: includetext
2381 Encoder: ean14
2382 \end{verbatim}
2383
2384 \begin{verbatim}
2385 Data: (01)0460123456789
2386 Options: includetext
2387 Encoder: ean14
2388 \end{verbatim}
2389
2390 \includegraphics{images/ean14-1}
2391
2392 \hypertarget{itf-14}{%
2393 \subsubsection{ITF-14}\label{itf-14}}
2394
2395 \textbf{ITF-14} is an implementation of the
2396 \protect\hyperlink{interleaved-2-of-5}{Interleaved 2 of 5} barcode
2397 symbology that is typically used to encode a GTIN-14, GTIN-13 or
2398 GTIN-12.
2399
2400 Also known as: UPC Shipping Container Symbol, SCS, UPC Case Code.
2401
2402 Standards: ISO/IEC 16390, ANSI/AIM BC2-1995 USS, BS EN 801, GS1 General
2403 Specifications.
2404
2405 \hypertarget{data-and-options-26}{%
2406 \paragraph{Data and Options}\label{data-and-options-26}}
2407
2408 \begin{itemize}
2409 \tightlist
2410 \item
2411 The data consists of either thirteen or fourteen digits.
2412 \item
2413 Arbitrary spacing may be placed between the digits to format the human
2414 readable text without interfering with the encoded data.
2415 \item
2416 If thirteen digits are supplied then the check digit is calculated
2417 automatically. Otherwise the provided check digit will be verified.
2418 \end{itemize}
2419
2420 \hypertarget{examples-21}{%
2421 \paragraph{Examples}\label{examples-21}}
2422
2423 Identical symbols, input provided with and without a check digit:
2424
2425 \begin{verbatim}
2426 Data: 04601234567893
2427 Options: includetext
2428 Encoder: itf14
2429 \end{verbatim}
2430
2431 \begin{verbatim}
2432 Data: 0460123456789
2433 Options: includetext
2434 Encoder: itf14
2435 \end{verbatim}
2436
2437 \includegraphics{images/itf-14-1}
2438
2439 \hypertarget{sscc-18}{%
2440 \subsubsection{SSCC-18}\label{sscc-18}}
2441
2442 \textbf{SSCC-18} is an implementation of the
2443 \protect\hyperlink{gs1-128}{GS1-128} barcode symbology with \emph{AI
2444 (00)} that is typically used to encode an eighteen-digit shipping
2445 container serial number.
2446
2447 Also known as: EAN-18, NVE.
2448
2449 Standards: ISO/IEC 15417, ANSI/AIM BC4-1999 ISS, BS EN 799, GS1 General
2450 Specifications.
2451
2452 \hypertarget{data-and-options-27}{%
2453 \paragraph{Data and Options}\label{data-and-options-27}}
2454
2455 \begin{itemize}
2456 \tightlist
2457 \item
2458 The data field input must be a solitary \emph{AI (00)} with seventeen
2459 or eighteen digits of a Serial Shipping Container Code, i.e.
2460 \texttt{(00)...}.
2461 \item
2462 Arbitrary spacing may be placed between the digits to format the human
2463 readable text without interfering with the encoded data.
2464 \item
2465 If seventeen digits of primary data are supplied then the check digit
2466 is calculated automatically. Otherwise the provided check digit will
2467 be verified.
2468 \end{itemize}
2469
2470 \hypertarget{example-3}{%
2471 \paragraph{Example}\label{example-3}}
2472
2473 Identical symbols, input provided with and without a check digit:
2474
2475 \begin{verbatim}
2476 Data: (00)006141411234567890
2477 Options: includetext
2478 Encoder: sscc18
2479 \end{verbatim}
2480
2481 \begin{verbatim}
2482 Data: (00)00614141123456789
2483 Options: includetext
2484 Encoder: sscc18
2485 \end{verbatim}
2486
2487 \includegraphics{images/sscc18-1}
2488
2489 \hypertarget{gs1-datamatrix}{%
2490 \subsubsection{GS1 DataMatrix}\label{gs1-datamatrix}}
2491
2492 \textbf{GS1 DataMatrix} is an implementation of the
2493 \protect\hyperlink{data-matrix}{Data Matrix} (ECC 200) barcode symbology
2494 with \protect\hyperlink{gs1-application-identifier-standard-format}{GS1
2495 formatted} data.
2496
2497 Standards: ISO/IEC 16022, ANSI/AIM BC11 ISS, GS1 General Specifications.
2498
2499 \hypertarget{data-and-options-28}{%
2500 \paragraph{Data and Options}\label{data-and-options-28}}
2501
2502 \begin{itemize}
2503 \tightlist
2504 \item
2505 The data field input is provided in
2506 \protect\hyperlink{gs1-application-identifier-standard-format}{GS1
2507 Application Identifier standard format} starting with the mandatory
2508 \emph{(01)} Application Identifier.
2509 \item
2510 Note that it is not necessary to specify \emph{FNC1} characters since
2511 the encoder will insert these automatically where necessary.
2512 \item
2513 \emph{Deprecated.} The \textbf{dontlint} option disables GS1
2514 Application Identifier syntax validation allowing images to be
2515 generated for input that does not comply with GS1 standards.
2516 \item
2517 The \textbf{format} option is used to specify the shape of the symbol,
2518 either \texttt{square} (default) or \texttt{rectangle}.
2519 \item
2520 The \textbf{columns} and \textbf{rows} options are used to specify the
2521 size of the symbol.
2522 \item
2523 The \textbf{version} option can also be used to specify the symbol
2524 size, as \texttt{version=RxC}. Valid options are:
2525
2526 \begin{itemize}
2527 \tightlist
2528 \item
2529 With \texttt{format=square}: \emph{10x10}, \emph{12x12},
2530 \emph{14x14}, \emph{16x16}, \emph{18x18}, \emph{20x20},
2531 \emph{22x22}, \emph{24x24}, \emph{26x26}, \emph{32x32},
2532 \emph{36x36}, \emph{40x40}, \emph{44x44}, \emph{48x48},
2533 \emph{52x52}, \emph{64x64}, \emph{72x72}, \emph{80x80},
2534 \emph{88x88}, \emph{96x96}, \emph{104x104}, \emph{120x120},
2535 \emph{132x132}, \emph{144x144}
2536 \item
2537 With \texttt{format=rectangle}: \emph{8x18}, \emph{8x32},
2538 \emph{12x26}, \emph{12x36}, \emph{16x36}, \emph{16x48}
2539 \end{itemize}
2540 \item
2541 If \textbf{columns}, \textbf{rows} and \textbf{version} are
2542 unspecified the encoder will default to creating a symbol of the
2543 specified \textbf{format} that is the minimum size to represent the
2544 given data.
2545 \end{itemize}
2546
2547 \hypertarget{example-4}{%
2548 \paragraph{Example}\label{example-4}}
2549
2550 \begin{verbatim}
2551 Data: (01)95012345678903(3103)000123
2552 Options:
2553 Encoder: gs1datamatrix
2554 \end{verbatim}
2555
2556 \includegraphics{images/gs1datamatrix-1}
2557
2558 \hypertarget{gs1-qr-code}{%
2559 \subsubsection{GS1 QR Code}\label{gs1-qr-code}}
2560
2561 \textbf{GS1 QR Code} is an implementation of the
2562 \protect\hyperlink{qr-code}{QR Code} barcode symbology with
2563 \protect\hyperlink{gs1-application-identifier-standard-format}{GS1
2564 formatted data}.
2565
2566 Standards: ISO/IEC 18004, ITS - QR Code, GS1 General Specifications.
2567
2568 \hypertarget{data-and-options-29}{%
2569 \paragraph{Data and Options}\label{data-and-options-29}}
2570
2571 \begin{itemize}
2572 \tightlist
2573 \item
2574 The data field input is provided in
2575 \protect\hyperlink{gs1-application-identifier-standard-format}{GS1
2576 Application Identifier standard format} starting with the mandatory
2577 \emph{(01)} and \emph{(8200)} Application Identifiers.
2578 \item
2579 Note that it is not necessary to specify \emph{FNC1} characters since
2580 the encoder will insert these automatically where necessary.
2581 \item
2582 \emph{Deprecated.} The \textbf{dontlint} option disables GS1
2583 Application Identifier syntax validation allowing images to be
2584 generated for input that does not comply with GS1 standards.
2585 \item
2586 The \textbf{eclevel} option is used to specify the error correction
2587 level:
2588
2589 \begin{itemize}
2590 \tightlist
2591 \item
2592 \texttt{eclevel=L} - Low
2593 \item
2594 \texttt{eclevel=M} - Medium (default)
2595 \item
2596 \texttt{eclevel=Q} - Quality
2597 \item
2598 \texttt{eclevel=H} - High
2599 \end{itemize}
2600 \item
2601 The \textbf{version} option is used to specify the size of the symbol,
2602 1 to 40.
2603 \item
2604 If the \textbf{version} is unspecified the encoder will default to
2605 creating a symbol that is the minimum size to represent the given data
2606 at the selected error correction level.
2607 \end{itemize}
2608
2609 \hypertarget{example-5}{%
2610 \paragraph{Example}\label{example-5}}
2611
2612 \begin{verbatim}
2613 Data: (01)03453120000011(8200)http://www.abc.net
2614 Options:
2615 Encoder: gs1qrcode
2616 \end{verbatim}
2617
2618 \includegraphics{images/gs1qrcode-1}
2619
2620 \begin{verbatim}
2621 Data: (01)03453120000011(8200)http://abc.net(10)XYZ(410)9501101020917
2622 Options:
2623 Encoder: gs1qrcode
2624 \end{verbatim}
2625
2626 \includegraphics{images/gs1qrcode-2}
2627
2628 \hypertarget{gs1-digital-link-datamatrix}{%
2629 \subsubsection{GS1 Digital Link
2630 DataMatrix}\label{gs1-digital-link-datamatrix}}
2631
2632 \textbf{GS1 Digital Link DataMatrix} is an implementation of the
2633 \protect\hyperlink{data-matrix}{Data Matrix} (ECC 200) barcode symbology
2634 containing a GS1 Digital Link URI.
2635
2636 Standards: ISO/IEC 16022, ANSI/AIM BC11 ISS, GS1 Digital Link Standard:
2637 URI Syntax.
2638
2639 \hypertarget{data-and-options-30}{%
2640 \paragraph{Data and Options}\label{data-and-options-30}}
2641
2642 \begin{itemize}
2643 \tightlist
2644 \item
2645 The data field input is provided as a GS1 Digital Link URI.
2646 \item
2647 \emph{Deprecated.} The \textbf{dontlint} option disables GS1
2648 Application Identifier syntax validation allowing images to be
2649 generated for input that does not comply with GS1 standards.
2650 \item
2651 The \textbf{format} option is used to specify the shape of the symbol,
2652 either \texttt{square} (default) or \texttt{rectangle}.
2653 \item
2654 The \textbf{columns} and \textbf{rows} options are used to specify the
2655 size of the symbol.
2656 \item
2657 The \textbf{version} option can also be used to specify the symbol
2658 size, as \texttt{version=RxC}. Valid options are:
2659
2660 \begin{itemize}
2661 \tightlist
2662 \item
2663 With \texttt{format=square}: \emph{10x10}, \emph{12x12},
2664 \emph{14x14}, \emph{16x16}, \emph{18x18}, \emph{20x20},
2665 \emph{22x22}, \emph{24x24}, \emph{26x26}, \emph{32x32},
2666 \emph{36x36}, \emph{40x40}, \emph{44x44}, \emph{48x48},
2667 \emph{52x52}, \emph{64x64}, \emph{72x72}, \emph{80x80},
2668 \emph{88x88}, \emph{96x96}, \emph{104x104}, \emph{120x120},
2669 \emph{132x132}, \emph{144x144}
2670 \item
2671 With \texttt{format=rectangle}: \emph{8x18}, \emph{8x32},
2672 \emph{12x26}, \emph{12x36}, \emph{16x36}, \emph{16x48}
2673 \end{itemize}
2674 \item
2675 If \textbf{columns}, \textbf{rows} and \textbf{version} are
2676 unspecified the encoder will default to creating a symbol of the
2677 specified \textbf{format} that is the minimum size to represent the
2678 given data.
2679 \end{itemize}
2680
2681 \hypertarget{example-6}{%
2682 \paragraph{Example}\label{example-6}}
2683
2684 \begin{verbatim}
2685 Data: https://id.gs1.org/01/12312312312333/22/ABC%2d123?99=XYZ%2f987#test
2686 Options:
2687 Encoder: gs1dldatamatrix
2688 \end{verbatim}
2689
2690 \hypertarget{gs1-qr-digital-link-code}{%
2691 \subsubsection{GS1 QR Digital Link
2692 Code}\label{gs1-qr-digital-link-code}}
2693
2694 \textbf{GS1 Digital Link QR Code} is an implementation of the
2695 \protect\hyperlink{qr-code}{QR Code} barcode symbology containing a GS1
2696 Digital Link URI.
2697
2698 Standards: ISO/IEC 18004, ITS - QR Code, GS1 Digital Link Standard: URI
2699 Syntax.
2700
2701 \hypertarget{data-and-options-31}{%
2702 \paragraph{Data and Options}\label{data-and-options-31}}
2703
2704 \begin{itemize}
2705 \tightlist
2706 \item
2707 The data field input is provided as a GS1 Digital Link URI.
2708 \item
2709 \emph{Deprecated.} The \textbf{dontlint} option disables GS1
2710 Application Identifier syntax validation allowing images to be
2711 generated for input that does not comply with GS1 standards.
2712 \item
2713 The \textbf{eclevel} option is used to specify the error correction
2714 level:
2715
2716 \begin{itemize}
2717 \tightlist
2718 \item
2719 \texttt{eclevel=L} - Low
2720 \item
2721 \texttt{eclevel=M} - Medium (default)
2722 \item
2723 \texttt{eclevel=Q} - Quality
2724 \item
2725 \texttt{eclevel=H} - High
2726 \end{itemize}
2727 \item
2728 The \textbf{version} option is used to specify the size of the symbol,
2729 1 to 40.
2730 \item
2731 If the \textbf{version} is unspecified the encoder will default to
2732 creating a symbol that is the minimum size to represent the given data
2733 at the selected error correction level.
2734 \end{itemize}
2735
2736 \hypertarget{example-7}{%
2737 \paragraph{Example}\label{example-7}}
2738
2739 \begin{verbatim}
2740 Data: https://id.gs1.org/01/12312312312333/22/ABC%2d123?99=XYZ%2f987#test
2741 Options:
2742 Encoder: gs1dlqrcode
2743 \end{verbatim}
2744
2745 \hypertarget{gs1-128}{%
2746 \subsubsection{GS1-128}\label{gs1-128}}
2747
2748 \textbf{GS1-128} is an implementation of the
2749 \protect\hyperlink{code-128}{Code 128} barcode symbology which carries
2750 \protect\hyperlink{gs1-application-identifier-standard-format}{GS1
2751 formatted} data, including a GTIN-14.
2752
2753 Also known as: UCC/EAN-128, EAN-128, UCC-128.
2754
2755 Variants:
2756
2757 \begin{itemize}
2758 \tightlist
2759 \item
2760 \protect\hyperlink{gs1-composite-symbols}{GS1-128 Composite} is a
2761 variant of GS1-128 that should be used when a CC-A, CC-B or CC-C GS1
2762 composite 2D component is required.
2763 \item
2764 \protect\hyperlink{ean-14}{EAN-14} is a variant of GS1-128 that should
2765 be used when encoding a lone fourteen-digit GTIN.
2766 \item
2767 \protect\hyperlink{sscc-18}{SSCC-18} is a variant of GS1-128 that
2768 should be used when encoding a lone eighteen-digit SSCC.
2769 \end{itemize}
2770
2771 Standards: ISO/IEC 15417, ANSI/AIM BC4-1999 ISS, BS EN 799, GS1 General
2772 Specifications.
2773
2774 \hypertarget{data-and-options-32}{%
2775 \paragraph{Data and Options}\label{data-and-options-32}}
2776
2777 \begin{itemize}
2778 \tightlist
2779 \item
2780 The data field input is provided in
2781 \protect\hyperlink{gs1-application-identifier-standard-format}{GS1
2782 Application Identifier standard format}.
2783 \item
2784 Note that it is not necessary to specify \emph{FNC1} characters since
2785 the encoder will insert these automatically where necessary.
2786 \item
2787 \emph{Deprecated.} The \textbf{dontlint} option disables GS1
2788 Application Identifier syntax validation allowing images to be
2789 generated for input that does not comply with GS1 standards.
2790 \item
2791 \emph{Deprecated: For internal use.} The \textbf{linkagea} option
2792 specifies that the symbol includes a \emph{CC-A} or \emph{CC-B} GS1
2793 composite 2D component.
2794 \item
2795 \emph{Deprecated: For internal use.} The \textbf{linkagec} option
2796 specifies that the symbol includes a \emph{CC-C} GS1 composite 2D
2797 component.
2798 \end{itemize}
2799
2800 \hypertarget{examples-22}{%
2801 \paragraph{Examples}\label{examples-22}}
2802
2803 GTIN \emph{95012345678903}; Weight \emph{0.123kg}:
2804
2805 \begin{verbatim}
2806 Data: (01)95012345678903(3103)000123
2807 Options: includetext
2808 Encoder: gs1-128
2809 \end{verbatim}
2810
2811 \includegraphics{images/ean128-1}
2812
2813 GTIN \emph{0061414199996}; Expiration date \emph{1st Jan 2010}; Batch
2814 \emph{123ABC}; Serial \emph{1234567890}:
2815
2816 \begin{verbatim}
2817 Data: (01)0061414199996(17)100101(10)123ABC(21)1234567890
2818 Options: includetext
2819 Encoder: gs1-128
2820 \end{verbatim}
2821
2822 \includegraphics{images/ean128-2}
2823
2824 \hypertarget{gs1-dotcode}{%
2825 \subsubsection{GS1 DotCode}\label{gs1-dotcode}}
2826
2827 \textbf{GS1 DotCode} is an implementation of the
2828 \protect\hyperlink{dotcode}{DotCode} barcode symbology with
2829 \protect\hyperlink{gs1-application-identifier-standard-format}{GS1
2830 formatted} data.
2831
2832 Standards: AIM - ISS DotCode, GS1 General Specifications.
2833
2834 \hypertarget{data-and-options-33}{%
2835 \paragraph{Data and Options}\label{data-and-options-33}}
2836
2837 \begin{itemize}
2838 \tightlist
2839 \item
2840 The data field input is provided in
2841 \protect\hyperlink{gs1-application-identifier-standard-format}{GS1
2842 Application Identifier standard format}.
2843 \item
2844 Note that it is not necessary to specify \emph{FNC1} characters since
2845 the encoder will insert these automatically where necessary.
2846 \item
2847 \emph{Deprecated.} The \textbf{dontlint} option disables GS1
2848 Application Identifier syntax validation allowing images to be
2849 generated for input that does not comply with GS1 standards.
2850 \item
2851 The \textbf{ratio} is used to specify the aspect ratio of the symbol.
2852 The default is 1.5.
2853 \item
2854 The \textbf{columns} and \textbf{rows} options are used to specify the
2855 size of the symbol. When these are not specified a symbol is generated
2856 that maintains the selected aspect ratio.
2857 \item
2858 \emph{Deprecated: Use only if performance is a concern.} The
2859 \textbf{fast} option is used to enable the optional high-speed symbol
2860 masking algorithm.
2861 \end{itemize}
2862
2863 \hypertarget{examples-23}{%
2864 \paragraph{Examples}\label{examples-23}}
2865
2866 \begin{verbatim}
2867 Data: (235)5vBZIF%!<B;?oa%(01)01234567890128(8008)19052001
2868 Options: rows=16
2869 Encoder: gs1dotcode
2870 \end{verbatim}
2871
2872 \includegraphics{images/gs1dotcode-1}
2873
2874 \hypertarget{gs1-databar-family}{%
2875 \subsection{GS1 DataBar Family}\label{gs1-databar-family}}
2876
2877 \hypertarget{gs1-databar-omnidirectional}{%
2878 \subsubsection{GS1 DataBar
2879 Omnidirectional}\label{gs1-databar-omnidirectional}}
2880
2881 \textbf{GS1 DataBar Omnidirectional} is a fixed-length, linear barcode
2882 symbology that can be used to encode a GTIN-14 for use at point of sale.
2883
2884 Also known as: RSS-14
2885
2886 Variants:
2887
2888 \begin{itemize}
2889 \tightlist
2890 \item
2891 \protect\hyperlink{gs1-databar-stacked-omnidirectional}{GS1 DataBar
2892 Stacked Omnidirectional} is a variant of GS1 DataBar Omnidirectional
2893 for use where a taller, narrower symbol is required.
2894 \item
2895 \protect\hyperlink{gs1-composite-symbols}{GS1 DataBar Omnidirectional
2896 Composite} is a variant of GS1 DataBar Omnidirectional that should be
2897 used when a CC-A or CC-B GS1 composite 2D component is required.
2898 \end{itemize}
2899
2900 Standards: ISO/IEC 24724, ITS Reduced Space Symbology (RSS), AIM ISS -
2901 Reduced Space Symbology (RSS), GS1 General Specifications.
2902
2903 \hypertarget{data-and-options-34}{%
2904 \paragraph{Data and Options}\label{data-and-options-34}}
2905
2906 \begin{itemize}
2907 \tightlist
2908 \item
2909 The data field input is must be a solitary \emph{AI (01)} with
2910 thirteen or fourteen digits of a GTIN, i.e. \texttt{(01)...}.
2911 \item
2912 If thirteen digits of \emph{AI (01)} data are supplied then the check
2913 digit is calculated automatically, otherwise the provided check digit
2914 will be verified.
2915 \item
2916 \emph{Deprecated: For internal use.} The \textbf{linkage} option
2917 signifies the presence of a GS1 composite 2D component.
2918 \end{itemize}
2919
2920 \hypertarget{examples-24}{%
2921 \paragraph{Examples}\label{examples-24}}
2922
2923 Identical symbols, input provided with and without a check digit:
2924
2925 \begin{verbatim}
2926 Data: (01)24012345678905
2927 Options:
2928 Encoder: databaromni
2929 \end{verbatim}
2930
2931 \begin{verbatim}
2932 Data: (01)2401234567890
2933 Options:
2934 Encoder: databaromni
2935 \end{verbatim}
2936
2937 \includegraphics{images/databaromni-1}
2938
2939 \hypertarget{gs1-databar-stacked-omnidirectional}{%
2940 \subsubsection{GS1 DataBar Stacked
2941 Omnidirectional}\label{gs1-databar-stacked-omnidirectional}}
2942
2943 \textbf{GS1 DataBar Stacked Omnidirectional} is a fixed-length, stacked
2944 linear barcode symbology that can be used to encode a GTIN-14 for use a
2945 point of sale.
2946
2947 Also known as: RSS-14 Stacked Omnidirectional.
2948
2949 Variants:
2950
2951 \begin{itemize}
2952 \tightlist
2953 \item
2954 \protect\hyperlink{gs1-databar-omnidirectional}{GS1 DataBar
2955 Omnidirectional} is a variant of GS1 DataBar Stacked Omnidirectional
2956 for use where a shorter, wider symbol is required.
2957 \item
2958 \protect\hyperlink{gs1-composite-symbols}{GS1 DataBar Stacked
2959 Omnidirectional Composite} is a variant of GS1 DataBar Stacked
2960 Omnidirectional that should be used when a CC-A or CC-B
2961 \protect\hyperlink{gs1-composite-symbols}{GS1 composite} 2D component
2962 is required.
2963 \end{itemize}
2964
2965 Standards: ISO/IEC 24724, ITS Reduced Space Symbology (RSS), AIM ISS -
2966 Reduced Space Symbology (RSS), GS1 General Specifications.
2967
2968 \hypertarget{data-and-options-35}{%
2969 \paragraph{Data and Options}\label{data-and-options-35}}
2970
2971 \begin{itemize}
2972 \tightlist
2973 \item
2974 The data field input must be a solitary \emph{AI (01)} with thirteen
2975 or fourteen digits of a GTIN, i.e. \texttt{(01)...}.
2976 \item
2977 If thirteen digits of \emph{AI (01)} data are supplied then the check
2978 digit is calculated automatically, otherwise the provided check digit
2979 will be verified.
2980 \item
2981 \emph{Deprecated: For internal use.} The \textbf{linkage} option
2982 signifies the presence of a GS1 composite 2D component.
2983 \end{itemize}
2984
2985 \hypertarget{examples-25}{%
2986 \paragraph{Examples}\label{examples-25}}
2987
2988 Identical symbols, input provided with and without a check digit:
2989
2990 \begin{verbatim}
2991 Data: (01)24012345678905
2992 Options:
2993 Encoder: databarstackedomni
2994 \end{verbatim}
2995
2996 \begin{verbatim}
2997 Data: (01)2401234567890
2998 Options:
2999 Encoder: databarstackedomni
3000 \end{verbatim}
3001
3002 \includegraphics{images/databarstackedomni-1}
3003
3004 \hypertarget{gs1-databar-expanded}{%
3005 \subsubsection{GS1 DataBar Expanded}\label{gs1-databar-expanded}}
3006
3007 \textbf{GS1 DataBar Expanded} is a variable-length, linear barcode
3008 symbology that can be used to encode a GTIN-14 alongside a number of
3009 other application identifiers for use at point of sale.
3010
3011 Also known as: RSS Expanded.
3012
3013 Variants:
3014
3015 \begin{itemize}
3016 \tightlist
3017 \item
3018 \protect\hyperlink{gs1-databar-expanded-stacked}{GS1 DataBar Expanded
3019 Stacked} is a variant of GS1 DataBar Expanded for use where a taller,
3020 narrower symbol is required.
3021 \item
3022 \protect\hyperlink{gs1-composite-symbols}{GS1 DataBar Expanded
3023 Composite} is a variant of GS1 DataBar Expanded that should be used
3024 when a CC-A or CC-B GS1 composite 2D component is required.
3025 \item
3026 \protect\hyperlink{gs1-north-american-coupon-code}{GS1 North American
3027 Coupon Code} is an applicaiton of GS1 DataBar Expanded for use with a
3028 paperless coupon system.
3029 \end{itemize}
3030
3031 Standards: ISO/IEC 24724, ITS Reduced Space Symbology (RSS), AIM ISS -
3032 Reduced Space Symbology (RSS), GS1 General Specifications.
3033
3034 \hypertarget{data-and-options-36}{%
3035 \paragraph{Data and Options}\label{data-and-options-36}}
3036
3037 \begin{itemize}
3038 \tightlist
3039 \item
3040 The data field input is provided in
3041 \protect\hyperlink{gs1-application-identifier-standard-format}{GS1
3042 Application Identifier standard format}.
3043 \item
3044 Note that it is not necessary to specify \emph{FNC1} characters since
3045 the encoder will insert these automatically where necessary.
3046 \item
3047 \emph{Deprecated.} The \textbf{dontlint} option disables GS1
3048 Application Identifier syntax validation allowing images to be
3049 generated for input that does not comply with GS1 standards.
3050 \item
3051 If the data contains a number of application identifiers matching any
3052 of the specifications below then they should be provided in this given
3053 order for maximum encoding efficiency:
3054
3055 \begin{itemize}
3056 \tightlist
3057 \item
3058 \texttt{(01)9...(3103)...}
3059 \item
3060 \texttt{(01)9...(3202)...}
3061 \item
3062 \texttt{(01)9...(3203)...}
3063 \item
3064 \texttt{(01)9...(310x/320x)...(11/13/15/17)...}
3065 \item
3066 \texttt{(01)9...(310x/320x)...}
3067 \item
3068 \texttt{(01)9...(392x)...}
3069 \item
3070 \texttt{(01)9...(393x)...}
3071 \item
3072 \texttt{(01)...}
3073 \end{itemize}
3074 \item
3075 \emph{Deprecated: For internal use.} The \textbf{linkage} option
3076 signifies the presence of a GS1 composite 2D component.
3077 \end{itemize}
3078
3079 \hypertarget{examples-26}{%
3080 \paragraph{Examples}\label{examples-26}}
3081
3082 \begin{verbatim}
3083 Data: (01)95012345678903(3103)000123
3084 Options:
3085 Encoder: databarexpanded
3086 \end{verbatim}
3087
3088 \includegraphics{images/databarexpanded-1}
3089
3090 \hypertarget{gs1-databar-expanded-stacked}{%
3091 \subsubsection{GS1 DataBar Expanded
3092 Stacked}\label{gs1-databar-expanded-stacked}}
3093
3094 \textbf{GS1 DataBar Expanded Stacked} is a variable-length,
3095 stacked-linear barcode symbology that can be used to encode a GTIN-14
3096 alongside a number of other application identifiers for use at point of
3097 sale.
3098
3099 Also known as: RSS Expanded Stacked.
3100
3101 Variants:
3102
3103 \begin{itemize}
3104 \tightlist
3105 \item
3106 \protect\hyperlink{gs1-databar-expanded}{GS1 DataBar Expanded} is a
3107 variant of GS1 DataBar Expanded Stacked for use where a shorter, wider
3108 symbol is required.
3109 \item
3110 \protect\hyperlink{gs1-composite-symbols}{GS1 DataBar Expanded Stacked
3111 Composite} is a variant of GS1 DataBar Expanded Stacked that should be
3112 used when a CC-A or CC-B GS1 composite 2D component is required.
3113 \item
3114 \protect\hyperlink{gs1-north-american-coupon-code}{GS1 North American
3115 Coupon Code} is an applicaiton of GS1 DataBar Expanded for use with a
3116 paperless coupon system.
3117 \end{itemize}
3118
3119 Standards: ISO/IEC 24724, ITS Reduced Space Symbology (RSS), AIM ISS -
3120 Reduced Space Symbology (RSS), GS1 General Specifications.
3121
3122 \hypertarget{data-and-options-37}{%
3123 \paragraph{Data and Options}\label{data-and-options-37}}
3124
3125 \begin{itemize}
3126 \tightlist
3127 \item
3128 The data field input is provided in
3129 \protect\hyperlink{gs1-application-identifier-standard-format}{GS1
3130 Application Identifier standard format}.
3131 \item
3132 Note that it is not necessary to specify \emph{FNC1} characters since
3133 the encoder will insert these automatically where necessary.
3134 \item
3135 \emph{Deprecated.} The \textbf{dontlint} option disables GS1
3136 Application Identifier syntax validation allowing images to be
3137 generated for input that does not comply with GS1 standards.
3138 \item
3139 If the data contains a number of application identifiers matching any
3140 of the specifications below then they should be provided in this given
3141 order for maximum encoding efficiency:
3142
3143 \begin{itemize}
3144 \tightlist
3145 \item
3146 \texttt{(01)9...(3103)...}
3147 \item
3148 \texttt{(01)9...(3202)...}
3149 \item
3150 \texttt{(01)9...(3203)...}
3151 \item
3152 \texttt{(01)9...(310x/320x)...(11/13/15/17)...}
3153 \item
3154 \texttt{(01)9...(310x/320x)...}
3155 \item
3156 \texttt{(01)9...(392x)...}
3157 \item
3158 \texttt{(01)9...(393x)...}
3159 \item
3160 \texttt{(01)...}
3161 \end{itemize}
3162 \item
3163 The \textbf{segments} option is used to specify the maximum number of
3164 segments per row which must be an even number. The default is
3165 \emph{4}.
3166 \item
3167 \emph{Deprecated: For internal use.} The \textbf{linkage} option
3168 signifies the presence of a GS1 composite 2D component.
3169 \end{itemize}
3170
3171 \hypertarget{examples-27}{%
3172 \paragraph{Examples}\label{examples-27}}
3173
3174 \begin{verbatim}
3175 Data: (01)95012345678903(3103)000123
3176 Options: segments=4
3177 Encoder: databarexpandedstacked
3178 \end{verbatim}
3179
3180 \includegraphics{images/databarexpandedstacked-1}
3181
3182 \hypertarget{gs1-databar-truncated}{%
3183 \subsubsection{GS1 DataBar Truncated}\label{gs1-databar-truncated}}
3184
3185 \textbf{GS1 DataBar Truncated} is a fixed-length, linear barcode
3186 symbology that can be used to encode a GTIN-14 for in-house
3187 applications.
3188
3189 Also known as: RSS-14 Truncated.
3190
3191 Variants:
3192
3193 \begin{itemize}
3194 \tightlist
3195 \item
3196 \protect\hyperlink{gs1-databar-stacked}{GS1 DataBar Stacked} is a
3197 variant of GS1 DataBar Truncated for use where a taller, narrower
3198 symbol is required.
3199 \item
3200 \protect\hyperlink{gs1-composite-symbols}{GS1 DataBar Truncated
3201 Composite} is a variant of GS1 DataBar Truncated that should be used
3202 when a CC-A or CC-B GS1 composite 2D component is required.
3203 \end{itemize}
3204
3205 Standards: ISO/IEC 24724, ITS Reduced Space Symbology (RSS), AIM ISS -
3206 Reduced Space Symbology (RSS), GS1 General Specifications.
3207
3208 \hypertarget{data-and-options-38}{%
3209 \paragraph{Data and Options}\label{data-and-options-38}}
3210
3211 \begin{itemize}
3212 \tightlist
3213 \item
3214 The data field input must be a solitary \emph{AI (01)} with 13 or 14
3215 digits of a GTIN, i.e. \texttt{(01)...}.
3216 \item
3217 If thirteen digits of \emph{AI (01)} data are supplied then the check
3218 digit is calculated automatically, otherwise the provided check digit
3219 will be verified.
3220 \item
3221 \emph{Deprecated: For internal use.} The \textbf{linkage} option
3222 signifies the presence of a GS1 composite 2D component.
3223 \end{itemize}
3224
3225 \hypertarget{examples-28}{%
3226 \paragraph{Examples}\label{examples-28}}
3227
3228 Identical symbols, input provided with and without a check digit:
3229
3230 \begin{verbatim}
3231 Data: (01)24012345678905
3232 Options:
3233 Encoder: databartruncated
3234 \end{verbatim}
3235
3236 \begin{verbatim}
3237 Data: (01)2401234567890
3238 Options:
3239 Encoder: databartruncated
3240 \end{verbatim}
3241
3242 \includegraphics{images/databartruncated-1}
3243
3244 \hypertarget{gs1-databar-stacked}{%
3245 \subsubsection{GS1 DataBar Stacked}\label{gs1-databar-stacked}}
3246
3247 \textbf{GS1 DataBar Stacked} is a fixed-length, stacked linear barcode
3248 symbology that can be used to encode a GTIN-14 for in-house
3249 applications.
3250
3251 Also known as: RSS-14 Stacked.
3252
3253 Variants:
3254
3255 \begin{itemize}
3256 \tightlist
3257 \item
3258 \protect\hyperlink{gs1-databar-truncated}{GS1 DataBar Truncated} is a
3259 variant of GS1 DataBar Stacked for use where a shorter, wider symbol
3260 is required.
3261 \item
3262 \protect\hyperlink{gs1-composite-symbols}{GS1 DataBar Stacked
3263 Composite} is a variant of GS1 DataBar Stacked that should be used
3264 when a CC-A or CC-B GS1 composite 2D component is required.
3265 \end{itemize}
3266
3267 Standards: ISO/IEC 24724, ITS Reduced Space Symbology (RSS), AIM ISS -
3268 Reduced Space Symbology (RSS), GS1 General Specifications.
3269
3270 \hypertarget{data-and-options-39}{%
3271 \paragraph{Data and Options}\label{data-and-options-39}}
3272
3273 \begin{itemize}
3274 \tightlist
3275 \item
3276 The data field input must be a solitary \emph{AI (01)} with thirteen
3277 or fourteen digits of a GTIN, i.e. \texttt{(01)...}.
3278 \item
3279 If thirteen digits of \emph{AI (01)} data are supplied then the check
3280 digit is calculated automatically, otherwise the provided check digit
3281 will be verified.
3282 \item
3283 \emph{Deprecated: For internal use.} The \textbf{linkage} option
3284 signifies the presence of a GS1 composite 2D component.
3285 \end{itemize}
3286
3287 \hypertarget{examples-29}{%
3288 \paragraph{Examples}\label{examples-29}}
3289
3290 Identical symbols, input provided with and without a check digit:
3291
3292 \begin{verbatim}
3293 Data: (01)24012345678905
3294 Options:
3295 Encoder: databarstacked
3296 \end{verbatim}
3297
3298 \begin{verbatim}
3299 Data: (01)2401234567890
3300 Options:
3301 Encoder: databarstacked
3302 \end{verbatim}
3303
3304 \includegraphics{images/databarstacked-1}
3305
3306 \hypertarget{gs1-databar-limited}{%
3307 \subsubsection{GS1 DataBar Limited}\label{gs1-databar-limited}}
3308
3309 \textbf{GS1 DataBar Limited} is fixed-length, linear barcode symbology
3310 that can be used to encode a GTIN-14 beginning with \emph{0} or \emph{1}
3311 for in-house applications.
3312
3313 Also known as: RSS Limited.
3314
3315 Variants:
3316
3317 \begin{itemize}
3318 \tightlist
3319 \item
3320 \protect\hyperlink{gs1-composite-symbols}{GS1 DataBar Limited
3321 Composite} is a variant of GS1 DataBar Limited that should be used
3322 when a CC-A or CC-B GS1 composite 2D component is required.
3323 \end{itemize}
3324
3325 Standards: ISO/IEC 24724, ITS Reduced Space Symbology (RSS), AIM ISS -
3326 Reduced Space Symbology (RSS), GS1 General Specifications.
3327
3328 \hypertarget{data-and-options-40}{%
3329 \paragraph{Data and Options}\label{data-and-options-40}}
3330
3331 \begin{itemize}
3332 \tightlist
3333 \item
3334 The data field input must be a solitary \emph{AI (01)} with thirteen
3335 or fourteen digits of a GTIN starting with \emph{0} or \emph{1}, i.e.
3336 \texttt{(01)0...} or \texttt{(01)1...}.
3337 \item
3338 If thirteen digits of \emph{AI (01)} data are supplied then the check
3339 digit is calculated automatically, otherwise the provided check digit
3340 will be verified.
3341 \item
3342 \emph{Deprecated: For internal use.} The \textbf{linkage} option
3343 signifies the presence of a GS1 composite 2D component.
3344 \end{itemize}
3345
3346 \hypertarget{examples-30}{%
3347 \paragraph{Examples}\label{examples-30}}
3348
3349 Identical symbols, input provided with and without a check digit:
3350
3351 \begin{verbatim}
3352 Data: (01)15012345678907
3353 Options:
3354 Encoder: databarlimited
3355 \end{verbatim}
3356
3357 \begin{verbatim}
3358 Data: (01)1501234567890
3359 Options:
3360 Encoder: databarlimited
3361 \end{verbatim}
3362
3363 \includegraphics{images/databarlimited-1}
3364
3365 \hypertarget{gs1-north-american-coupon-code}{%
3366 \subsubsection{GS1 North American Coupon
3367 Code}\label{gs1-north-american-coupon-code}}
3368
3369 \textbf{GS1 North American Coupon Code} is an implementation of the
3370 \protect\hyperlink{gs1-databar-expanded}{GS1 DataBar Expanded} barcode
3371 symbology with AI (8110) that is used as a paperless coupon system at
3372 point of sale.
3373
3374 Also known as: GS1 DataBar Coupon, U.S. Coupon Code.
3375
3376 Standards: North American Coupon Application Guideline Using GS1 DataBar
3377 Expanded Symbols, ISO/IEC 24724, GS1 General Specifications.
3378
3379 \hypertarget{data-and-options-41}{%
3380 \paragraph{Data and Options}\label{data-and-options-41}}
3381
3382 \begin{itemize}
3383 \tightlist
3384 \item
3385 The data field input is provided in
3386 \protect\hyperlink{gs1-application-identifier-standard-format}{GS1
3387 Application Identifier standard format} and must be a solitary AI
3388 (8110).
3389 \item
3390 The \textbf{segments} option is used to specify the maximum number of
3391 segments per row which must be an even number. The default is
3392 \emph{4}.
3393 \end{itemize}
3394
3395 \hypertarget{examples-31}{%
3396 \paragraph{Examples}\label{examples-31}}
3397
3398 \begin{verbatim}
3399 Data: (8110)106141416543213500110000310123196000
3400 Options: includetext segments=8
3401 Encoder: gs1northamericancoupon
3402 \end{verbatim}
3403
3404 \includegraphics{images/gs1northamericancoupon-1}
3405
3406 \hypertarget{postal-symbols}{%
3407 \subsection{Postal Symbols}\label{postal-symbols}}
3408
3409 \hypertarget{australia-post-4-state-customer-code}{%
3410 \subsubsection{Australia Post 4 State Customer
3411 Code}\label{australia-post-4-state-customer-code}}
3412
3413 The \textbf{Australia Post 4 State Customer Code} is a barcode used by
3414 the Australian Postal Service to encode the data on letter mail.
3415
3416 \hypertarget{data-and-options-42}{%
3417 \paragraph{Data and Options}\label{data-and-options-42}}
3418
3419 \begin{itemize}
3420 \tightlist
3421 \item
3422 The first two characters of the data field are digits used to specify
3423 the manditory FCC type of the symbols, either \texttt{11},
3424 \texttt{45}, \texttt{59} or \texttt{67}.
3425 \item
3426 The next eight characters are digits that specify the manditory DPID.
3427 \item
3428 The number of remaining characters varies according to the given FCC
3429 code and these specify the contents of the customer information field
3430 in one of two alphabets:
3431
3432 \begin{itemize}
3433 \tightlist
3434 \item
3435 The \textbf{custinfoenc} option should be supplied as
3436 \texttt{custinfoenc=numeric} if the customer information field is to
3437 be encoded using the numeric alphabet which can contain the digits
3438 0-9.
3439 \item
3440 Otherwise the customer information field is encoded using the
3441 default character encoding, \texttt{custinfoenc=character}, which
3442 permits any of the following characters:
3443
3444 \begin{itemize}
3445 \tightlist
3446 \item
3447 Upper case letters \texttt{A-Z}
3448 \item
3449 Lower case letters \texttt{a-z}
3450 \item
3451 Digits \texttt{0-9}
3452 \item
3453 Symbols \texttt{space} and \texttt{\#}
3454 \end{itemize}
3455 \end{itemize}
3456 \end{itemize}
3457
3458 \hypertarget{examples-32}{%
3459 \paragraph{Examples}\label{examples-32}}
3460
3461 FCC 62 symbol with character customer data:
3462
3463 \begin{verbatim}
3464 Data: 6279438541AaaB 155
3465 Options: custinfoenc=character
3466 Encoder: auspost
3467 \end{verbatim}
3468
3469 \includegraphics{images/auspost-1}
3470
3471 FCC 59 symbol with numeric customer data:
3472
3473 \begin{verbatim}
3474 Data: 593221132401234567
3475 Options: custinfoenc=numeric
3476 Encoder: auspost
3477 \end{verbatim}
3478
3479 \includegraphics{images/auspost-2}
3480
3481 \hypertarget{deutsche-post-identcode}{%
3482 \subsubsection{Deutsche Post Identcode}\label{deutsche-post-identcode}}
3483
3484 \textbf{Deutsche Post Identcode} is an implementation of the
3485 \protect\hyperlink{interleaved-2-of-5}{Interleaved 2 of 5} barcode
3486 symbology that is used by German Post for mail routing.
3487
3488 Also known as: DHL Identcode.
3489
3490 \hypertarget{data-and-options-43}{%
3491 \paragraph{Data and Options}\label{data-and-options-43}}
3492
3493 \begin{itemize}
3494 \tightlist
3495 \item
3496 The data consists of a consecutive string of eleven or twelve digits
3497 consisting of:
3498
3499 \begin{itemize}
3500 \tightlist
3501 \item
3502 Two-digit primary distribution centre identifier
3503 \item
3504 Three-digit customer identifier
3505 \item
3506 Six-digit mail piece identifier
3507 \item
3508 One-digit check digit (may be omitted)
3509 \end{itemize}
3510 \item
3511 If eleven digits are supplied then the check digit is calculated
3512 automatically. Otherwise the provided check digit will be verified.
3513 \end{itemize}
3514
3515 \hypertarget{example-8}{%
3516 \paragraph{Example}\label{example-8}}
3517
3518 Identical symbols, input provided with an without a check digit:
3519
3520 \begin{verbatim}
3521 Data: 563102430313
3522 Options: includetext
3523 Encoder: identcode
3524 \end{verbatim}
3525
3526 \begin{verbatim}
3527 Data: 56310243031
3528 Options: includetext
3529 Encoder: identcode
3530 \end{verbatim}
3531
3532 \includegraphics{images/identcode-1}
3533
3534 \hypertarget{deutsche-post-leitcode}{%
3535 \subsubsection{Deutsche Post Leitcode}\label{deutsche-post-leitcode}}
3536
3537 The \textbf{Deutsche Post Leitcode} barcode symbology is an
3538 implementation of the \protect\hyperlink{interleaved-2-of-5}{Interleaved
3539 2 of 5} barcode that is used by German Post for mail routing.
3540
3541 Also known as: DHL Leitcode.
3542
3543 \hypertarget{data-and-options-44}{%
3544 \paragraph{Data and Options}\label{data-and-options-44}}
3545
3546 \begin{itemize}
3547 \tightlist
3548 \item
3549 The data consists of a consecutive string of thirteen or fourteen
3550 digits consisting of:
3551
3552 \begin{itemize}
3553 \tightlist
3554 \item
3555 Five-digit postal code
3556 \item
3557 Three-digit street identifier
3558 \item
3559 Three-digit house number
3560 \item
3561 Two-digit product code
3562 \item
3563 One-digit check digit (may be omitted)
3564 \end{itemize}
3565 \item
3566 If thirteen digits are supplied then the check digit is calculated
3567 automatically. Otherwise the provided check digit will be verified.
3568 \end{itemize}
3569
3570 \hypertarget{examples-33}{%
3571 \paragraph{Examples}\label{examples-33}}
3572
3573 Identical symbols, input provided with and without a check digit:
3574
3575 \begin{verbatim}
3576 Data: 21348075016401
3577 Options: includetext
3578 Encoder: leitcode
3579 \end{verbatim}
3580
3581 \begin{verbatim}
3582 Data: 2134807501640
3583 Options: includetext
3584 Encoder: leitcode
3585 \end{verbatim}
3586
3587 \includegraphics{images/leitcode-1}
3588
3589 \hypertarget{japan-post-4-state-barcode}{%
3590 \subsubsection{Japan Post 4 State
3591 Barcode}\label{japan-post-4-state-barcode}}
3592
3593 The \textbf{Japan Post 4 state barcode} symbology is used by the Japan
3594 Post service to encode the delivery point identifier on letter mail.
3595
3596 \hypertarget{data-and-options-45}{%
3597 \paragraph{Data and Options}\label{data-and-options-45}}
3598
3599 \begin{itemize}
3600 \tightlist
3601 \item
3602 The data may contain any of the following characters:
3603
3604 \begin{itemize}
3605 \tightlist
3606 \item
3607 Capital letters \texttt{A-Z}
3608 \item
3609 Digits \texttt{0-9}
3610 \item
3611 Hyphen \texttt{-}
3612 \end{itemize}
3613 \end{itemize}
3614
3615 \hypertarget{example-9}{%
3616 \paragraph{Example}\label{example-9}}
3617
3618 \begin{verbatim}
3619 Data: 6540123789-A-K-Z
3620 Options:
3621 Encoder: japanpost
3622 \end{verbatim}
3623
3624 \includegraphics{images/japanpost-1}
3625
3626 \hypertarget{maxicode}{%
3627 \subsubsection{MaxiCode}\label{maxicode}}
3628
3629 The \textbf{MaxiCode} barcode symbology is a 2D barcode based on a
3630 hexagonal matrix surrounding a bulls eye pattern. It can encode a
3631 structured carrier message and full 256 character extended-ASCII.
3632
3633 Also known as: UPS Code, Code 6, Dense Code.
3634
3635 Standards: ISO/IEC 16023, ANSI/AIM BC10 - ISS MaxiCode.
3636
3637 \hypertarget{data-and-options-46}{%
3638 \paragraph{Data and Options}\label{data-and-options-46}}
3639
3640 \begin{itemize}
3641 \tightlist
3642 \item
3643 The \textbf{mode} option is used to specify how the data is structured
3644 in the symbol:
3645
3646 \begin{itemize}
3647 \tightlist
3648 \item
3649 \texttt{mode=2} - Formatted data containing a Structured Carrier
3650 Message with a numeric (US domestic) postal code.
3651 \item
3652 \texttt{mode=3} - Formatted data containing a Structured Carrier
3653 Message with an alphanumeric (international) postal code.
3654 \item
3655 \texttt{mode=4} - Unstructured extended ASCII data using standard
3656 error correction.
3657 \item
3658 \texttt{mode=5} - Unstructured extended ASCII data using enhanced
3659 error correction.
3660 \item
3661 \texttt{mode=6} - Barcode reader programming.
3662 \end{itemize}
3663 \item
3664 If \textbf{mode} is unspecified the encoder will default to selecting
3665 \texttt{mode=5} if the encoded length of the input data permits
3666 enhanced error correction, otherwise it will select \texttt{mode=4}
3667 which provides standard error correction.
3668 \item
3669 The default interpretation of data by readers is in accordance with
3670 ISO/IEC 8859-1. When supported by the receiver characters from other
3671 code pages can be encoded using Extended Channel Interpretation (ECI).
3672 \item
3673 When the \textbf{parse} option is specified, any instances of
3674 \texttt{\^{}NNN} in the data field are replaced with their equivalent
3675 ASCII value, useful for specifying unprintable characters.
3676 \item
3677 When the \textbf{parsefnc} option is specified, non-data function
3678 characters can be specified by escape sequences:
3679
3680 \begin{itemize}
3681 \tightlist
3682 \item
3683 \texttt{\^{}ECI000000} to \texttt{\^{}ECI999999}: ECI indicators
3684 \end{itemize}
3685 \item
3686 If \texttt{mode=4}, \texttt{mode=5} or \texttt{mode=6} the data field
3687 may contain any extended ASCII data.
3688 \item
3689 If \texttt{mode=2} or \texttt{mode=3} the data field must begin with a
3690 properly structured carrier message, followed by any extended ASCII
3691 data.
3692 \item
3693 The structured carrier message contains a postal code, three-digit
3694 class of service and a three-digit ISO country code separated by
3695 \emph{GS} (ASCII 29) characters. It is formatted in the data field as
3696 follows:
3697 \texttt{{[}postal\ code{]}\^{}029{[}country\ code{]}\^{}029{[}service\ class{]}\^{}029}.
3698 If \texttt{mode=2} the postcode must be numeric, whilst if
3699 \texttt{mode=3} the postcode may contain up to six digits, upper case
3700 letters and spaces.
3701 \item
3702 Alternatively, messages may begin with the special application field
3703 identifier \texttt{{[})\textgreater{}\{RS\}01\{GS\}yy} where
3704 \texttt{\{RS\}} represents ASCII value 30, \texttt{\{GS\}} represents
3705 ASCII value 29 and \texttt{yy} is a two-digit year. In parse mode this
3706 is represented as \texttt{{[})\textgreater{}\^{}03001\^{}0299}. If
3707 \texttt{mode=2} or \texttt{mode=3} this must be immediately followed
3708 by the structured carrier message.
3709 \end{itemize}
3710
3711 \hypertarget{examples-34}{%
3712 \paragraph{Examples}\label{examples-34}}
3713
3714 \begin{verbatim}
3715 Data: This is MaxiCode
3716 Options:
3717 Encoder: maxicode
3718 \end{verbatim}
3719
3720 \begin{verbatim}
3721 Data: This is Maxi^067ode
3722 Options: parse
3723 Encoder: maxicode
3724 \end{verbatim}
3725
3726 \includegraphics{images/maxicode-1}
3727
3728 \begin{verbatim}
3729 Data: 152382802^029840^029001^0291Z00004951^029UPSN^02906X610^029159^0291234567^0291/1^029^029Y^029634 ALPHA DR^029PITTSBURGH^029PA^029^004
3730 Options: mode=2 parse
3731 Encoder: maxicode
3732 \end{verbatim}
3733
3734 \includegraphics{images/maxicode-2}
3735
3736 \begin{verbatim}
3737 Data: ABC123^029840^029001^0291Z00004951^029UPSN^02906X610^029159^0291234567^0291/1^029^029Y^029634 ALPHA DR^029PITTSBURGH^029PA^029^004
3738 Options: mode=3 parse
3739 Encoder: maxicode
3740 \end{verbatim}
3741
3742 \includegraphics{images/maxicode-3}
3743
3744 \begin{verbatim}
3745 Data: [\)>^03001^02996152382802^029840^029001^0291Z00004951^029UPSN^02906X610^029159^0291234567^0291/1^029^029Y^029634 ALPHA DR^029PITTSBURGH^029PA^029^004
3746 Options: mode=2 parse
3747 Encoder: maxicode
3748 \end{verbatim}
3749
3750 \includegraphics{images/maxicode-4}
3751
3752 \hypertarget{royal-mail-4-state-customer-code}{%
3753 \subsubsection{Royal Mail 4 State Customer
3754 Code}\label{royal-mail-4-state-customer-code}}
3755
3756 The \textbf{Royal Mail 4 State Customer Code} is a barcode symbology
3757 used by the British Postal Service to encode the postcode and delivery
3758 point identifier on letter mail.
3759
3760 Also known as: RM4SCC, CBC, BPO 4 State Code
3761
3762 \hypertarget{data-and-options-47}{%
3763 \paragraph{Data and Options}\label{data-and-options-47}}
3764
3765 \begin{itemize}
3766 \tightlist
3767 \item
3768 The data may contain any of the following characters from the postcode
3769 and DPID:
3770
3771 \begin{itemize}
3772 \tightlist
3773 \item
3774 Capital letters A-Z
3775 \item
3776 Digits 0-9
3777 \end{itemize}
3778 \item
3779 The maditory checksum digit is calculated automatically and must not
3780 be included in the data field
3781 \end{itemize}
3782
3783 \hypertarget{example-10}{%
3784 \paragraph{Example}\label{example-10}}
3785
3786 \begin{verbatim}
3787 Data: LE28HS9Z
3788 Options: includetext
3789 Encoder: royalmail
3790 \end{verbatim}
3791
3792 \includegraphics{images/rm4scc-1}
3793
3794 \hypertarget{royal-mail-mailmark}{%
3795 \subsubsection{Royal Mail Mailmark}\label{royal-mail-mailmark}}
3796
3797 \textbf{Royal Mail Mailmark} is an implementation of the
3798 \protect\hyperlink{data-matrix}{Data Matrix} (ECC 200) barcode symbology
3799 for application within the Royal Mail postal system.
3800
3801 Standards: Royal Mail Mailmark Barcode Definition Document
3802
3803 \hypertarget{data-and-options-48}{%
3804 \paragraph{Data and Options}\label{data-and-options-48}}
3805
3806 \begin{itemize}
3807 \tightlist
3808 \item
3809 The data field input consists of 45 characters of Mailmark structured
3810 data (including required space padding) followed by variable-length,
3811 free-formatted customer data.
3812 \item
3813 Note: Due to the fixed-length field format of the message data it is
3814 important to carefully preserve spaces in the data field.
3815 \item
3816 The mandatory \textbf{type} option is used to specify the size of the
3817 symbol, either \texttt{7}, \texttt{9} or \texttt{29}.
3818 \end{itemize}
3819
3820 \hypertarget{example-11}{%
3821 \paragraph{Example}\label{example-11}}
3822
3823 \begin{verbatim}
3824 Data: JGB 012100123412345678AB19XY1A 0 www.xyz.com
3825 Options: type=29
3826 Encoder: mailmark
3827 \end{verbatim}
3828
3829 \hypertarget{royal-tnt-post-4-state-barcode}{%
3830 \subsubsection{Royal TNT Post 4 state
3831 barcode}\label{royal-tnt-post-4-state-barcode}}
3832
3833 The \textbf{Royal TNT Post 4 state barcode} symbology is used by the
3834 Dutch Postal Service to encode the delivery point identifier on letter
3835 mail.
3836
3837 Also known as: KIX, Klant IndeX.
3838
3839 \hypertarget{data-and-options-49}{%
3840 \paragraph{Data and Options}\label{data-and-options-49}}
3841
3842 \begin{itemize}
3843 \tightlist
3844 \item
3845 The data may contain any of the following characters from the DPID:
3846
3847 \begin{itemize}
3848 \tightlist
3849 \item
3850 Capital letters \texttt{A-Z}
3851 \item
3852 Digits \texttt{0-9}
3853 \end{itemize}
3854 \end{itemize}
3855
3856 \hypertarget{example-12}{%
3857 \paragraph{Example}\label{example-12}}
3858
3859 \begin{verbatim}
3860 Data: 1231FZ13XHS
3861 Options: includetext
3862 Encoder: kix
3863 \end{verbatim}
3864
3865 \includegraphics{images/kix-1}
3866
3867 \hypertarget{usps-intelligent-mail}{%
3868 \subsubsection{USPS Intelligent Mail}\label{usps-intelligent-mail}}
3869
3870 The \textbf{USPS Intelligent Mail} barcode is used by the US Postal
3871 service to encode the delivery and sender information on letter mail.
3872
3873 Also known as: USPS OneCode.
3874
3875 Standards: USPS-STD-11.
3876
3877 \hypertarget{data-and-options-50}{%
3878 \paragraph{Data and Options}\label{data-and-options-50}}
3879
3880 \begin{itemize}
3881 \tightlist
3882 \item
3883 The data contains 31 digits representing the following:
3884
3885 \begin{itemize}
3886 \tightlist
3887 \item
3888 Barcode Identifier - two digits
3889 \item
3890 Service Type Identifier - three digits
3891 \item
3892 Mailer ID, Sequence Number - either six then nine digits
3893 respectively or nine then six digits respectively
3894 \item
3895 Delivery Point ZIP Code - eleven digits
3896 \end{itemize}
3897 \item
3898 The mandatory checksum digit is calculated automatically and must not
3899 be included in the data field.
3900 \end{itemize}
3901
3902 \hypertarget{example-13}{%
3903 \paragraph{Example}\label{example-13}}
3904
3905 \begin{verbatim}
3906 Data: 0123456709498765432101234567891
3907 Options: includetext
3908 Encoder: onecode
3909 \end{verbatim}
3910
3911 \includegraphics{images/onecode-1}
3912
3913 \hypertarget{usps-postnet}{%
3914 \subsubsection{USPS POSTNET}\label{usps-postnet}}
3915
3916 The \textbf{USPS POSTNET} barcode symbology is used by the US Postal
3917 service to encode the ZIP code information on letter mail.
3918
3919 \hypertarget{data-and-options-51}{%
3920 \paragraph{Data and Options}\label{data-and-options-51}}
3921
3922 \begin{itemize}
3923 \tightlist
3924 \item
3925 The data field contains the digits from the ZIP code, without dashes.
3926 \item
3927 The mandatory checksum is calculated automatically and must not be
3928 included in the data field.
3929 \end{itemize}
3930
3931 \hypertarget{example-14}{%
3932 \paragraph{Example}\label{example-14}}
3933
3934 \begin{verbatim}
3935 Data: 12345123412
3936 Options:
3937 Encoder: postnet
3938 \end{verbatim}
3939
3940 \includegraphics{images/postnet-1}
3941
3942 \hypertarget{usps-planet}{%
3943 \subsubsection{USPS PLANET}\label{usps-planet}}
3944
3945 The \textbf{USPS PLANET} barcode symbology is used by the US Postal
3946 service to encode the ZIP code information on letter mail.
3947
3948 \hypertarget{data-and-options-52}{%
3949 \paragraph{Data and Options}\label{data-and-options-52}}
3950
3951 \begin{itemize}
3952 \tightlist
3953 \item
3954 The data field contains eleven or thirteen digits, without dashes.
3955 \item
3956 The mandatory checksum is calculated automatically and must not be
3957 included in the data field.
3958 \end{itemize}
3959
3960 \hypertarget{example-15}{%
3961 \paragraph{Example}\label{example-15}}
3962
3963 \begin{verbatim}
3964 Data: 01234567890
3965 Options:
3966 Encoder: planet
3967 \end{verbatim}
3968
3969 \includegraphics{images/planet-1}
3970
3971 \hypertarget{usps-fim-symbols}{%
3972 \subsubsection{USPS FIM Symbols}\label{usps-fim-symbols}}
3973
3974 The \textbf{USPS FIM} encoder is used to generate static predefined
3975 barcode symbols.
3976
3977 \hypertarget{data-and-options-53}{%
3978 \paragraph{Data and Options}\label{data-and-options-53}}
3979
3980 \begin{itemize}
3981 \tightlist
3982 \item
3983 The data field accepts one of the following values:
3984
3985 \begin{itemize}
3986 \tightlist
3987 \item
3988 \texttt{fima} - US Postal Service FIM-A symbol
3989 \item
3990 \texttt{fimb} - US Postal Service FIM-B symbol
3991 \item
3992 \texttt{fimc} - US Postal Service FIM-C symbol
3993 \item
3994 \texttt{fimd} - US Postal Service FIM-D symbol
3995 \end{itemize}
3996 \end{itemize}
3997
3998 \hypertarget{examples-35}{%
3999 \paragraph{Examples}\label{examples-35}}
4000
4001 A USPS FIM A symbol:
4002
4003 \begin{verbatim}
4004 Data: fima
4005 Options:
4006 Encoder: symbol
4007 \end{verbatim}
4008
4009 \includegraphics{images/fima-1}
4010
4011 A USPS FIM B symbol:
4012
4013 \begin{verbatim}
4014 Data: fimb
4015 Options:
4016 Encoder: symbol
4017 \end{verbatim}
4018
4019 \includegraphics{images/fimb-1}
4020
4021 A USPS FIM C symbol:
4022
4023 \begin{verbatim}
4024 Data: fimc
4025 Options:
4026 Encoder: symbol
4027 \end{verbatim}
4028
4029 \includegraphics{images/fimc-1}
4030
4031 A USPS FIM D symbol:
4032
4033 \begin{verbatim}
4034 Data: fimd
4035 Options:
4036 Encoder: symbol
4037 \end{verbatim}
4038
4039 \includegraphics{images/fimd-1}
4040
4041 \hypertarget{pharmaceutical-symbols}{%
4042 \subsection{Pharmaceutical Symbols}\label{pharmaceutical-symbols}}
4043
4044 \hypertarget{italian-pharmacode}{%
4045 \subsubsection{Italian Pharmacode}\label{italian-pharmacode}}
4046
4047 \textbf{Italian Pharmacode} is a discrete, fixed length, self-checking
4048 barcode symbology used for pharmaceutical products in Italy.
4049
4050 Also known as: Code 32, IMH, Radix 32.
4051
4052 \hypertarget{data-and-options-54}{%
4053 \paragraph{Data and Options}\label{data-and-options-54}}
4054
4055 \begin{itemize}
4056 \tightlist
4057 \item
4058 The data field must contain either eight or nine digits from the code.
4059 The leading \emph{A} which is provided in some applications must be
4060 omitted.
4061 \item
4062 The mandatory check digit is calculated automatically if it is not
4063 provided, otherwise the provided check digit is verified.
4064 \end{itemize}
4065
4066 \hypertarget{examples-36}{%
4067 \paragraph{Examples}\label{examples-36}}
4068
4069 Identical symbols, input provided with and without a check digit:
4070
4071 \begin{verbatim}
4072 Data: 012345676
4073 Options: includetext
4074 Encoder: code32
4075 \end{verbatim}
4076
4077 \begin{verbatim}
4078 Data: 01234567
4079 Options: includetext
4080 Encoder: code32
4081 \end{verbatim}
4082
4083 \includegraphics{images/code32-1}
4084
4085 \hypertarget{pharmacode}{%
4086 \subsubsection{Pharmacode}\label{pharmacode}}
4087
4088 \textbf{Pharmacode} is a binary barcode symbology that is used by the
4089 Pharmaceutical industry.
4090
4091 Also known as: Pharmaceutical Binary Code. Laetus Code.
4092
4093 Variants:
4094
4095 \begin{itemize}
4096 \tightlist
4097 \item
4098 \protect\hyperlink{two-track-pharmacode}{Two-track Pharmacode} is a
4099 variant of the Pharmacode barcode.
4100 \end{itemize}
4101
4102 \hypertarget{data-and-options-55}{%
4103 \paragraph{Data and Options}\label{data-and-options-55}}
4104
4105 \begin{itemize}
4106 \tightlist
4107 \item
4108 The data field must contain a number between \texttt{3} and
4109 \texttt{131070} inclusive.
4110 \item
4111 The \textbf{nwidth}, \textbf{wwidth} and \textbf{swidth} options can
4112 be used to specify a custom width (in points) for the narrow bars,
4113 wide bars and inter-bar spaces respectively.
4114 \end{itemize}
4115
4116 \hypertarget{example-16}{%
4117 \paragraph{Example}\label{example-16}}
4118
4119 \begin{verbatim}
4120 Data: 117480
4121 Options:
4122 Encoder: pharmacode
4123 \end{verbatim}
4124
4125 \includegraphics{images/pharmacode-1}
4126
4127 \hypertarget{two-track-pharmacode}{%
4128 \subsubsection{Two-Track Pharmacode}\label{two-track-pharmacode}}
4129
4130 \textbf{Two-Track Pharmacode} is a binary barcode symbology used by the
4131 Pharmaceutical industry.
4132
4133 Also known as: Two-track Pharmaceutical Binary Code, Two-track Laetus
4134 Code.
4135
4136 Variants:
4137
4138 \begin{itemize}
4139 \tightlist
4140 \item
4141 \protect\hyperlink{pharmacode}{Pharmacode} is a variant of the
4142 Two-track Pharmacode barcode.
4143 \end{itemize}
4144
4145 \hypertarget{data-and-options-56}{%
4146 \paragraph{Data and Options}\label{data-and-options-56}}
4147
4148 \begin{itemize}
4149 \tightlist
4150 \item
4151 The data field must contain a number between \texttt{4} and
4152 \texttt{64570080} inclusive.
4153 \end{itemize}
4154
4155 \hypertarget{example-17}{%
4156 \paragraph{Example}\label{example-17}}
4157
4158 \begin{verbatim}
4159 Data: 117480
4160 Options:
4161 Encoder: pharmacode2
4162 \end{verbatim}
4163
4164 \includegraphics{images/pharmacode2-1}
4165
4166 \hypertarget{pzn}{%
4167 \subsubsection{PZN}\label{pzn}}
4168
4169 \textbf{PZN} is a discrete, fixed length, self-checking barcode
4170 symbology used for pharmaceutical products in Germany.
4171
4172 Also known as: Pharmazentralnummer.
4173
4174 Variants:
4175
4176 \begin{itemize}
4177 \tightlist
4178 \item
4179 PZN7 is the seven-digit format.
4180 \item
4181 PZN8 is the eight-digit format.
4182 \end{itemize}
4183
4184 \hypertarget{data-and-options-57}{%
4185 \paragraph{Data and Options}\label{data-and-options-57}}
4186
4187 \begin{itemize}
4188 \tightlist
4189 \item
4190 For the default PZN7 encoding, the data field must contain six digits
4191 or seven digits.
4192 \item
4193 The \textbf{pzn8} option specifies that a PZN8 symbol is required, in
4194 which case the data field must contain seven digits or eight digits.
4195 \item
4196 The mandatory check digit is calculated automatically if not provided,
4197 otherwise the provided check digit is verified.
4198 \item
4199 Note: by definition, not all six-digit or seven-digit number sequences
4200 are valid inputs.
4201 \end{itemize}
4202
4203 \hypertarget{examples-37}{%
4204 \paragraph{Examples}\label{examples-37}}
4205
4206 Identical PZN7 symbols, input provided with and without a check digit:
4207
4208 \begin{verbatim}
4209 Data: 1234562
4210 Options: includetext
4211 Encoder: pzn
4212 \end{verbatim}
4213
4214 \begin{verbatim}
4215 Data: 123456
4216 Options: includetext
4217 Encoder: pzn
4218 \end{verbatim}
4219
4220 \includegraphics{images/pzn-1}
4221
4222 Identical PZN8 symbols, input provided with and without a check digit:
4223
4224 \begin{verbatim}
4225 Data: 0275808
4226 Options: pzn8 includetext
4227 Encoder: pzn
4228 \end{verbatim}
4229
4230 \begin{verbatim}
4231 Data: 02758089
4232 Options: pzn8 includetext
4233 Encoder: pzn
4234 \end{verbatim}
4235
4236 \includegraphics{images/pzn-2}
4237
4238 \hypertarget{hibc-symbols}{%
4239 \subsection{HIBC Symbols}\label{hibc-symbols}}
4240
4241 \textbf{HIBC barcodes} use a number of general symbologies as carrier
4242 symbols for data structured according to the LIC and PAS structured data
4243 definitions.
4244
4245 Variants:
4246
4247 \begin{itemize}
4248 \tightlist
4249 \item
4250 \protect\hyperlink{hibc-code-39}{HIBC Code 39} is a variant of
4251 \protect\hyperlink{code-39}{Code 39}.
4252 \item
4253 \protect\hyperlink{hibc-code-128}{HIBC Code 128} is a variant of
4254 \protect\hyperlink{code-128}{Code 128}.
4255 \item
4256 \protect\hyperlink{hibc-pdf417}{HIBC PDF417} is a variant of
4257 \protect\hyperlink{pdf417}{PDF417}.
4258 \item
4259 \protect\hyperlink{hibc-micropdf417}{HIBC MicroPDF417} is a variant of
4260 \protect\hyperlink{micropdf417}{MicroPDF417}.
4261 \item
4262 \protect\hyperlink{hibc-qr-code}{HIBC QR Code} is a variant of
4263 \protect\hyperlink{qr-code}{QR Code}.
4264 \item
4265 \protect\hyperlink{hibc-data-matrix}{HIBC Data Matrix} is a variant of
4266 \protect\hyperlink{data-matrix}{Data Matrix}.
4267 \item
4268 \protect\hyperlink{hibc-codablock-f}{HIBC Codablock F} is a variant of
4269 \protect\hyperlink{codablock-f}{Codablock F}.
4270 \end{itemize}
4271
4272 Standards: ANSI/HIBC Provider Applications Standard, ANSI/HIBC Supplier
4273 Labelling Standard, ANSI/HIBC Positive Identification for Patient
4274 Safety, ANSI/HIBC Syntax Standard.
4275
4276 \hypertarget{data-and-options-58}{%
4277 \paragraph{Data and Options}\label{data-and-options-58}}
4278
4279 \begin{itemize}
4280 \tightlist
4281 \item
4282 The data should be pre-encoded to describe the intended barcode
4283 content.
4284 \item
4285 The HIBC \emph{+} character is prefixed automatically.
4286 \item
4287 The mandatory HIBC check character is automatically appended to the
4288 input.
4289 \end{itemize}
4290
4291 \hypertarget{hibc-code-39}{%
4292 \subsubsection{HIBC Code 39}\label{hibc-code-39}}
4293
4294 \begin{verbatim}
4295 Data: A123BJC5D6E71
4296 Options: includetext
4297 Encoder: hibccode39
4298 \end{verbatim}
4299
4300 \includegraphics{images/hibccode39-1}
4301
4302 \hypertarget{hibc-code-128}{%
4303 \subsubsection{HIBC Code 128}\label{hibc-code-128}}
4304
4305 \begin{verbatim}
4306 Data: A123BJC5D6E71
4307 Options: includetext
4308 Encoder: hibccode128
4309 \end{verbatim}
4310
4311 \includegraphics{images/hibccode128-1}
4312
4313 \hypertarget{hibc-pdf417}{%
4314 \subsubsection{HIBC PDF417}\label{hibc-pdf417}}
4315
4316 \begin{verbatim}
4317 Data: A123BJC5D6E71
4318 Options:
4319 Encoder: hibcpdf417
4320 \end{verbatim}
4321
4322 \includegraphics{images/hibcpdf417-1}
4323
4324 \hypertarget{hibc-micropdf417}{%
4325 \subsubsection{HIBC MicroPDF417}\label{hibc-micropdf417}}
4326
4327 \begin{verbatim}
4328 Data: A123BJC5D6E71
4329 Options:
4330 Encoder: hibcmicropdf417
4331 \end{verbatim}
4332
4333 \includegraphics{images/hibcmicropdf417-1}
4334
4335 \hypertarget{hibc-qr-code}{%
4336 \subsubsection{HIBC QR Code}\label{hibc-qr-code}}
4337
4338 \begin{verbatim}
4339 Data: A123BJC5D6E71
4340 Options:
4341 Encoder: hibcqrcode
4342 \end{verbatim}
4343
4344 \includegraphics{images/hibcqrcode-1}
4345
4346 \hypertarget{hibc-data-matrix}{%
4347 \subsubsection{HIBC Data Matrix}\label{hibc-data-matrix}}
4348
4349 \begin{verbatim}
4350 Data: A123BJC5D6E71
4351 Options:
4352 Encoder: hibcdatamatrix
4353 \end{verbatim}
4354
4355 \includegraphics{images/hibcdatamatrix-1}
4356
4357 \hypertarget{hibc-codablock-f}{%
4358 \subsubsection{HIBC Codablock F}\label{hibc-codablock-f}}
4359
4360 \begin{verbatim}
4361 Data: A123BJC5D6E71
4362 Options:
4363 Encoder: hibccodablockf
4364 \end{verbatim}
4365
4366 \includegraphics{images/hibccodablockf-1}
4367
4368 \hypertarget{less-used-symbols}{%
4369 \subsection{Less-used Symbols}\label{less-used-symbols}}
4370
4371 \hypertarget{bc412}{%
4372 \subsubsection{BC412}\label{bc412}}
4373
4374 The \textbf{BC412} barcode symbology is single width, variable length
4375 barcode that is used for silicon wafer identification by the
4376 semiconductor manufacturing industry.
4377
4378 Also known as: BC412 SEMI, BC412 IBM.
4379
4380 \hypertarget{data-and-options-59}{%
4381 \paragraph{Data and Options}\label{data-and-options-59}}
4382
4383 \begin{itemize}
4384 \tightlist
4385 \item
4386 The data field can hold any of the following:
4387
4388 \begin{itemize}
4389 \tightlist
4390 \item
4391 Numbers 0-9
4392 \item
4393 Capital letters A-Z, excluding O
4394 \end{itemize}
4395 \item
4396 The \textbf{includestartstop} option enables the display of start and
4397 stop bars.
4398 \item
4399 The \textbf{includecheck} option calculates the check character.
4400 \item
4401 The \textbf{includecheckintext} option makes the calculated checksum
4402 appear in the human readable text.
4403 \item
4404 The \textbf{semi} option enables conformance to the SEMI standard by
4405 enabling start and stop bars as well as a check character.
4406 \item
4407 The \textbf{inkspread} option can be used to adjust the width of the
4408 bars.
4409 \end{itemize}
4410
4411 \hypertarget{examples-38}{%
4412 \paragraph{Examples}\label{examples-38}}
4413
4414 \begin{verbatim}
4415 Data: BC412
4416 Options: includecheck
4417 Encoder: bc412
4418 \end{verbatim}
4419
4420 \includegraphics{images/bc412-1}
4421
4422 \begin{verbatim}
4423 Data: BC412
4424 Options: includestartstop
4425 Encoder: bc412
4426 \end{verbatim}
4427
4428 \includegraphics{images/bc412-2}
4429
4430 \begin{verbatim}
4431 Data: BC412
4432 Options: semi
4433 Encoder: bc412
4434 \end{verbatim}
4435
4436 \includegraphics{images/bc412-3}
4437
4438 \hypertarget{channel-code}{%
4439 \subsubsection{Channel Code}\label{channel-code}}
4440
4441 \textbf{Channel Code} is a linear, continuous, self-checking,
4442 bidirectional barcode symbology that encodes between two and seven
4443 digits in a short space.
4444
4445 Standards: ANSI/AIM BC12 - USS Channel Code.
4446
4447 \hypertarget{data-and-options-60}{%
4448 \paragraph{Data and Options}\label{data-and-options-60}}
4449
4450 \begin{itemize}
4451 \tightlist
4452 \item
4453 The data field can hold zero prefixed values from any of the following
4454 ranges:
4455
4456 \begin{itemize}
4457 \tightlist
4458 \item
4459 Channel 3: \texttt{00-26}
4460 \item
4461 Channel 4: \texttt{000-292}
4462 \item
4463 Channel 5: \texttt{0000-3493}
4464 \item
4465 Channel 6: \texttt{00000-44072}
4466 \item
4467 Channel 7: \texttt{000000-576688}
4468 \item
4469 Channel 8: \texttt{0000000-7742862}
4470 \end{itemize}
4471 \item
4472 The channel is determined to be one more than the number of digits
4473 given in the data field.
4474 \item
4475 The \textbf{shortfinder} option generates a symbol with a shortened
4476 finder pattern.
4477 \item
4478 The \textbf{includecheck} option appends an optional check bar suffix.
4479 \end{itemize}
4480
4481 \hypertarget{examples-39}{%
4482 \paragraph{Examples}\label{examples-39}}
4483
4484 A channel 3 symbol holding the value five:
4485
4486 \begin{verbatim}
4487 Data: 05
4488 Options: includetext
4489 Encoder: channelcode
4490 \end{verbatim}
4491
4492 \includegraphics{images/channelcode-1}
4493
4494 A channel 4 symbol holding the value 123:
4495
4496 \begin{verbatim}
4497 Data: 123
4498 Options: includetext
4499 Encoder: channelcode
4500 \end{verbatim}
4501
4502 \includegraphics{images/channelcode-2}
4503
4504 A channel 4 symbol holding the value five including optional check bars:
4505
4506 \begin{verbatim}
4507 Data: 005
4508 Options: includetext includecheck
4509 Encoder: channelcode
4510 \end{verbatim}
4511
4512 \includegraphics{images/channelcode-3}
4513
4514 A channel 3 symbol holding the value 26 with a shorteded finder pattern:
4515
4516 \begin{verbatim}
4517 Data: 26
4518 Options: shortfinder includetext
4519 Encoder: channelcode
4520 \end{verbatim}
4521
4522 \includegraphics{images/channelcode-4}
4523
4524 \hypertarget{codabar}{%
4525 \subsubsection{Codabar}\label{codabar}}
4526
4527 \textbf{Codabar} is a linear, discrete, self-checking, bidirectional
4528 barcode symbology that can encode digits, six symbols and four delimiter
4529 characters. It is primarily used by libraries and blood banks, photo
4530 labs and FedEx airbills.
4531
4532 Also known as: Rationalized Codabar, Ames Code, NW-7, USD-4,
4533 USS-Codabar, ABC Codabar, Monarch, Code 2 of 7.
4534
4535 Standards: ANSI/AIM BC3 - USS Codabar, BS EN 798.
4536
4537 \hypertarget{data-and-options-61}{%
4538 \paragraph{Data and Options}\label{data-and-options-61}}
4539
4540 \begin{itemize}
4541 \tightlist
4542 \item
4543 The data field must start and stop with one of the following
4544 delimiters
4545
4546 \begin{itemize}
4547 \tightlist
4548 \item
4549 \texttt{ABCD}
4550 \item
4551 \texttt{TNE*} (with the \emph{altstartstop} option)
4552 \end{itemize}
4553 \item
4554 The data field can otherwise hold any of the following
4555
4556 \begin{itemize}
4557 \tightlist
4558 \item
4559 Digits 0-9
4560 \item
4561 Symbols \texttt{-\$:/.+}
4562 \end{itemize}
4563 \item
4564 The \textbf{altstartstop} option specifies that the alternative set of
4565 delimiter characters is in use.
4566 \item
4567 The \textbf{includecheck} option calculates the check digit.
4568 \item
4569 The \textbf{includecheckintext} option makes the calculated check
4570 characters appear in the human readable text.
4571 \end{itemize}
4572
4573 \hypertarget{example-18}{%
4574 \paragraph{Example}\label{example-18}}
4575
4576 \begin{verbatim}
4577 Data: A0123456789B
4578 Options: includecheck includetext includecheckintext
4579 Encoder: rationalizedCodabar
4580 \end{verbatim}
4581
4582 \includegraphics{images/codabar-1}
4583
4584 \hypertarget{codablock-f}{%
4585 \subsubsection{Codablock F}\label{codablock-f}}
4586
4587 The \textbf{Codablock F} barcode symbology is 2D stacked-linear barcode
4588 that consists of a number of stacked \protect\hyperlink{code-128}{Code
4589 128} symbols. It can encode full 256 character extended-ASCII.
4590
4591 Variants:
4592
4593 \begin{itemize}
4594 \tightlist
4595 \item
4596 \protect\hyperlink{hibc-symbols}{HIBC Codablock F} is a variant of
4597 Codablock F that should be used when encoding HIBC formatted data.
4598 \end{itemize}
4599
4600 Standards: USS Codablock F.
4601
4602 \hypertarget{data-and-options-62}{%
4603 \paragraph{Data and Options}\label{data-and-options-62}}
4604
4605 \begin{itemize}
4606 \tightlist
4607 \item
4608 The data field can consist of any extended-ASCII data. The default
4609 interpretation of data by readers is in accordance with ISO/IEC
4610 8859-1.
4611 \item
4612 \emph{FNC4} function characters will be inserted automatically to
4613 allow the encoding of extended ASCII characters.
4614 \item
4615 When the \textbf{parse} option is specified, any instances of
4616 \texttt{\^{}NNN} in the data field are replaced with their equivalent
4617 ASCII value, useful for specifying unprintable characters.
4618 \item
4619 When the \textbf{parsefnc} option is specified, non-data function
4620 characters can be specified by escape sequences:
4621
4622 \begin{itemize}
4623 \tightlist
4624 \item
4625 \texttt{\^{}FNC1}: FNC1
4626 \item
4627 \texttt{\^{}FNC2}: FNC2
4628 \item
4629 \texttt{\^{}FNC3}: FNC3
4630 \item
4631 \texttt{\^{}ECI000000} to \texttt{\^{}ECI999999}: ECI indicators
4632 \end{itemize}
4633 \item
4634 The \textbf{columns} option specifies the number of columns in the
4635 symbol, default 8.
4636 \item
4637 The \textbf{rows} option specifies the number of rows in the symbol,
4638 between 2 and 44.
4639 \item
4640 If \textbf{rows} is unspecified the encoder will default to the
4641 smallest number of rows that can hold the given data.
4642 \item
4643 The \textbf{raw} option denotes that the data field is providing the
4644 input as a pre-encoded codewords in \texttt{\^{}NNN} format, suitable
4645 for direct low-level encoding.
4646 \item
4647 The \textbf{rowheight} option specifies the height of the bars in each
4648 row in points. The default is 10.
4649 \item
4650 The \textbf{sepheight} option specifies the height of the separator
4651 bars enclosing the rows in points. The default is 1.
4652 \end{itemize}
4653
4654 \hypertarget{examples-40}{%
4655 \paragraph{Examples}\label{examples-40}}
4656
4657 \begin{verbatim}
4658 Data: Codablock F
4659 Options:
4660 Encoder: codablockf
4661 \end{verbatim}
4662
4663 \includegraphics{images/codablockf-1}
4664
4665 \begin{verbatim}
4666 Data: CODABLOCK F 34567890123456789010040digit
4667 Options: columns=8 rows=5
4668 Encoder: codablockf
4669 \end{verbatim}
4670
4671 \includegraphics{images/codablockf-2}
4672
4673 \begin{verbatim}
4674 Data: Short bars, fat seperators
4675 Options: columns=10 rows=8 rowheight=6 sepheight=2
4676 Encoder: codablockf
4677 \end{verbatim}
4678
4679 \includegraphics{images/codablockf-3}
4680
4681 \hypertarget{code-11}{%
4682 \subsubsection{Code 11}\label{code-11}}
4683
4684 \textbf{Code 11} is a linear, discrete, non-self-checking,
4685 bidirectional, numeric barcode symbology that is primarily used for
4686 labelling telecommunication equipment.
4687
4688 Also known as: USD-8.
4689
4690 \hypertarget{data-and-options-63}{%
4691 \paragraph{Data and Options}\label{data-and-options-63}}
4692
4693 \begin{itemize}
4694 \tightlist
4695 \item
4696 The data consists of digits and the dash character \emph{-}.
4697 \item
4698 The \textbf{includecheck} option calculates the check digits.
4699 \item
4700 For less than 10 data digits a single check digit is used.
4701 \item
4702 For 10 or more data digits two check digits are used.
4703 \end{itemize}
4704
4705 \hypertarget{example-19}{%
4706 \paragraph{Example}\label{example-19}}
4707
4708 \begin{verbatim}
4709 Data: 0123456789
4710 Options: includecheck includetext includecheckintext
4711 Encoder: code11
4712 \end{verbatim}
4713
4714 \includegraphics{images/code11-1}
4715
4716 \hypertarget{code-16k}{%
4717 \subsubsection{Code 16K}\label{code-16k}}
4718
4719 The \textbf{Code 16K} barcode symbology is 2D stacked-linear barcode
4720 that can encode full 256 character extended-ASCII with the use of the
4721 \emph{FNC4} shift character.
4722
4723 Also known as: USS-16K
4724
4725 Standards: ANSI/AIM BC7 - USS Code 16K, BS EN 12323.
4726
4727 \hypertarget{data-and-options-64}{%
4728 \paragraph{Data and Options}\label{data-and-options-64}}
4729
4730 \begin{itemize}
4731 \tightlist
4732 \item
4733 The data field can consist of any extended ASCII data. The default
4734 interpretation of data by readers is in accordance with ISO/IEC
4735 8859-1.
4736 \item
4737 \emph{FNC4} function characters will be inserted automatically to
4738 allow the encoding of extended ASCII characters.
4739 \item
4740 When the \textbf{parse} option is specified, any instances of
4741 \texttt{\^{}NNN} in the data field are replaced with their equivalent
4742 ASCII value, useful for specifying unprintable characters.
4743 \item
4744 When the \textbf{parsefnc} option is specified, non-data function
4745 characters can be specified by escape sequences:
4746
4747 \begin{itemize}
4748 \tightlist
4749 \item
4750 \texttt{\^{}FNC1}: FNC1
4751 \item
4752 \texttt{\^{}FNC2}: FNC2
4753 \item
4754 \texttt{\^{}FNC3}: FNC3
4755 \end{itemize}
4756 \item
4757 The \textbf{mode} option specifies the mode for the symbol. It is
4758 usual to leave this unspecified in which case the most appropriate
4759 mode that results in the shortest symbol is automatically selected
4760 based in the input data.
4761
4762 \begin{itemize}
4763 \tightlist
4764 \item
4765 \texttt{mode=0} - Starting code set A
4766 \item
4767 \texttt{mode=1} - Starting code set B
4768 \item
4769 \texttt{mode=2} - Starting code set C
4770 \item
4771 \texttt{mode=3} - Starting code set B with implied \emph{FNC1}
4772 \item
4773 \texttt{mode=4} - Starting code set C with implied \emph{FNC1}
4774 \item
4775 \texttt{mode=5} - Starting code set C with implied \emph{Shift B}
4776 \item
4777 \texttt{mode=6} - Starting code set C with implied \emph{Double
4778 Shift B}
4779 \end{itemize}
4780 \item
4781 The \textbf{pos} option specifies this symbol to be part of multi-part
4782 structured data. For example \texttt{pos=25} specifies this to be the
4783 second symbol in a group of five symbols.
4784 \item
4785 The \textbf{rows} option specifies the number of rows in the symbol,
4786 between two and sixteen.
4787 \item
4788 If \textbf{rows} is unspecified the encoder will default to the
4789 smallest number of rows that can hold the given data.
4790 \item
4791 The \textbf{raw} option denotes that the data field is providing the
4792 input as a pre-encoded codewords in \texttt{\^{}NNN} format, suitable
4793 for direct low-level encoding.
4794 \item
4795 The \textbf{rowheight} option specifies the height of the bars in each
4796 row in points. The default is 10.
4797 \item
4798 The \textbf{sepheight} option specifies the height of the separator
4799 bars enclosing the rows in points. The default is 1.
4800 \end{itemize}
4801
4802 \hypertarget{examples-41}{%
4803 \paragraph{Examples}\label{examples-41}}
4804
4805 \begin{verbatim}
4806 Data: Abcd-1234567890-wxyZ
4807 Options:
4808 Encoder: code16k
4809 \end{verbatim}
4810
4811 \includegraphics{images/code16k-1}
4812
4813 \begin{verbatim}
4814 Data: Code 16K
4815 Options: rows=10
4816 Encoder: code16k
4817 \end{verbatim}
4818
4819 \includegraphics{images/code16k-2}
4820
4821 \begin{verbatim}
4822 Data: Short bars, fat seperators
4823 Options: rows=8 rowheight=5 sepheight=2
4824 Encoder: code16k
4825 \end{verbatim}
4826
4827 \includegraphics{images/code16k-3}
4828
4829 \hypertarget{code-25}{%
4830 \subsubsection{Code 25}\label{code-25}}
4831
4832 \textbf{Code 2 of 5} is a simple low density numeric barcode symbology.
4833
4834 Also known as: Code 25, Industrial 2 of 5, Standard 2 of 5
4835
4836 Variants:
4837
4838 \begin{itemize}
4839 \tightlist
4840 \item
4841 \protect\hyperlink{iata-2-of-5}{IATA 2 of 5}, Computer Identics 2 of
4842 5.
4843 \item
4844 \protect\hyperlink{datalogic-2-of-5}{Datalogic 2 of 5}.
4845 \item
4846 \protect\hyperlink{matrix-2-of-5}{Matrix 2 of 5}.
4847 \item
4848 \protect\hyperlink{coop-2-of-5}{COOP 2 of 5}.
4849 \end{itemize}
4850
4851 \hypertarget{data-and-options-65}{%
4852 \paragraph{Data and Options}\label{data-and-options-65}}
4853
4854 \begin{itemize}
4855 \tightlist
4856 \item
4857 The data consists of any number of digits.
4858 \item
4859 The \textbf{includecheck} option calculates the check digit.
4860 \item
4861 \emph{Deprecated}: The \textbf{version} option determines which
4862 variant to use:
4863
4864 \begin{itemize}
4865 \tightlist
4866 \item
4867 \texttt{version=industrial} (default) - Industrial 2 of 5.
4868 \item
4869 \texttt{version=iata} - \emph{Deprecated: Use
4870 \protect\hyperlink{iata-2-of-5}{IATA 2 of 5}}
4871 \item
4872 \texttt{version=datalogic} - \emph{Deprecated: Use
4873 \protect\hyperlink{datalogic-2-of-5}{Datalogic 2 of 5}}
4874 \item
4875 \texttt{version=matrix} - \emph{Deprecated: Use
4876 \protect\hyperlink{matrix-2-of-5}{Matrix 2 of 5}}
4877 \item
4878 \texttt{version=coop} - \emph{Deprecated: Use
4879 \protect\hyperlink{coop-2-of-5}{COOP 2 of 5}}
4880 \end{itemize}
4881 \end{itemize}
4882
4883 \hypertarget{examples-42}{%
4884 \paragraph{Examples}\label{examples-42}}
4885
4886 \begin{verbatim}
4887 Data: 01234567
4888 Options:
4889 Encoder: code2of5
4890 \end{verbatim}
4891
4892 \includegraphics{images/code25-1}
4893
4894 \hypertarget{dotcode}{%
4895 \subsubsection{DotCode}\label{dotcode}}
4896
4897 The \textbf{DotCode} symbology is 2D matrix-style barcode that can
4898 encode full 256 character extended-ASCII.
4899
4900 Also known as: Ribbon Code
4901
4902 Variants:
4903
4904 \begin{itemize}
4905 \tightlist
4906 \item
4907 \protect\hyperlink{gs1-dotcode}{GS1 DotCode} is a variant of DotCode
4908 that should be used when encoding data that is in
4909 \protect\hyperlink{gs1-application-identifier-standard-format}{GS1
4910 Application Identifier standard format}.
4911 \end{itemize}
4912
4913 Standards: AIM - ISS DotCode.
4914
4915 \hypertarget{data-and-options-66}{%
4916 \paragraph{Data and Options}\label{data-and-options-66}}
4917
4918 \begin{itemize}
4919 \tightlist
4920 \item
4921 The data field can contain any extended ASCII data. The default
4922 interpretation of data by readers is in accordance with ISO/IEC
4923 8859-1.
4924 \item
4925 When the \textbf{parse} option is specified, any instances of
4926 \texttt{\^{}NNN} in the data field are replaced with their equivalent
4927 ASCII value. This is useful for specifying unprintable characters.
4928 \item
4929 When the \textbf{parsefnc} option is specified, non-data function
4930 characters can be specified by escape sequences:
4931
4932 \begin{itemize}
4933 \tightlist
4934 \item
4935 \texttt{\^{}FNC1}: FNC1. \emph{Recommendation: Use
4936 \protect\hyperlink{gs1-dotcode}{GS1 DotCode} for encoding GS1 AI
4937 syntax data.}
4938 \item
4939 \texttt{\^{}FNC2}: FNC2
4940 \item
4941 \texttt{\^{}FNC3}: FNC3
4942 \end{itemize}
4943 \item
4944 The \textbf{ratio} is used to specify the aspect ratio of the symbol.
4945 The default is 1.5.
4946 \item
4947 The \textbf{columns} and \textbf{rows} options are used to specify the
4948 size of the symbol. When these are not specified a symbol is generated
4949 that maintains the selected aspect ratio.
4950 \item
4951 \emph{Deprecated: Use only if performance is a concern.} The
4952 \textbf{fast} option is used to enable the optional high-speed symbol
4953 masking algorithm.
4954 \end{itemize}
4955
4956 \hypertarget{examples-43}{%
4957 \paragraph{Examples}\label{examples-43}}
4958
4959 \begin{verbatim}
4960 Data: This is DotCode
4961 Options: inkspread=0.16
4962 Encoder: dotcode
4963 \end{verbatim}
4964
4965 \includegraphics{images/dotcode-1}
4966
4967 \hypertarget{ultracode}{%
4968 \subsubsection{Ultracode}\label{ultracode}}
4969
4970 The \textbf{Ultracode} symbology is a colour, 2D matrix-style barcode
4971 symbology that can encode full 256 character extended-ASCII.
4972
4973 Standards: AIM ISS - Ultracode.
4974
4975 \hypertarget{data-and-options-67}{%
4976 \paragraph{Data and Options}\label{data-and-options-67}}
4977
4978 \begin{itemize}
4979 \tightlist
4980 \item
4981 The data field can contain any extended ASCII data. The default
4982 interpretation of data by readers is in accordance with ISO/IEC
4983 8859-1.
4984 \item
4985 When the \textbf{parse} option is specified, any instances of
4986 \texttt{\^{}NNN} in the data field are replaced with their equivalent
4987 ASCII value, useful for specifying unprintable characters.
4988 \item
4989 When the \textbf{parsefnc} option is specified, non-data function
4990 characters can be specified by escape sequences:
4991
4992 \begin{itemize}
4993 \tightlist
4994 \item
4995 \texttt{\^{}FNC1}: FNC1
4996 \item
4997 \texttt{\^{}FNC3}: FNC3
4998 \end{itemize}
4999 \item
5000 The \textbf{eclevel} option is used to specify the error correction
5001 level:
5002
5003 \begin{itemize}
5004 \tightlist
5005 \item
5006 \texttt{eclevel=EC0} - Error detection only
5007 \item
5008 \texttt{eclevel=EC1} - Low
5009 \item
5010 \texttt{eclevel=EC2} - Medium (default)
5011 \item
5012 \texttt{eclevel=EC3}
5013 \item
5014 \texttt{eclevel=EC4}
5015 \item
5016 \texttt{eclevel=EC5} - Highest
5017 \end{itemize}
5018 \end{itemize}
5019
5020 \hypertarget{examples-44}{%
5021 \paragraph{Examples}\label{examples-44}}
5022
5023 \begin{verbatim}
5024 Data: Nice colours!
5025 Options: eclevel=EC3
5026 Encoder: ultracode
5027 \end{verbatim}
5028
5029 \includegraphics{images/ultracode-1}
5030
5031 \hypertarget{iata-2-of-5}{%
5032 \subsubsection{IATA 2 of 5}\label{iata-2-of-5}}
5033
5034 \textbf{IATA 2 of 5} is a variant of the
5035 \protect\hyperlink{code-25}{Code 2 of 5} barcode symbology.
5036
5037 Also known as: Computer Identics 2 of 5.
5038
5039 Variants:
5040
5041 \begin{itemize}
5042 \tightlist
5043 \item
5044 \protect\hyperlink{code-25}{Industrial 2 of 5}, Standard 2 of 5.
5045 \item
5046 \protect\hyperlink{datalogic-2-of-5}{Datalogic 2 of 5}.
5047 \item
5048 \protect\hyperlink{matrix-2-of-5}{Matrix 2 of 5}.
5049 \item
5050 \protect\hyperlink{coop-2-of-5}{COOP 2 of 5}.
5051 \end{itemize}
5052
5053 \hypertarget{data-and-options-68}{%
5054 \paragraph{Data and Options}\label{data-and-options-68}}
5055
5056 \begin{itemize}
5057 \tightlist
5058 \item
5059 The data consists of any number of digits.
5060 \item
5061 The \textbf{includecheck} option calculates the check digit.
5062 \end{itemize}
5063
5064 \hypertarget{examples-45}{%
5065 \paragraph{Examples}\label{examples-45}}
5066
5067 \begin{verbatim}
5068 Data: 01234567
5069 Options: includetext includecheck includecheckintext
5070 Encoder: iata2of5
5071 \end{verbatim}
5072
5073 \includegraphics{images/code25-2}
5074
5075 \hypertarget{matrix-2-of-5}{%
5076 \subsubsection{Matrix 2 of 5}\label{matrix-2-of-5}}
5077
5078 \textbf{Matrix 2 of 5} is a variant of the
5079 \protect\hyperlink{code-25}{Code 2 of 5} barcode symbology.
5080
5081 Variants:
5082
5083 \begin{itemize}
5084 \tightlist
5085 \item
5086 \protect\hyperlink{code-25}{Industrial 2 of 5}, Standard 2 of 5.
5087 \item
5088 \protect\hyperlink{iata-2-of-5}{IATA 2 of 5}, Computer Identics 2 of
5089 5.
5090 \item
5091 \protect\hyperlink{datalogic-2-of-5}{Datalogic 2 of 5}.
5092 \item
5093 \protect\hyperlink{coop-2-of-5}{COOP 2 of 5}.
5094 \end{itemize}
5095
5096 \hypertarget{data-and-options-69}{%
5097 \paragraph{Data and Options}\label{data-and-options-69}}
5098
5099 \begin{itemize}
5100 \tightlist
5101 \item
5102 The data consists of any number of digits.
5103 \item
5104 The \textbf{includecheck} option calculates the check digit.
5105 \end{itemize}
5106
5107 \hypertarget{datalogic-2-of-5}{%
5108 \subsubsection{Datalogic 2 of 5}\label{datalogic-2-of-5}}
5109
5110 \textbf{Datalogic 2 of 5} is a variant of the
5111 \protect\hyperlink{code-25}{Code 2 of 5} barcode symbology.
5112
5113 Variants:
5114
5115 \begin{itemize}
5116 \tightlist
5117 \item
5118 \protect\hyperlink{code-25}{Industrial 2 of 5}, Standard 2 of 5.
5119 \item
5120 \protect\hyperlink{iata-2-of-5}{IATA 2 of 5}, Computer Identics 2 of
5121 5.
5122 \item
5123 \protect\hyperlink{matrix-2-of-5}{Matrix 2 of 5}.
5124 \item
5125 \protect\hyperlink{coop-2-of-5}{COOP 2 of 5}.
5126 \end{itemize}
5127
5128 \hypertarget{data-and-options-70}{%
5129 \paragraph{Data and Options}\label{data-and-options-70}}
5130
5131 \begin{itemize}
5132 \tightlist
5133 \item
5134 The data consists of any number of digits.
5135 \item
5136 The \textbf{includecheck} option calculates the check digit.
5137 \end{itemize}
5138
5139 \hypertarget{coop-2-of-5}{%
5140 \subsubsection{COOP 2 of 5}\label{coop-2-of-5}}
5141
5142 \textbf{COOP 2 of 5} is a variant of the
5143 \protect\hyperlink{code-25}{Code 2 of 5} barcode symbology.
5144
5145 Variants:
5146
5147 \begin{itemize}
5148 \tightlist
5149 \item
5150 \protect\hyperlink{code-25}{Industrial 2 of 5}, Standard 2 of 5.
5151 \item
5152 \protect\hyperlink{iata-2-of-5}{IATA 2 of 5}, Computer Identics 2 of
5153 5.
5154 \item
5155 \protect\hyperlink{datalogic-2-of-5}{Datalogic 2 of 5}.
5156 \item
5157 \protect\hyperlink{matrix-2-of-5}{Matrix 2 of 5}.
5158 \end{itemize}
5159
5160 \hypertarget{data-and-options-71}{%
5161 \paragraph{Data and Options}\label{data-and-options-71}}
5162
5163 \begin{itemize}
5164 \tightlist
5165 \item
5166 The data consists of any number of digits.
5167 \item
5168 The \textbf{includecheck} option calculates the check digit.
5169 \end{itemize}
5170
5171 \hypertarget{code-49}{%
5172 \subsubsection{Code 49}\label{code-49}}
5173
5174 The \textbf{Code 49} barcode symbology is 2D stacked-linear barcode that
5175 can encode 128 character ASCII.
5176
5177 Also known as: USS-49.
5178
5179 Standards: ANSI/AIM BC6 - USS Code 49.
5180
5181 \hypertarget{data-and-options-72}{%
5182 \paragraph{Data and Options}\label{data-and-options-72}}
5183
5184 \begin{itemize}
5185 \tightlist
5186 \item
5187 The input can consist of any ASCII data.
5188 \item
5189 When the \textbf{parse} option is specified, any instances of
5190 \texttt{\^{}NNN} in the data field are replaced with their equivalent
5191 ASCII value, useful for specifying unprintable characters.
5192 \item
5193 When the \textbf{parsefnc} option is specified, non-data function
5194 characters can be specified by escape sequences:
5195
5196 \begin{itemize}
5197 \tightlist
5198 \item
5199 \texttt{\^{}FNC1}: FNC1
5200 \item
5201 \texttt{\^{}FNC2}: FNC2
5202 \item
5203 \texttt{\^{}FNC3}: FNC3
5204 \end{itemize}
5205 \item
5206 The \textbf{mode} option specifies the mode for the symbol. It is
5207 usual to leave this unspecified in which case the most appropriate
5208 mode that results in the shortest symbol is automatically selected
5209 based in the input data.
5210
5211 \begin{itemize}
5212 \tightlist
5213 \item
5214 \texttt{mode=0} - regular alphanumeric mode
5215 \item
5216 \texttt{mode=1} - append mode
5217 \item
5218 \texttt{mode=2} - numeric mode
5219 \item
5220 \texttt{mode=3} - group alphanumeric mode
5221 \item
5222 \texttt{mode=4} - alphanumeric mode starting shift 1
5223 \item
5224 \texttt{mode=5} - alphanumeric mode starting shift 2
5225 \item
5226 \texttt{mode=6} - reserved
5227 \end{itemize}
5228 \item
5229 The \textbf{pos} option specifies this symbol to be part of multi-part
5230 structured data, i.e. selecting \texttt{mode=3}. For example
5231 \texttt{pos=25} specifies this to be the second symbol in a group of
5232 five symbols.
5233 \item
5234 The \textbf{rows} option specifies the number of rows in the symbol,
5235 between \emph{2} and \emph{8}.
5236 \item
5237 If \textbf{rows} is unspecified the encoder will default to the
5238 smallest number of rows that can hold the given data.
5239 \item
5240 The \textbf{rowheight} option specifies the height of the bars in each
5241 row in points. The default is \emph{10}.
5242 \item
5243 The \textbf{sepheight} option specifies the height of the separator
5244 bars enclosing the rows in points. The default is \emph{1}.
5245 \end{itemize}
5246
5247 \hypertarget{examples-46}{%
5248 \paragraph{Examples}\label{examples-46}}
5249
5250 \begin{verbatim}
5251 Data: MULTIPLE ROWS IN CODE 49
5252 Options:
5253 Encoder: code49
5254 \end{verbatim}
5255
5256 \includegraphics{images/code49-1}
5257
5258 \begin{verbatim}
5259 Data: CODE 49
5260 Options: rows=8
5261 Encoder: code49
5262 \end{verbatim}
5263
5264 \includegraphics{images/code49-2}
5265
5266 \begin{verbatim}
5267 Data: Short bars, fat seperators
5268 Options: rows=8 rowheight=6 sepheight=2
5269 Encoder: code49
5270 \end{verbatim}
5271
5272 \includegraphics{images/code49-3}
5273
5274 \hypertarget{code-one}{%
5275 \subsubsection{Code One}\label{code-one}}
5276
5277 \textbf{Code One} was the earliest public domain 2D matrix-style
5278 barcode. It is used by the health care and recycling industry and can
5279 encode full 256 character extended-ASCII.
5280
5281 Also known as: Code 1, Code 1S.
5282
5283 Standards: AIM USS - Code One.
5284
5285 \hypertarget{data-and-options-73}{%
5286 \paragraph{Data and Options}\label{data-and-options-73}}
5287
5288 \begin{itemize}
5289 \tightlist
5290 \item
5291 The data field can consist of any ASCII data for \emph{standard} and
5292 \emph{T-type} symbols. The default interpretation of data by readers
5293 is in accordance with ISO/IEC 8859-1. When supported by the receiver
5294 characters from other code pages can be encoded using Extended Channel
5295 Interpretation (ECI).
5296 \item
5297 Note: \emph{S-type} symbols are special in that they represent a
5298 numeric value so may only contain digits.
5299 \item
5300 When the \textbf{parse} option is specified, any instances of
5301 \texttt{\^{}NNN} in the data field are replaced with their equivalent
5302 ASCII value, useful for specifying unprintable characters, e.g.
5303 \texttt{\^{}029} for \emph{GS}, etc.
5304 \item
5305 When the \textbf{parsefnc} option is specified, non-data function
5306 characters can be specified by escape sequences:
5307
5308 \begin{itemize}
5309 \tightlist
5310 \item
5311 \texttt{\^{}FNC1}: FNC1
5312 \item
5313 \texttt{\^{}FNC3}: FNC3
5314 \item
5315 \texttt{\^{}ECI000000} to \texttt{\^{}ECI999999}: ECI indicators
5316 \end{itemize}
5317 \item
5318 The \textbf{version} option is used to specify the size and type of
5319 the symbol:
5320
5321 \begin{itemize}
5322 \tightlist
5323 \item
5324 \texttt{A}, \texttt{B}, \texttt{C}, \texttt{D}, \texttt{E},
5325 \texttt{F}, \texttt{G}, \texttt{H} - for standard format symbols
5326 (default automatic selection)
5327 \item
5328 \texttt{version=T-16}, \texttt{version=T-32}, \texttt{version=T-48}
5329 - \emph{T-type} symbols
5330 \item
5331 \texttt{version=S-10}, \texttt{version=S-20}, \texttt{version=S-30}
5332 - \emph{S-type} symbols
5333 \end{itemize}
5334 \end{itemize}
5335
5336 \hypertarget{examples-47}{%
5337 \paragraph{Examples}\label{examples-47}}
5338
5339 \begin{verbatim}
5340 Data: Code One
5341 Options:
5342 Encoder: codeone
5343 \end{verbatim}
5344
5345 \includegraphics{images/codeone-1}
5346
5347 \begin{verbatim}
5348 Data: Code One
5349 Options: version=C
5350 Encoder: codeone
5351 \end{verbatim}
5352
5353 \includegraphics{images/codeone-2}
5354
5355 \begin{verbatim}
5356 Data: Code One
5357 Options: version=T-32
5358 Encoder: codeone
5359 \end{verbatim}
5360
5361 \includegraphics{images/codeone-3}
5362
5363 \begin{verbatim}
5364 Data: 406990
5365 Options: version=S-10
5366 Encoder: codeone
5367 \end{verbatim}
5368
5369 \includegraphics{images/codeone-4}
5370
5371 \hypertarget{msi-plessey}{%
5372 \subsubsection{MSI Plessey}\label{msi-plessey}}
5373
5374 \textbf{MSI Plessey} is a continuous, non-self-checking, arbitrary
5375 length, numeric barcode symbology.
5376
5377 Also known as: MSI, MSI Modified Plessey.
5378
5379 Variants:
5380
5381 \begin{itemize}
5382 \tightlist
5383 \item
5384 \protect\hyperlink{plessey}{Plessey (UK)} is the original barcode upon
5385 which MSI Modified Plessey was based.
5386 \end{itemize}
5387
5388 \hypertarget{data-and-options-74}{%
5389 \paragraph{Data and Options}\label{data-and-options-74}}
5390
5391 \begin{itemize}
5392 \tightlist
5393 \item
5394 The data can consist of any number of digits.
5395 \item
5396 The \textbf{includecheck} option calculates the check digit or check
5397 digits.
5398 \item
5399 The \textbf{includecheckintext} option makes the calculated check
5400 characters appear in the human readable text.
5401 \item
5402 The \textbf{checktype} option is used to specify the type of checksum,
5403 either:
5404
5405 \begin{itemize}
5406 \tightlist
5407 \item
5408 \texttt{checktype=mod10} (default)
5409 \item
5410 \texttt{checktype=mod1010}
5411 \item
5412 \texttt{checktype=mod11}
5413 \item
5414 \texttt{checktype=ncrmod11}
5415 \item
5416 \texttt{checktype=mod1110}
5417 \item
5418 \texttt{checktype=ncrmod1110}
5419 \end{itemize}
5420 \item
5421 The \textbf{badmod11} option allows a \texttt{checktype=mod11}
5422 checksum value of 10 to be encoded with a pair of check digits
5423 \emph{10}. Normally in \texttt{checktype=mod11}, any input whose
5424 checksum evaluates to \emph{10} is considered invalid having no
5425 correct representation.
5426 \end{itemize}
5427
5428 \hypertarget{examples-48}{%
5429 \paragraph{Examples}\label{examples-48}}
5430
5431 \begin{verbatim}
5432 Data: 0123456789
5433 Options: includecheck includetext
5434 Encoder: msi
5435 \end{verbatim}
5436
5437 \includegraphics{images/msi-1}
5438
5439 \begin{verbatim}
5440 Data: 0123456789
5441 Options: includecheck checktype=mod1110 includetext includecheckintext
5442 Encoder: msi
5443 \end{verbatim}
5444
5445 \includegraphics{images/msi-2}
5446
5447 \begin{verbatim}
5448 Data: 0123456785
5449 Options: includecheck checktype=mod11 badmod11 includetext includecheckintext
5450 Encoder: msi
5451 \end{verbatim}
5452
5453 \includegraphics{images/msi-3}
5454
5455 \hypertarget{plessey}{%
5456 \subsubsection{Plessey}\label{plessey}}
5457
5458 \textbf{Plessey} is a continuous, arbitrary length barcode symbology for
5459 encoding hexadecimal data.
5460
5461 Also known as: Anker Code.
5462
5463 Variants:
5464
5465 \begin{itemize}
5466 \tightlist
5467 \item
5468 \protect\hyperlink{msi-plessey}{MSI Modified Plessey} is a variant of
5469 the Plessey (UK) barcode developed by the MSI Data Corporation.
5470 \end{itemize}
5471
5472 \hypertarget{data-and-options-75}{%
5473 \paragraph{Data and Options}\label{data-and-options-75}}
5474
5475 \begin{itemize}
5476 \tightlist
5477 \item
5478 The data can contain any of the following:
5479
5480 \begin{itemize}
5481 \tightlist
5482 \item
5483 Numbers \texttt{0-9}
5484 \item
5485 Capital letters \texttt{A-F}
5486 \end{itemize}
5487 \item
5488 Two manditory check characters implementing a CRC check are
5489 automatically included.
5490 \item
5491 The \textbf{includecheckintext} option makes the calculated check
5492 characters appear in the human readable text.
5493 \item
5494 The \textbf{unidirectional} option generates a unidirectional Plessey
5495 symbol.
5496 \end{itemize}
5497
5498 \hypertarget{examples-49}{%
5499 \paragraph{Examples}\label{examples-49}}
5500
5501 Equivalent symbols, the latter displaying the two mandatory check
5502 characters:
5503
5504 \begin{verbatim}
5505 Data: 01234ABCD
5506 Options: includetext
5507 Encoder: plessey
5508 \end{verbatim}
5509
5510 \includegraphics{images/plessey-1}
5511
5512 \begin{verbatim}
5513 Data: 01234ABCD
5514 Options: includetext includecheckintext
5515 Encoder: plessey
5516 \end{verbatim}
5517
5518 \includegraphics{images/plessey-2}
5519
5520 A unidirectional symbol:
5521
5522 \begin{verbatim}
5523 Data: 01234ABCD
5524 Options: unidirectional
5525 Encoder: plessey
5526 \end{verbatim}
5527
5528 \includegraphics{images/plessey-3}
5529
5530 \hypertarget{posicode}{%
5531 \subsubsection{PosiCode}\label{posicode}}
5532
5533 \textbf{PosiCode} is a continuous, variable length, non-self-checking,
5534 bidirectional barcode symbology that is designed for use within printing
5535 processes where it is difficult to precisely control the width of a bar.
5536
5537 Standards: ITS PosiCode.
5538
5539 \hypertarget{data-and-options-76}{%
5540 \paragraph{Data and Options}\label{data-and-options-76}}
5541
5542 \begin{itemize}
5543 \tightlist
5544 \item
5545 The data field can hold the following:
5546
5547 \begin{itemize}
5548 \tightlist
5549 \item
5550 For \emph{standard} symbols: Any extended ASCII data. The default
5551 interpretation of data by readers is in accordance with ISO/IEC
5552 8859-1.
5553
5554 \begin{itemize}
5555 \tightlist
5556 \item
5557 \emph{FNC4} function characters will be inserted automatically to
5558 allow the encoding of extended ASCII characters.
5559 \end{itemize}
5560 \item
5561 For \emph{limited} symbols: letters \texttt{A-Z}, digits
5562 \texttt{0-9}, symbols \texttt{-} and \texttt{.}
5563 \end{itemize}
5564 \item
5565 The \textbf{version} option is used to specify the variant of the
5566 symbol, either:
5567
5568 \begin{itemize}
5569 \tightlist
5570 \item
5571 \texttt{version=a} (default)
5572 \item
5573 \texttt{version=b}
5574 \item
5575 \texttt{version=limiteda}
5576 \item
5577 \texttt{version=limitedb}
5578 \end{itemize}
5579 \item
5580 When the \textbf{parse} option is specified, any instances of
5581 \texttt{\^{}NNN} in the data field are replaced with their equivalent
5582 ASCII value, useful for specifying unprintable characters, e.g.
5583 \texttt{\^{}029} for \emph{GS}, etc.
5584 \item
5585 When the \textbf{parsefnc} option is specified, non-data function
5586 characters can be specified by escape sequences:
5587
5588 \begin{itemize}
5589 \tightlist
5590 \item
5591 \texttt{\^{}FNC1}: FNC1
5592 \item
5593 \texttt{\^{}FNC2}: FNC2
5594 \item
5595 \texttt{\^{}FNC3}: FNC3
5596 \end{itemize}
5597 \item
5598 The \textbf{inkspread} option can be used to adjust the width of the
5599 bars.
5600 \end{itemize}
5601
5602 \hypertarget{example-posicode}{%
5603 \paragraph{Example PosiCode}\label{example-posicode}}
5604
5605 Equivalent ways to generate a PosiCode A symbol:
5606
5607 \begin{verbatim}
5608 Data: Abc123
5609 Options:
5610 Encoder: posicode
5611 \end{verbatim}
5612
5613 \begin{verbatim}
5614 Data: Abc123
5615 Options: version=a
5616 Encoder: posicode
5617 \end{verbatim}
5618
5619 \includegraphics{images/posicode-1}
5620
5621 PosiCode A including a \emph{GS} (ASCII 29) character:
5622
5623 \begin{verbatim}
5624 Data: AB^029CD
5625 Options: parse
5626 Encoder: posicode
5627 \end{verbatim}
5628
5629 \includegraphics{images/posicode-2}
5630
5631 PosiCode A including an \emph{FNC2} special character:
5632
5633 \begin{verbatim}
5634 Data: AB^FNC2CD
5635 Options: parsefnc
5636 Encoder: posicode
5637 \end{verbatim}
5638
5639 \includegraphics{images/posicode-3}
5640
5641 PosiCode B symbol with widened bars:
5642
5643 \begin{verbatim}
5644 Data: Abc123
5645 Options: version=b inkspread=-1
5646 Encoder: posicode
5647 \end{verbatim}
5648
5649 \includegraphics{images/posicode-4}
5650
5651 \hypertarget{example-limited-posicode}{%
5652 \paragraph{Example Limited PosiCode}\label{example-limited-posicode}}
5653
5654 Limited PosiCode A with narrowed bars:
5655
5656 \begin{verbatim}
5657 Data: ABC-12.3
5658 Options: version=limiteda
5659 Encoder: posicode
5660 \end{verbatim}
5661
5662 \includegraphics{images/posicode-5}
5663
5664 Limited PosiCode B:
5665
5666 \begin{verbatim}
5667 Data: ABC-12.3
5668 Options: version=limitedb
5669 Encoder: posicode
5670 \end{verbatim}
5671
5672 \includegraphics{images/posicode-6}
5673
5674 \hypertarget{telepen}{%
5675 \subsubsection{Telepen}\label{telepen}}
5676
5677 \textbf{Telepen} is an arbitrary length barcode symbology for encoding
5678 all 128 ASCII characters without the need for shift characters.
5679
5680 Also known as: Telepen Alpha, Telepen Full ASCII.
5681
5682 Variants:
5683
5684 \begin{itemize}
5685 \tightlist
5686 \item
5687 \protect\hyperlink{telepen-numeric}{Telepen Numeric}.
5688 \end{itemize}
5689
5690 Standards: USS Telepen.
5691
5692 \hypertarget{data-and-options-77}{%
5693 \paragraph{Data and Options}\label{data-and-options-77}}
5694
5695 \begin{itemize}
5696 \tightlist
5697 \item
5698 The data can contain any standard ASCII data, values 0-127.
5699 \item
5700 When the \textbf{parse} option is specified, any instances of
5701 \texttt{\^{}NNN} in the data field are replaced with their equivalent
5702 ASCII value, useful for specifying unprintable characters.
5703 \item
5704 The mandatory check digit is automatically included.
5705 \item
5706 \emph{Deprecated: Use \protect\hyperlink{telepen-numeric}{Telepen
5707 Numeric} instead. When the \textbf{numeric} option is given, the data
5708 is read as either pairs of digits or \texttt{0X}, \texttt{1X}, etc.
5709 The singular values \texttt{\^{}000} to \texttt{\^{}016} can also be
5710 encoded using the \emph{parse} option.}
5711 \end{itemize}
5712
5713 \hypertarget{examples-50}{%
5714 \paragraph{Examples}\label{examples-50}}
5715
5716 \begin{verbatim}
5717 Data: Telepen
5718 Options: includetext
5719 Encoder: telepen
5720 \end{verbatim}
5721
5722 \includegraphics{images/telepen-1}
5723
5724 \begin{verbatim}
5725 Data: Telepen^013
5726 Options: parse
5727 Encoder: telepen
5728 \end{verbatim}
5729
5730 \includegraphics{images/telepen-2}
5731
5732 \hypertarget{telepen-numeric}{%
5733 \subsubsection{Telepen Numeric}\label{telepen-numeric}}
5734
5735 \textbf{Telepen Numeric} is a variant of the Telepen symbology for
5736 efficient encoding of numeric data.
5737
5738 Variants:
5739
5740 \begin{itemize}
5741 \tightlist
5742 \item
5743 \protect\hyperlink{telepen}{Telepen Alpha}.
5744 \end{itemize}
5745
5746 Standards: USS Telepen.
5747
5748 \hypertarget{data-and-options-78}{%
5749 \paragraph{Data and Options}\label{data-and-options-78}}
5750
5751 \begin{itemize}
5752 \tightlist
5753 \item
5754 The data is provided as either pairs of digits or \texttt{0X},
5755 \texttt{1X}, etc. The singular values \texttt{\^{}000} to
5756 \texttt{\^{}016} can also be encoded using the \emph{parse} option.
5757 \item
5758 When the \textbf{parse} option is specified, any instances of
5759 \texttt{\^{}NNN} in the data field are replaced with their equivalent
5760 ASCII value, useful for specifying unprintable characters.
5761 \item
5762 The mandatory check digit is automatically included.
5763 \end{itemize}
5764
5765 \hypertarget{examples-51}{%
5766 \paragraph{Examples}\label{examples-51}}
5767
5768 \begin{verbatim}
5769 Data: 123456
5770 Options:
5771 Encoder: telepennumeric
5772 \end{verbatim}
5773
5774 \includegraphics{images/telepen-3}
5775
5776 \begin{verbatim}
5777 Data: 1X345X
5778 Options:
5779 Encoder: telepennumeric
5780 \end{verbatim}
5781
5782 \includegraphics{images/telepen-4}
5783
5784 \begin{verbatim}
5785 Data: 1234^005
5786 Options: parse includetext
5787 Encoder: telepennumeric
5788 \end{verbatim}
5789
5790 \includegraphics{images/telepen-5}
5791
5792 \hypertarget{gs1-composite-symbols}{%
5793 \subsection{GS1 Composite Symbols}\label{gs1-composite-symbols}}
5794
5795 \textbf{GS1 Composite} barcode symbologies consist of a primary
5796 component beneath a 2D component (variations of
5797 \protect\hyperlink{micropdf417}{MicroPDF417} and
5798 \protect\hyperlink{pdf417}{PDF417}) used to encode supplementary
5799 \protect\hyperlink{gs1-application-identifier-standard-format}{GS1
5800 formatted data}.
5801
5802 Variants:
5803
5804 \begin{itemize}
5805 \tightlist
5806 \item
5807 \protect\hyperlink{ean-13-composite}{EAN-13 Composite} is a variant of
5808 \protect\hyperlink{ean-13}{EAN-13}.
5809 \item
5810 \protect\hyperlink{ean-8-composite}{EAN-8 Composite} is a variant of
5811 \protect\hyperlink{ean-8}{EAN-8}.
5812 \item
5813 \protect\hyperlink{upc-a-composite}{UPC-A Composite} is a variant of
5814 \protect\hyperlink{upc-a}{UPC-A}.
5815 \item
5816 \protect\hyperlink{upc-e-composite}{UPC-E Composite} is a variant of
5817 \protect\hyperlink{upc-e}{UPC-E}.
5818 \item
5819 \protect\hyperlink{gs1-databar-omnidirectional-composite}{GS1 DataBar
5820 Omnidirectional Composite} is a variant of
5821 \protect\hyperlink{gs1-databar-omnidirectional}{GS1 DataBar
5822 Omnidirectional}.
5823 \item
5824 \protect\hyperlink{gs1-databar-stacked-omnidirectional-composite}{GS1
5825 DataBar Stacked Omnidirectional Composite} is a variant of
5826 \protect\hyperlink{gs1-databar-stacked-omnidirectional}{GS1 DataBar
5827 Stacked Omnidirectional}.
5828 \item
5829 \protect\hyperlink{gs1-databar-expanded-composite}{GS1 DataBar
5830 Expanded Composite} is a variant of
5831 \protect\hyperlink{gs1-databar-expanded}{GS1 DataBar Expanded}.
5832 \item
5833 \protect\hyperlink{gs1-databar-expanded-stacked-composite}{GS1 DataBar
5834 Expanded Stacked Composite} is a variant of
5835 \protect\hyperlink{gs1-databar-expanded-stacked}{GS1 DataBar Expanded
5836 Stacked}.
5837 \item
5838 \protect\hyperlink{gs1-databar-truncated-composite}{GS1 DataBar
5839 Truncated Composite} is a variant of
5840 \protect\hyperlink{gs1-databar-truncated}{GS1 DataBar Truncated}.
5841 \item
5842 \protect\hyperlink{gs1-databar-stacked-composite}{GS1 DataBar Stacked
5843 Composite} is a variant of \protect\hyperlink{gs1-databar-stacked}{GS1
5844 DataBar Stacked}.
5845 \item
5846 \protect\hyperlink{gs1-databar-limited-composite}{GS1 DataBar Limited
5847 Composite} is a variant of \protect\hyperlink{gs1-databar-limited}{GS1
5848 DataBar Limited}.
5849 \item
5850 \protect\hyperlink{gs1-128-composite}{GS1-128 Composite} is a variant
5851 of \protect\hyperlink{gs1-128}{GS1-128}.
5852 \end{itemize}
5853
5854 Standards: ISO/IEC 24723, ITS EAN.UCC Composite Symbology, AIM ISS -
5855 EAN.UCC Composite Symbology, GS1 General Specifications.
5856
5857 \hypertarget{data-and-options-79}{%
5858 \paragraph{Data and Options}\label{data-and-options-79}}
5859
5860 \begin{itemize}
5861 \tightlist
5862 \item
5863 The data field consists of a primary and secondary component separated
5864 by a pipe \texttt{\textbar{}} character.
5865 \item
5866 The data for the primary component (preceding the pipe) is entered in
5867 a format identical to the corresponding non-composite barcode
5868 symbology.
5869 \item
5870 The data for the 2D component (following the pipe) is entered in
5871 \protect\hyperlink{gs1-application-identifier-standard-format}{GS1
5872 Application Identifier standard format}.
5873 \item
5874 Note that it is not necessary to specify \emph{FNC1} characters since
5875 the encoder will insert these automatically where necessary.
5876 \item
5877 \emph{Deprecated.} The \textbf{dontlint} option disables GS1
5878 Application Identifier syntax validation allowing images to be
5879 generated for input that does not comply with GS1 standards.
5880 \item
5881 For maximum efficiency, if the data for the 2D component contains a
5882 number of application identifiers matching any of the specifications
5883 below then they should be provided in this given order:
5884
5885 \begin{itemize}
5886 \tightlist
5887 \item
5888 \texttt{(11)...(10)...}
5889 \item
5890 \texttt{(17)...(10)...}
5891 \item
5892 \texttt{(90)\{0-3\ digits\ not\ starting\ 0\}\{upper\ alpha\}...}
5893 \end{itemize}
5894 \item
5895 \emph{Deprecated: Default is best unless your application dictates
5896 otherwise.} The \textbf{ccversion} option is used to select a specific
5897 2D component:
5898
5899 \begin{itemize}
5900 \tightlist
5901 \item
5902 \texttt{ccversion=a} - \protect\hyperlink{cc-a}{CC-A}
5903 \item
5904 \texttt{ccversion=b} - \protect\hyperlink{cc-b}{CC-B}
5905 \item
5906 \texttt{ccversion=c} - \protect\hyperlink{cc-c}{CC-C}
5907 (\protect\hyperlink{gs1-128-composite}{GS1-128 Composite} only)
5908 \item
5909 If \textbf{ccversion} is not specified a CC-A component will be
5910 selected if the data will fit, otherwise a CC-B component will be
5911 used. In the case of \protect\hyperlink{gs1-128-composite}{GS1-128
5912 Composite} a CC-C component will be used if the data does not fit
5913 within either a CC-A or CC-B component.
5914 \end{itemize}
5915 \end{itemize}
5916
5917 \hypertarget{ean-13-composite}{%
5918 \subsubsection{EAN-13 Composite}\label{ean-13-composite}}
5919
5920 \begin{verbatim}
5921 Data: 331234567890|(99)1234-abcd
5922 Options: includetext guardwhitespace
5923 Encoder: ean13composite
5924 \end{verbatim}
5925
5926 \includegraphics{images/ean13composite-1}
5927
5928 \hypertarget{ean-8-composite}{%
5929 \subsubsection{EAN-8 Composite}\label{ean-8-composite}}
5930
5931 \begin{verbatim}
5932 Data: 12345670|(21)A12345678
5933 Options: includetext guardwhitespace
5934 Encoder: ean8composite
5935 \end{verbatim}
5936
5937 \includegraphics{images/ean8composite-1}
5938
5939 \hypertarget{upc-a-composite}{%
5940 \subsubsection{UPC-A Composite}\label{upc-a-composite}}
5941
5942 \begin{verbatim}
5943 Data: 01600033610|(99)1234-abcd
5944 Options: includetext
5945 Encoder: upcacomposite
5946 \end{verbatim}
5947
5948 \includegraphics{images/upcacomposite-1}
5949
5950 \hypertarget{upc-e-composite}{%
5951 \subsubsection{UPC-E Composite}\label{upc-e-composite}}
5952
5953 \begin{verbatim}
5954 Data: 0121230|(15)021231
5955 Options: includetext
5956 Encoder: upcecomposite
5957 \end{verbatim}
5958
5959 \includegraphics{images/upcecomposite-1}
5960
5961 \hypertarget{gs1-databar-omnidirectional-composite}{%
5962 \subsubsection{GS1 DataBar Omnidirectional
5963 Composite}\label{gs1-databar-omnidirectional-composite}}
5964
5965 \begin{verbatim}
5966 Data: (01)03612345678904|(11)990102
5967 Options:
5968 Encoder: databaromnicomposite
5969 \end{verbatim}
5970
5971 \includegraphics{images/databaromnicomposite-1}
5972
5973 \hypertarget{gs1-databar-stacked-omnidirectional-composite}{%
5974 \subsubsection{GS1 DataBar Stacked Omnidirectional
5975 Composite}\label{gs1-databar-stacked-omnidirectional-composite}}
5976
5977 \begin{verbatim}
5978 Data: (01)03612345678904|(11)990102
5979 Options:
5980 Encoder: databarstackedomnicomposite
5981 \end{verbatim}
5982
5983 \includegraphics{images/databarstackedomnicomposite-1}
5984
5985 \hypertarget{gs1-databar-expanded-composite}{%
5986 \subsubsection{GS1 DataBar Expanded
5987 Composite}\label{gs1-databar-expanded-composite}}
5988
5989 \begin{verbatim}
5990 Data: (01)93712345678904(3103)001234|(91)1A2B3C4D5E
5991 Options:
5992 Encoder: databarexpandedcomposite
5993 \end{verbatim}
5994
5995 \includegraphics{images/databarexpandedcomposite-1}
5996
5997 \hypertarget{gs1-databar-expanded-stacked-composite}{%
5998 \subsubsection{GS1 DataBar Expanded Stacked
5999 Composite}\label{gs1-databar-expanded-stacked-composite}}
6000
6001 \begin{verbatim}
6002 Data: (01)00012345678905(10)ABCDEF|(21)12345678
6003 Options: segments=4
6004 Encoder: databarexpandedstackedcomposite
6005 \end{verbatim}
6006
6007 \includegraphics{images/databarexpandedstackedcomposite-1}
6008
6009 \hypertarget{gs1-databar-truncated-composite}{%
6010 \subsubsection{GS1 DataBar Truncated
6011 Composite}\label{gs1-databar-truncated-composite}}
6012
6013 \begin{verbatim}
6014 Data: (01)03612345678904|(11)990102
6015 Options:
6016 Encoder: databartruncatedcomposite
6017 \end{verbatim}
6018
6019 \includegraphics{images/databartruncatedcomposite-1}
6020
6021 \hypertarget{gs1-databar-stacked-composite}{%
6022 \subsubsection{GS1 DataBar Stacked
6023 Composite}\label{gs1-databar-stacked-composite}}
6024
6025 \begin{verbatim}
6026 Data: (01)03412345678900|(17)010200
6027 Options:
6028 Encoder: databarstackedcomposite
6029 \end{verbatim}
6030
6031 \includegraphics{images/databarstackedcomposite-1}
6032
6033 \hypertarget{gs1-databar-limited-composite}{%
6034 \subsubsection{GS1 DataBar Limited
6035 Composite}\label{gs1-databar-limited-composite}}
6036
6037 \begin{verbatim}
6038 Data: (01)03512345678907|(21)abcdefghijklmnopqrstuv
6039 Options:
6040 Encoder: databarlimitedcomposite
6041 \end{verbatim}
6042
6043 \includegraphics{images/databarlimitedcomposite-1}
6044
6045 \hypertarget{gs1-128-composite}{%
6046 \subsubsection{GS1-128 Composite}\label{gs1-128-composite}}
6047
6048 GS1-128 Composite with a CC-A 2D component:
6049
6050 \begin{verbatim}
6051 Data: (01)03212345678906|(21)A1B2C3D4E5F6G7H8
6052 Options:
6053 Encoder: gs1-128composite
6054 \end{verbatim}
6055
6056 \includegraphics{images/ean128composite-1}
6057
6058 GS1-128 Composite with a CC-C 2D component:
6059
6060 \begin{verbatim}
6061 Data: (00)030123456789012340|(02)13012345678909(37)24(10)1234567ABCDEFG
6062 Options: ccversion=c
6063 Encoder: gs1-128composite
6064 \end{verbatim}
6065
6066 \includegraphics{images/ean128composite-2}
6067
6068 \hypertarget{cc-a}{%
6069 \subsubsection{CC-A}\label{cc-a}}
6070
6071 Isolated CC-A 2D component:
6072
6073 \begin{verbatim}
6074 Data: (01)95012345678903
6075 Options: ccversion=a cccolumns=3
6076 Encoder: gs1-cc
6077 \end{verbatim}
6078
6079 \includegraphics{images/gs1composite-1}
6080
6081 \hypertarget{cc-b}{%
6082 \subsubsection{CC-B}\label{cc-b}}
6083
6084 Isolated CC-B 2D component:
6085
6086 \begin{verbatim}
6087 Data: (01)95012345678903(3103)000123
6088 Options: ccversion=b cccolumns=4
6089 Encoder: gs1-cc
6090 \end{verbatim}
6091
6092 \includegraphics{images/gs1composite-2}
6093
6094 \hypertarget{cc-c}{%
6095 \subsubsection{CC-C}\label{cc-c}}
6096
6097 Isolated CC-C 2D component:
6098
6099 \begin{verbatim}
6100 Data: (02)13012345678909(37)24(10)1234567ABCDEFG
6101 Options: ccversion=c cccolumns=5
6102 Encoder: gs1-cc
6103 \end{verbatim}
6104
6105 \includegraphics{images/gs1composite-3}
6106
6107 \hypertarget{raw-symbols}{%
6108 \subsection{Raw Symbols}\label{raw-symbols}}
6109
6110 \hypertarget{daft}{%
6111 \subsubsection{DAFT}\label{daft}}
6112
6113 \textbf{DAFT} is an encoder for directly specifying the descender,
6114 ascender, full-height, tracker-bar succession for a custom 4 state
6115 barcode symbol.
6116
6117 \hypertarget{data-and-options-80}{%
6118 \paragraph{Data and Options}\label{data-and-options-80}}
6119
6120 \begin{itemize}
6121 \tightlist
6122 \item
6123 The data field contains a sequence of the characters \texttt{D},
6124 \texttt{A}, \texttt{F} or \texttt{T} to denote the descender,
6125 ascender, full-height and tracker bars of a custom 4 state symbol.
6126 \end{itemize}
6127
6128 \hypertarget{example-20}{%
6129 \paragraph{Example}\label{example-20}}
6130
6131 \begin{verbatim}
6132 Data: FATDAFTDAD
6133 Options:
6134 Encoder: daft
6135 \end{verbatim}
6136
6137 \includegraphics{images/daft-1}
6138
6139 \hypertarget{flattermarken}{%
6140 \subsubsection{Flattermarken}\label{flattermarken}}
6141
6142 \textbf{Flattermarken} are identification marks used in book production
6143 that facilitate the proper arrangement of bound sections by a book
6144 binder.
6145
6146 \hypertarget{data-and-options-81}{%
6147 \paragraph{Data and Options}\label{data-and-options-81}}
6148
6149 \begin{itemize}
6150 \tightlist
6151 \item
6152 The data field can holding any sequence of digits corresponds to a 9
6153 module width with the following meaning:
6154
6155 \begin{itemize}
6156 \tightlist
6157 \item
6158 \texttt{1-9}: a single mark exists in the corresponding module
6159 position
6160 \item
6161 \texttt{0}: unmarked sequence of modules
6162 \end{itemize}
6163 \item
6164 The \textbf{inkspread} option can be used to adjust the width of the
6165 bars.
6166 \item
6167 If greater fidelity is required then the \protect\hyperlink{raw}{raw}
6168 encoder should be used instead.
6169 \end{itemize}
6170
6171 \hypertarget{example-21}{%
6172 \paragraph{Example}\label{example-21}}
6173
6174 \begin{verbatim}
6175 Data: 1304
6176 Options: inkspread=-1
6177 Encoder: flattermarken
6178 \end{verbatim}
6179
6180 \includegraphics{images/flattermarken-1}
6181
6182 \hypertarget{raw}{%
6183 \subsubsection{Raw}\label{raw}}
6184
6185 The \textbf{raw} encoder is used for directly specifying the space/bar
6186 succession of a custom barcode symbol.
6187
6188 \hypertarget{data-and-options-82}{%
6189 \paragraph{Data and Options}\label{data-and-options-82}}
6190
6191 \begin{itemize}
6192 \tightlist
6193 \item
6194 The data field contains an alternating sequence of widths (1 to 9) for
6195 the bars and spaces of a custom symbol.
6196 \end{itemize}
6197
6198 \hypertarget{example-22}{%
6199 \paragraph{Example}\label{example-22}}
6200
6201 \begin{verbatim}
6202 Data: 331132131313411122131311333213114131131221323
6203 Options: height=0.5
6204 Encoder: raw
6205 \end{verbatim}
6206
6207 \includegraphics{images/raw-1}
6208
6209 \hypertarget{partial-symbols}{%
6210 \subsection{Partial Symbols}\label{partial-symbols}}
6211
6212 \hypertarget{ean-2}{%
6213 \subsubsection{EAN-2}\label{ean-2}}
6214
6215 \textbf{EAN-2} is the two-digit add-on code that accompanies a EAN or
6216 UPC type barcode symbol such as an \protect\hyperlink{isbn}{ISBN} or
6217 \protect\hyperlink{issn}{ISSN}.
6218
6219 Also known as: Two-Digit Add-On, Two-Digit Supplement, UPC-2
6220
6221 \hypertarget{data-and-options-83}{%
6222 \paragraph{Data and Options}\label{data-and-options-83}}
6223
6224 \begin{itemize}
6225 \tightlist
6226 \item
6227 The data field must contain two digits.
6228 \item
6229 The \textbf{includetext} option should normally be supplied.
6230 \end{itemize}
6231
6232 \hypertarget{example-23}{%
6233 \paragraph{Example}\label{example-23}}
6234
6235 \begin{verbatim}
6236 Data: 05
6237 Options: includetext guardwhitespace
6238 Encoder: ean2
6239 \end{verbatim}
6240
6241 \includegraphics{images/ean2-1}
6242
6243 \hypertarget{ean-5}{%
6244 \subsubsection{EAN-5}\label{ean-5}}
6245
6246 \textbf{EAN-5} is the five-digit add-on code that accompanies an EAN or
6247 UPC type barcode symbol such as an \protect\hyperlink{isbn}{ISBN} or
6248 \protect\hyperlink{issn}{ISSN}.
6249
6250 Also known as: Five-Digit Add-On, Five-Digit Supplement, UPC-5
6251
6252 \hypertarget{data-and-options-84}{%
6253 \paragraph{Data and Options}\label{data-and-options-84}}
6254
6255 \begin{itemize}
6256 \tightlist
6257 \item
6258 The data field must contain five digits.
6259 \item
6260 The \textbf{includetext} option should normally be supplied.
6261 \end{itemize}
6262
6263 \hypertarget{example-24}{%
6264 \paragraph{Example}\label{example-24}}
6265
6266 \begin{verbatim}
6267 Data: 90200
6268 Options: includetext guardwhitespace
6269 Encoder: ean5
6270 \end{verbatim}
6271
6272 \includegraphics{images/ean5-1}
6273
6274 \hypertarget{gs1-application-identifier-standard-format}{%
6275 \subsection{GS1 Application Identifier Standard
6276 Format}\label{gs1-application-identifier-standard-format}}
6277
6278 Certain barcode symbologies (including
6279 \protect\hyperlink{gs1-128}{GS1-128},
6280 \protect\hyperlink{gs1-databar-expanded}{GS1 DataBar Expanded},
6281 \protect\hyperlink{gs1-datamatrix}{GS1 DataMatrix},
6282 \protect\hyperlink{gs1-qr-code}{GS1 QR Code} and
6283 \protect\hyperlink{gs1-composite-symbols}{GS1 Composite Symbols})
6284 represent standardized GS1 data and require that their data field is
6285 provided in GS1 Application Identifier standard format, consisting of a
6286 concatenated string of \emph{AIs} along with their corresponding values.
6287
6288 The AIs are a set of approximately one hundred two-, three- or
6289 four-digit prefixes written within parentheses that represent physical
6290 attributes and business information, e.g.
6291
6292 \begin{itemize}
6293 \tightlist
6294 \item
6295 \emph{(00)} is an eighteen-digit SSCC.
6296 \item
6297 \emph{(01)} is a fourteen-digit GTIN.
6298 \item
6299 \emph{(403)} is a variable-length routing code.
6300 \end{itemize}
6301
6302 The following input represents GTIN \emph{0061414199996}; Expiration
6303 Date \emph{1 January 2010}; Batch \emph{123ABC}; Serial
6304 \emph{1234567890}:
6305
6306 \begin{verbatim}
6307 (01)0061414199996(17)100101(10)123ABC(21)1234567890
6308 \end{verbatim}
6309
6310 Encoders for barcode symbologies that expect data in GS1 Application
6311 Identifier standard format will take care of parsing the input and
6312 inserting any necessary \emph{FNC1} characters to delimit variable
6313 length fields.
6314
6315 Note: Instances of parentheses, \texttt{(} and \texttt{)}, within
6316 Application Identifier values in the input must be escaped using the
6317 \protect\hyperlink{input-processingux5cux23parse}{\texttt{parse} option}
6318 as \texttt{\^{}040} and \texttt{\^{}041}, respectively.
6319
6320 \hypertarget{gs1-application-identifier-linting}{%
6321 \paragraph{GS1 Application Identifier
6322 Linting}\label{gs1-application-identifier-linting}}
6323
6324 The input is checked against the structural rules for the GS1
6325 Application Identifiers, as described in
6326 \href{https://www.linkedin.com/pulse/gs1-application-identifier-syntax-dictionary-terry-burton/}{this
6327 article}, unless the \textbf{dontlint} option is given. The Application
6328 Identifier definitions are provided in the
6329 \href{http://www.gs1.org/barcodes-epcrfid-id-keys/gs1-general-specifications}{GS1
6330 General Specifications}.
6331
6332 \hypertarget{options-reference}{%
6333 \section{Options Reference}\label{options-reference}}
6334
6335 \hypertarget{check-digits}{%
6336 \subsection{Check Digits}\label{check-digits}}
6337
6338 \hypertarget{includecheck}{%
6339 \subsubsection{includecheck}\label{includecheck}}
6340
6341 Generate check digit(s) for symbologies where the use of check digits is
6342 optional.
6343
6344 \hypertarget{example-25}{%
6345 \paragraph{Example}\label{example-25}}
6346
6347 Calculate the optional check characters of this Code 93 symbol:
6348
6349 \begin{verbatim}
6350 Data: CHECK ME OUT
6351 Options: includecheck
6352 Encoder: code93
6353 \end{verbatim}
6354
6355 \includegraphics{images/optincludecheck}
6356
6357 \hypertarget{includecheckintext}{%
6358 \subsubsection{includecheckintext}\label{includecheckintext}}
6359
6360 Show the calculated check digit in the human readable text.
6361
6362 \hypertarget{notes}{%
6363 \paragraph{Notes}\label{notes}}
6364
6365 \begin{itemize}
6366 \tightlist
6367 \item
6368 For barcode symbologies where the check digit is not mandatory, this
6369 option must be used in combination with \textbf{includecheck}.
6370 \item
6371 If any part of the checksum does not have a printable representation
6372 then that part is not displayed.
6373 \end{itemize}
6374
6375 \hypertarget{example-26}{%
6376 \paragraph{Example}\label{example-26}}
6377
6378 Display the check digit of this Royal Mail barcode:
6379
6380 \begin{verbatim}
6381 Data: LE28HS9Z
6382 Options: includetext includecheckintext
6383 Encoder: royalmail
6384 \end{verbatim}
6385
6386 \includegraphics{images/optincludecheckintext}
6387
6388 \hypertarget{input-processing}{%
6389 \subsection{Input Processing}\label{input-processing}}
6390
6391 \hypertarget{parse}{%
6392 \subsubsection{parse}\label{parse}}
6393
6394 In supporting barcode symbologies, when the \emph{parse} option is
6395 specified, any instances of \texttt{\^{}NNN} in the data field are
6396 replaced with their equivalent ASCII value, useful for specifying
6397 unprintable characters.
6398
6399 Additionally, control character names can be used to specify equivalent
6400 ASCII values, as follows:
6401
6402 \begin{longtable}[]{@{}lr@{}}
6403 \toprule()
6404 Sequence & ASCII value \\
6405 \midrule()
6406 \endhead
6407 \texttt{\^{}NUL} & 0 \\
6408 \texttt{\^{}SOH} & 1 \\
6409 \texttt{\^{}STX} & 2 \\
6410 \texttt{\^{}ETX} & 3 \\
6411 \texttt{\^{}EOT} & 4 \\
6412 \texttt{\^{}ENQ} & 5 \\
6413 \texttt{\^{}ACK} & 6 \\
6414 \texttt{\^{}BEL} & 7 \\
6415 \texttt{\^{}BS} & 8 \\
6416 \texttt{\^{}TAB} & 9 \\
6417 \texttt{\^{}LF} & 10 \\
6418 \texttt{\^{}VT} & 11 \\
6419 \texttt{\^{}FF} & 12 \\
6420 \texttt{\^{}CR} & 13 \\
6421 \texttt{\^{}DLE} & 16 \\
6422 \texttt{\^{}DC1} & 17 \\
6423 \texttt{\^{}DC2} & 18 \\
6424 \texttt{\^{}DC3} & 19 \\
6425 \texttt{\^{}DC4} & 20 \\
6426 \texttt{\^{}NAK} & 21 \\
6427 \texttt{\^{}SYN} & 22 \\
6428 \texttt{\^{}ETB} & 23 \\
6429 \texttt{\^{}CAN} & 24 \\
6430 \texttt{\^{}EM} & 25 \\
6431 \texttt{\^{}SUB} & 26 \\
6432 \texttt{\^{}ESC} & 27 \\
6433 \texttt{\^{}FS} & 28 \\
6434 \texttt{\^{}GS} & 29 \\
6435 \texttt{\^{}RS} & 30 \\
6436 \texttt{\^{}US} & 31 \\
6437 \bottomrule()
6438 \end{longtable}
6439
6440 ASCII control characters \texttt{SO} and \texttt{SI} cannot be encoded
6441 by name (since \texttt{SO} would prefix clash with \texttt{SOH}).
6442
6443 Note: When this option is enabled, literal instances of "\^{}" in the
6444 data should be escaped as \texttt{\^{}094} to avoid replacement if the
6445 subsequent data characters represent a valid substitution. For example,
6446 literal "\^{}123" in the input data can be escaped as
6447 \texttt{\^{}094123}, literal "\^{}RS" in the data can be escaped as
6448 \texttt{\^{}094RS}, and literal "\^{}ABC" in the data cam be escaped as
6449 \texttt{\^{}094ABC} (in case \texttt{\^{}ABC} becomes a valid
6450 substitution in the future).
6451
6452 \hypertarget{example-27}{%
6453 \paragraph{Example}\label{example-27}}
6454
6455 Equivalent symbols:
6456
6457 \begin{verbatim}
6458 Data: This is Data Matrix
6459 Options:
6460 Encoder: datamatrix
6461 \end{verbatim}
6462
6463 \begin{verbatim}
6464 Data: This is ^068ata Matrix
6465 Options: parse
6466 Encoder: datamatrix
6467 \end{verbatim}
6468
6469 \includegraphics{images/optparse}
6470
6471 \hypertarget{parsefnc}{%
6472 \subsubsection{parsefnc}\label{parsefnc}}
6473
6474 In supporting barcode symbologies, when the \textbf{parsefnc} option is
6475 specified, non-data function characters can be specified by escaped
6476 combinations such as \texttt{\^{}FNC1}, \texttt{\^{}FNC4},
6477 \texttt{\^{}SFT/} and \texttt{\^{}ECI000003}.
6478
6479 Note: When this option is enabled, literal instances of \texttt{\^{}} in
6480 the input data can be escaped as \texttt{\^{}\^{}}.
6481
6482 \hypertarget{example-28}{%
6483 \paragraph{Example}\label{example-28}}
6484
6485 Manually-composed Code 93 Extended demonstrating use of the special
6486 shift combination \texttt{(/)A} to represent \emph{!}:
6487
6488 \begin{verbatim}
6489 Data: TERRY^SFT/A
6490 Options: parsefnc includecheck
6491 Encoder: code93
6492 \end{verbatim}
6493
6494 \includegraphics{images/optparsefnc}
6495
6496 \hypertarget{symbol-dimensions}{%
6497 \subsection{Symbol Dimensions}\label{symbol-dimensions}}
6498
6499 \hypertarget{height}{%
6500 \subsubsection{height}\label{height}}
6501
6502 Height of longest bar, in inches.
6503
6504 \hypertarget{example-29}{%
6505 \paragraph{Example}\label{example-29}}
6506
6507 A 1/2 inch tall EAN-13:
6508
6509 \begin{verbatim}
6510 Data: 977147396801
6511 Options: includetext height=0.5
6512 Encoder: ean13
6513 \end{verbatim}
6514
6515 \includegraphics{images/optheight}
6516
6517 \hypertarget{width}{%
6518 \subsubsection{width}\label{width}}
6519
6520 Stretch the symbol to precisely this width, in inches.
6521
6522 \hypertarget{notes-1}{%
6523 \paragraph{Notes}\label{notes-1}}
6524
6525 \begin{itemize}
6526 \tightlist
6527 \item
6528 This parameter literally stretches the symbol and text to the desired
6529 width which will may distort the human readable text.
6530 \item
6531 For information about resizing symbols read the article on
6532 \protect\hyperlink{resizing-symbols}{resizing symbols}.
6533 \end{itemize}
6534
6535 \hypertarget{example-30}{%
6536 \paragraph{Example}\label{example-30}}
6537
6538 A 2 inch wide Code 93 symbol:
6539
6540 \begin{verbatim}
6541 Data: TERRY
6542 Options: width=2
6543 Encoder: code93
6544 \end{verbatim}
6545
6546 \includegraphics{images/optwidth}
6547
6548 \hypertarget{element-properties}{%
6549 \subsection{Element Properties}\label{element-properties}}
6550
6551 These are options that allow you to compensate for print gain or print
6552 loss resulting from the properties of the printing process or substrate.
6553
6554 \hypertarget{inkspread}{%
6555 \subsubsection{inkspread}\label{inkspread}}
6556
6557 For linear barcodes, the amount by which to reduce the bar widths to
6558 compensate for inkspread, in points.
6559
6560 For matrix barcodes, the amount by which the reduce the width and height
6561 of dark modules to compensate for inkspread, in points.
6562
6563 \hypertarget{notes-2}{%
6564 \paragraph{Notes}\label{notes-2}}
6565
6566 \begin{itemize}
6567 \tightlist
6568 \item
6569 Negative values will increase the bar width.
6570 \end{itemize}
6571
6572 \hypertarget{example-31}{%
6573 \paragraph{Example}\label{example-31}}
6574
6575 Code 39 for a printer with very runny ink:
6576
6577 \begin{verbatim}
6578 Data: TEZ
6579 Options: inkspread=0.6
6580 Encoder: code39
6581 \end{verbatim}
6582
6583 \includegraphics{images/optinkspread}
6584
6585 \hypertarget{inkspreadh}{%
6586 \subsubsection{inkspreadh}\label{inkspreadh}}
6587
6588 For matrix barcodes, the amount by which the reduce the width of dark
6589 modules to compensate for inkspread, in points.
6590
6591 Note: inkspreadh is most useful for stacked-linear type barcodes such as
6592 PDF417 and Codablock F.
6593
6594 \hypertarget{inkspreadv}{%
6595 \subsubsection{inkspreadv}\label{inkspreadv}}
6596
6597 For matrix barcodes, the amount by which the reduce the height of dark
6598 modules to compensate for inkspread, in points.
6599
6600 \hypertarget{dotty}{%
6601 \subsubsection{dotty}\label{dotty}}
6602
6603 For matrix barcodes, render the modules as dots rather than squares. The
6604 dot radius can be adjusted using the \textbf{inkspread} option.
6605
6606 \hypertarget{text-properties}{%
6607 \subsection{Text Properties}\label{text-properties}}
6608
6609 \hypertarget{includetext}{%
6610 \subsubsection{includetext}\label{includetext}}
6611
6612 Show human readable text for data in symbol.
6613
6614 \hypertarget{notes-3}{%
6615 \paragraph{Notes}\label{notes-3}}
6616
6617 \begin{itemize}
6618 \tightlist
6619 \item
6620 If a character in the data does not have a printable representation
6621 then it is not displayed
6622 \end{itemize}
6623
6624 \hypertarget{example-32}{%
6625 \paragraph{Example}\label{example-32}}
6626
6627 Display the text encoded in this Code 39 symbol:
6628
6629 \begin{verbatim}
6630 Data: SEE ME
6631 Options: includetext
6632 Encoder: code39
6633 \end{verbatim}
6634
6635 \includegraphics{images/optincludetext}
6636
6637 \hypertarget{textfont}{%
6638 \subsubsection{textfont}\label{textfont}}
6639
6640 The PostScript font name for text.
6641
6642 \hypertarget{notes-4}{%
6643 \paragraph{Notes}\label{notes-4}}
6644
6645 \begin{itemize}
6646 \tightlist
6647 \item
6648 The font name must be the literal name of a PostScript font that is
6649 available to the system.
6650 \item
6651 This option should be used in combination with the
6652 \textbf{includetext} option.
6653 \item
6654 The PostScript font name for a font file can be determined with the
6655 following command from the fontconfig library:
6656
6657 \begin{itemize}
6658 \tightlist
6659 \item
6660 \texttt{fc-scan\ -\/-format\ "\%\{postscriptname\}\textbackslash{}n"\ /usr/share/fonts/truetype/somefont.ttf}
6661 \end{itemize}
6662 \end{itemize}
6663
6664 \hypertarget{example-33}{%
6665 \paragraph{Example}\label{example-33}}
6666
6667 Customise the human readable text of this USPS POSTNET symbol
6668
6669 \begin{verbatim}
6670 Data: 64501
6671 Options: includetext textfont=Times-Roman textsize=9
6672 Encoder: postnet
6673 \end{verbatim}
6674
6675 \includegraphics{images/opttextfont}
6676
6677 \hypertarget{textsize}{%
6678 \subsubsection{textsize}\label{textsize}}
6679
6680 The font size of the text in points.
6681
6682 \hypertarget{note}{%
6683 \paragraph{Note}\label{note}}
6684
6685 \begin{itemize}
6686 \tightlist
6687 \item
6688 This option should be used in combination with the
6689 \textbf{includetext} option.
6690 \end{itemize}
6691
6692 \hypertarget{example-34}{%
6693 \paragraph{Example}\label{example-34}}
6694
6695 Customise the human readable text of this USPS POSTNET symbol
6696
6697 \begin{verbatim}
6698 Data: 64501
6699 Options: includetext textfont=Times-Roman textsize=9
6700 Encoder: postnet
6701 \end{verbatim}
6702
6703 \includegraphics{images/opttextfont}
6704
6705 \hypertarget{textgaps}{%
6706 \subsubsection{textgaps}\label{textgaps}}
6707
6708 The inter-character spacing of the text.
6709
6710 \hypertarget{note-1}{%
6711 \paragraph{Note}\label{note-1}}
6712
6713 \begin{itemize}
6714 \tightlist
6715 \item
6716 This option should be used in combination with the \textbf{textxalign}
6717 option.
6718 \end{itemize}
6719
6720 \hypertarget{alttext}{%
6721 \subsubsection{alttext}\label{alttext}}
6722
6723 Specify text to display other than what is provided in the data field.
6724
6725 \hypertarget{note-2}{%
6726 \paragraph{Note}\label{note-2}}
6727
6728 \begin{itemize}
6729 \tightlist
6730 \item
6731 This option should be used in combination with the includetext option.
6732 \end{itemize}
6733
6734 \hypertarget{text-positioning}{%
6735 \subsection{Text Positioning}\label{text-positioning}}
6736
6737 \hypertarget{textxalign}{%
6738 \subsubsection{textxalign}\label{textxalign}}
6739
6740 The \textbf{textxalign} option is used to specify where to horizontally
6741 position the text.
6742
6743 \begin{itemize}
6744 \tightlist
6745 \item
6746 \texttt{textxalign=offleft}
6747 \item
6748 \texttt{textxalign=left}
6749 \item
6750 \texttt{textxalign=center}
6751 \item
6752 \texttt{textxalign=right}
6753 \item
6754 \texttt{textxalign=offright}
6755 \item
6756 \texttt{textxalign=justify}
6757 \end{itemize}
6758
6759 \hypertarget{textyalign}{%
6760 \subsubsection{textyalign}\label{textyalign}}
6761
6762 The \textbf{textyalign} option is used to specify where to vertically
6763 position the text.
6764
6765 \begin{itemize}
6766 \tightlist
6767 \item
6768 \texttt{textyalign=below}
6769 \item
6770 \texttt{textyalign=center}
6771 \item
6772 \texttt{textyalign=above}
6773 \end{itemize}
6774
6775 \hypertarget{textxoffset}{%
6776 \subsubsection{textxoffset}\label{textxoffset}}
6777
6778 The horizontal position of the text in points relative to the default
6779 position.
6780
6781 \hypertarget{textyoffset}{%
6782 \subsubsection{textyoffset}\label{textyoffset}}
6783
6784 The vertical position of the text in points relative to the default
6785 position.
6786
6787 \hypertarget{notes-5}{%
6788 \paragraph{Notes}\label{notes-5}}
6789
6790 \begin{itemize}
6791 \tightlist
6792 \item
6793 By default (in the absence of \textbf{textxalign} or
6794 \textbf{textyalign}), each character of text is placed immediately
6795 below the corresponding modules where this is possible.
6796 \item
6797 Where there isn\textquotesingle t such a direct relationship then the
6798 default is to position the text centrally beneath the symbol.
6799 \end{itemize}
6800
6801 \hypertarget{border-properties}{%
6802 \subsection{Border Properties}\label{border-properties}}
6803
6804 \hypertarget{showborder}{%
6805 \subsubsection{showborder}\label{showborder}}
6806
6807 Display a border around the symbol.
6808
6809 \hypertarget{example-35}{%
6810 \paragraph{Example}\label{example-35}}
6811
6812 Display a customised border around this Codabar symbol:
6813
6814 \begin{verbatim}
6815 Data: A3+14-63B
6816 Options: includetext showborder borderwidth=2 borderbottom=8
6817 Encoder: rationalizedCodabar
6818 \end{verbatim}
6819
6820 \includegraphics{images/optborder}
6821
6822 \hypertarget{borderwidth}{%
6823 \subsubsection{borderwidth}\label{borderwidth}}
6824
6825 Width of the border, in points.
6826
6827 \hypertarget{borderleft}{%
6828 \subsubsection{borderleft}\label{borderleft}}
6829
6830 Gap between the left edge of the border and the symbol, in points.
6831
6832 \hypertarget{borderright}{%
6833 \subsubsection{borderright}\label{borderright}}
6834
6835 Gap between the right edge of the border and the symbol, in points.
6836
6837 \hypertarget{bordertop}{%
6838 \subsubsection{bordertop}\label{bordertop}}
6839
6840 Gap between the top edge of the border and the symbol, in points.
6841
6842 \hypertarget{borderbottom}{%
6843 \subsubsection{borderbottom}\label{borderbottom}}
6844
6845 Gap between the bottom edge of the border and the symbol, in points.
6846
6847 \hypertarget{symbol-colors}{%
6848 \subsection{Symbol Colors}\label{symbol-colors}}
6849
6850 \hypertarget{barcolor}{%
6851 \subsubsection{barcolor}\label{barcolor}}
6852
6853 Color of the bars or dark modules, either as a hex \texttt{RRGGBB} value
6854 or a hex \texttt{CCMMYYKK} value.
6855
6856 \hypertarget{backgroundcolor}{%
6857 \subsubsection{backgroundcolor}\label{backgroundcolor}}
6858
6859 Color of the light background or light modules, either as a hex
6860 \texttt{RRGGBB} value or a hex \texttt{CCMMYYKK} value.
6861
6862 \hypertarget{bordercolor}{%
6863 \subsubsection{bordercolor}\label{bordercolor}}
6864
6865 Color of the border, either as a hex \texttt{RRGGBB} value or a hex
6866 \texttt{CCMMYYKK} value.
6867
6868 \hypertarget{textcolor}{%
6869 \subsubsection{textcolor}\label{textcolor}}
6870
6871 Color of the respective component, either as a hex \texttt{RRGGBB} value
6872 or a hex \texttt{CCMMYYKK} value.
6873
6874 \hypertarget{examples-52}{%
6875 \paragraph{Examples}\label{examples-52}}
6876
6877 Colorized Code 11 symbol using the RGB colour space:
6878
6879 \begin{verbatim}
6880 Data: 0123456789
6881 Options: includetext barcolor=AA0000 textcolor=008888 backgroundcolor=FFFF60 showborder bordercolor=0000FF textyoffset=-8
6882 Encoder: code11
6883 \end{verbatim}
6884
6885 \includegraphics{images/optcolorrgb}
6886
6887 Colorized Code 11 symbol using the CMYK colour space:
6888
6889 \begin{verbatim}
6890 Data: 0123456789
6891 Options: includetext barcolor=AA000000 textcolor=00888844 backgroundcolor=CCCC6000 showborder bordercolor=00FF0088
6892 Encoder: code11
6893 \end{verbatim}
6894
6895 \includegraphics{images/optcolorcmyk}
6896
6897 \hypertarget{ean-upc-add-ons}{%
6898 \subsection{EAN-UPC Add Ons}\label{ean-upc-add-ons}}
6899
6900 \hypertarget{addontextfont}{%
6901 \subsubsection{addontextfont}\label{addontextfont}}
6902
6903 The font name of the add on text.
6904
6905 \hypertarget{notes-6}{%
6906 \paragraph{Notes}\label{notes-6}}
6907
6908 \begin{itemize}
6909 \tightlist
6910 \item
6911 The font name must be the literal name of a PostScript available font.
6912 \item
6913 These options must be used in combination with the
6914 \textbf{includetext} option.
6915 \end{itemize}
6916
6917 \hypertarget{addontextsize}{%
6918 \subsubsection{addontextsize}\label{addontextsize}}
6919
6920 The size of the add on text, in points
6921
6922 \hypertarget{notes-7}{%
6923 \paragraph{Notes}\label{notes-7}}
6924
6925 \begin{itemize}
6926 \tightlist
6927 \item
6928 These options must be used in combination with the
6929 \textbf{includetext} option.
6930 \end{itemize}
6931
6932 \hypertarget{example-36}{%
6933 \paragraph{Example}\label{example-36}}
6934
6935 Customise the human readable text of this USPS POSTNET symbol
6936
6937 \begin{verbatim}
6938 Data: 64501
6939 Options: includetext textfont=Times-Roman textsize=9
6940 Encoder: postnet
6941 \end{verbatim}
6942
6943 \includegraphics{images/opttextfont}
6944
6945 \hypertarget{addontextxoffset}{%
6946 \subsubsection{addontextxoffset}\label{addontextxoffset}}
6947
6948 Overrides the default horizontal positioning of the add on text.
6949
6950 \hypertarget{addontextyoffset}{%
6951 \subsubsection{addontextyoffset}\label{addontextyoffset}}
6952
6953 Overrides the default vertical positioning of the add on text.
6954
6955 \hypertarget{ean-upc-guards}{%
6956 \subsection{EAN-UPC Guards}\label{ean-upc-guards}}
6957
6958 \hypertarget{guardwhitespace}{%
6959 \subsubsection{guardwhitespace}\label{guardwhitespace}}
6960
6961 Display whitespace guards.
6962
6963 \hypertarget{example-37}{%
6964 \paragraph{Example}\label{example-37}}
6965
6966 ISBN-13 with tiny whitespace guard:
6967
6968 \begin{verbatim}
6969 Data: 978-1-873671-00
6970 Options: includetext guardwhitespace guardwidth=3 guardheight=3
6971 Encoder: isbn
6972 \end{verbatim}
6973
6974 \includegraphics{images/optguardsize}
6975
6976 \hypertarget{guardwidth}{%
6977 \subsubsection{guardwidth}\label{guardwidth}}
6978
6979 Width of the whitespace guards, in points.
6980
6981 \hypertarget{guardheight}{%
6982 \subsubsection{guardheight}\label{guardheight}}
6983
6984 Height of the whitespace guards, in points.
6985
6986 \hypertarget{guardleftpos}{%
6987 \subsubsection{guardleftpos}\label{guardleftpos}}
6988
6989 Override the default horizontal position of the left whitespace guard.
6990
6991 \hypertarget{guardrightpos}{%
6992 \subsubsection{guardrightpos}\label{guardrightpos}}
6993
6994 Override the default horizontal position of the right whitespace guard.
6995
6996 \hypertarget{guardleftypos}{%
6997 \subsubsection{guardleftypos}\label{guardleftypos}}
6998
6999 Override the default vertical position of the left whitespace guard.
7000
7001 \hypertarget{guardrightypos}{%
7002 \subsubsection{guardrightypos}\label{guardrightypos}}
7003
7004 Override the default vertical position of the right whitespace guard.
7005
7006 \hypertarget{example-38}{%
7007 \paragraph{Example}\label{example-38}}
7008
7009 EAN-8 with very mangled whitespace guards:
7010
7011 \begin{verbatim}
7012 Data: 01335583
7013 Options: includetext guardwhitespace guardleftpos=14 guardrightpos=7 guardleftypos=15 guardrightypos=4
7014 Encoder: ean8
7015 \end{verbatim}
7016
7017 \includegraphics{images/optguardpos}