summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-barcode
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-03-14 23:44:19 +0000
committerKarl Berry <karl@freefriends.org>2011-03-14 23:44:19 +0000
commit7a3496f52bec1e6180c3cb18503b4038b2d89735 (patch)
tree77d6cc9f47236ee918ae4b5277b001243a142dd4 /Master/texmf-dist/doc/generic/pst-barcode
parent127726cef51fe64e7f322bb2a04e787d77c19262 (diff)
pst-barcode 0.08 (12mar11)
git-svn-id: svn://tug.org/texlive/trunk@21716 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-barcode')
-rw-r--r--Master/texmf-dist/doc/generic/pst-barcode/Changes127
-rw-r--r--Master/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.bib6
-rw-r--r--Master/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.pdfbin228146 -> 229501 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.tex265
4 files changed, 265 insertions, 133 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-barcode/Changes b/Master/texmf-dist/doc/generic/pst-barcode/Changes
index c7d8f012ea8..d49c293519b 100644
--- a/Master/texmf-dist/doc/generic/pst-barcode/Changes
+++ b/Master/texmf-dist/doc/generic/pst-barcode/Changes
@@ -1,4 +1,5 @@
----- pst-barcode.tex
+0.08 2011-03-10 - take care of the function interface of the pro file
0.07 2009-08-12 - take care of the function interface of the pro file
0.04 2006-07-23 - adding support for the ISBN-13 code
- printing the code from the current point and
@@ -13,6 +14,132 @@
----- pst-barcode.pro
+2011-03-12 - The error correction code for Maxicode symbols was improved.
+ - Codablock F was fixed for short data inputs.
+ - Support for the Codablock F symbology was added.
+ - Support for the HIBC Codablock F symbology was added.
+ - The optimised encoding of Code 16K symbols was simplified.
+ - The optimised encoding of Code 128 symbols was simplified and
+ improved.
+ - The optimised encoding of Code 128 symbols was improved.
+ - Support for the extended datalength option was added to the Code
+ 16K symbology.
+ - Support for the Code 16K symbology was added.
+ - The optimal start character selection for Code 128 symbols was
+ improved.
+ - Support for the Code 49 symbology was added.
+ - Support for the Code One symbology was added.
+ - The GS1 DataBar Expanded Composite and GS1 DataBar Expanded
+ Stacked Composite symbologies were amended so that their separator
+ patterns are correctly generated.
+ - The GS1 DataBar Omnidirectional Composite, GS1 DataBar Stacked
+ Composite, GS1 DataBar Stacked Omnidirectional Composite, GS1
+ DataBar Truncated symbologies were amended so that their separator
+ patterns are correctly generated.
+ - GS1-128 Composite was fixed so that the 2D component is correctly
+ aligned.
+ - Preliminary support for the GS1 DataBar Omnidirectional Composite,
+ GS1 DataBar Stacked Composite, GS1 DataBar Stacked Omnidirectional
+ Composite, GS1 DataBar Truncated, GS1 DataBar Limited, GS1 DataBar
+ Expanded, GS1 DataBar Expanded Stacked symbologies were added.
+ - The default height for the GS1-128 symbologies was changed.
+ - Preliminary support for the GS1 DataBar Limited Composite
+ symbology was added.
+ - Preliminary support for the EAN-8 Composite, UPC-A Composite and
+ UPC-E Composite symbologies was added.
+ - Support for the GS1 Composite 2D components was added.
+ - Preliminary support for the EAN-13 Composite symbology was added.
+ - Renamed rss14 to databaromni, rsslimited to databarlimited,
+ rssexpanded to databarexpanded.
+ - Added convenience encoders for GS1 DataBar Stacked, GS1 DataBar
+ Stacked Omnidirectional, GS1 DataBar Truncated and GS1 DataBar
+ Expanded Stacked.
+ - Support for the HIBC MicroPDF417 symbology was added.
+ - Support for the MicroPDF417 symbology was added.
+ - Support for CC-A/B amd CC-C composite linkage was added to the
+ GS1-128 symbology.
+ - The Code 128 symbology was extended with support for composite
+ linkage pseudo characters.
+ - PDF417 was amended to automatically select an appropriate number
+ of columns when not provided.
+ - The default error correction levels for PDF417 symbols were updated.
+ - A bug in the encoding of the general purpose field ending in
+ numeric mode of GS1 DataBar expanded symbols was fixed.
+ - Renamed occurrences of alpha mode to alphanumeric in GS1 Databar
+ Expanded symbology to disambiguate from the standard GS1 alpha
+ encoding.
+ - The list of FNC1 exempt GS-1 application identifiers was fixed in
+ the GS1-128 and GS1 DataBar symbologies.
+ - Fixed occurances of a bad programming paradigm that could result
+ in the incorrect generation of certain symbols when including
+ multiple instances.
+ - Support for the Deutsche Post Leitcode Symbology was added.
+ - Support for the Deutsche Post Identcode Symbology was added.
+ - A checkoffset option was added to the posicode encoder to
+ facilitate multirow symbols.
+ - Support for the Flattermarken symbology was added.
+ - Checksum support for the Channel Code encoder was added.
+ - Support for the PosiCode symbology was added.
+ - An option to use a short finder pattern was added to the Channel
+ Code encoder.
+ - Support for the Channel Code symbology was added.
+ - Support for the HIBC Code 39, HIBC Code 128, HIBC Data Matrix,
+ HIBC PDF417 and HIBC QR Code symbologies was added.
+ - The efficiency of the Two-Track Pharmacode encoder was improved.
+ - The escape sequences for the special shift characters were changed.
+ - Support for the Code 93 Extended symbology was added.
+ - Support for the Code 39 Extended symbology was added.
+ - Support for the ITF-14 symbology was added.
+ - Support for the SSCC-18 symbology was added.
+ - Support for the GS1-14 symbology was added.
+ - Support for the GS1-128 symbology was added.
+ - The code128 encoder was modified to automatically encode the input.
+ - Support for the Pharmazentralnummer (PZN) symbology was added.
+ - The text parameters for EAN an UPC symbols are now applied to the addons.
+ - A bug in the display of the ISSN check digit was fixed.
+ - Support for Code 32 (Italian Pharmacode) was added.
+ - Added daft encoder to make it easier to create miscellaneous
+ symbols in a custom 4 state symbology.
+ - Support was added to the Plessey symbology for the unidirectional
+ variant.
+ - Support for the BC412 symbology was added.
+ - A bug in the calculation of the border height was fixed.
+ - The example for Two-track Pharmacode was changes to display a border.
+ - Support for the Two-track Pharmacode symbology was added.
+ - Support for the ISSN symbology was added.
+ - Support for the ISMN symbology was added.
+ - The ISBN encoder was improved to upgrade ISBN-10 input to ISBN-13.
+ - The code2of5 encoder was improved to support the IATA, matrix,
+ COOP, and Datalogic versions of the symbology.
+ - A bug was fixed that could allow the generation of invalid MSI
+ symbols when using a modulus 11 check digit.
+ - Support for the Telepen symbology was added.
+ - A bug in the placement of human readable text for Plessey and MSI
+ symbols was fixed.
+ - The bar-space widths were amended for Plessey and MSI symbols were
+ amended to better conform to their specifications.
+ - A bug in the calculation of the checksum of Plessey symbols was fixed.
+ - A bug in the calculation of the checksum of MSI symbols was fixed.
+ - Additional checksum types where added to the MSI symbology.
+ - A bug in the determination of the error correction level of PDF417
+ symbols was fixed.
+ - A bug in QR Code mask evaluation was fixed.
+ - Support for the USPS PLANET symbology was added.
+ - An input handling bug in the USPS POSTNET encoder was fixed.
+ - The list of FNC1 exempt application identifiers in GS1 DataBar
+ Expanded was fixed.
+ - A bug in the numeric encoding of the general purpose field of GS1
+ DataBar Expanded symbols was fixed.
+ - Support for UPC-E1 was added to the upce encoder.
+ - Converted to a set of PostScript named resources rather than a
+ procedure list.
+ - A bug in the symbol selection algorithm for QR Code was fixed.
+ - Ensure that auto-encoding a micro-format QR Code symbol fails
+ rather than produces a full-format symbol.
+ - Convert interleaved2of5 encoder to use barratio and spaceratio to
+ set the narrow to wide bar ratio.
+ - Ensure that the UPC-E encoder does not fail silently when an
+ invalid input is given.
2009-08-13 - Added support for pdf417
2009-08-06 - Added support for several 2D matrix codes
2007-07-10 - Added QR code, Aztex code.
diff --git a/Master/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.bib b/Master/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.bib
index cb8f1f164c5..f54f7347dfb 100644
--- a/Master/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.bib
+++ b/Master/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.bib
@@ -17,9 +17,9 @@
@Book{PSTricks2,
author = {Herbert Vo\ss},
title = {{\PST} {G}rafik f\"ur \TeX{} und \LaTeX},
- edition = {fifth},
- publisher = {DANTE -- Lob.media},
- year = {2008},
+ edition = {6.},
+ publisher = {DANTE -- lehmanns media},
+ year = {2010},
address = {Heidelberg/Hamburg}
}
diff --git a/Master/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.pdf b/Master/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.pdf
index 68c4e233836..ac10b110f50 100644
--- a/Master/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.pdf
+++ b/Master/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.tex b/Master/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.tex
index 4c83feb1440..28b2a05fce7 100644
--- a/Master/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.tex
+++ b/Master/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.tex
@@ -4,11 +4,11 @@
\usepackage[utf8]{inputenc}
\usepackage{pst-barcode}
\let\pstBarcodeFV\fileversion
-\lstset{pos=l,wide=false,language=PSTricks,
+\lstset{preset=\centering,pos=l,wide=false,vsep=5mm,language=PSTricks,%width=0.5\linewidth,
morekeywords={multidipole,parallel},basicstyle=\footnotesize\ttfamily}
%
\def\bgImage{\begin{pspicture}(1in,1in)
-%\psbarcode{Herbert Voss Freie Universitaet Berlin}{rows=52 columns=52}{datamatrix}
+\psbarcode{Herbert Voss Freie Universitaet Berlin}{rows=52 columns=52}{datamatrix}
\end{pspicture}}
\begin{document}
@@ -45,14 +45,14 @@ To install the package put the three files in a place, where \TeX{} will search
for the files:
\bigskip\noindent
-\begin{tabular}{@{} l l l @{}}
+\begin{tabular}{@{} l l l @{}}\hline
\emph{name} & \emph{meaning}& \emph{target dir} \\\hline
\verb+pst-barcode.tex+ & \LaTeX\ style file -- wrapper & \verb+$LOCALTEXMF/tex/generic/pstricks/+\\
\verb+pst-barcode.sty+ & \TeX\ file -- PS interface &\verb+$LOCALTEXMF/tex/latex/pstricks/+\\
\verb+pst-barcode.pro+ & PostScript file & \verb+$LOCALTEXMF/dvips/pstricks/+ \\
\verb+pst-barcode-doc.tex+ & documentation source & \verb+$LOCALTEXMF/doc/pstricks/+\\
\verb+pst-barcode-doc.bib+ & bibliography source & \verb+$LOCALTEXMF/doc/pstricks/+\\
-\verb+pst-barcode-doc.pdf+ & documentation & \verb+$LOCALTEXMF/doc/pstricks/+ %$
+\verb+pst-barcode-doc.pdf+ & documentation & \verb+$LOCALTEXMF/doc/pstricks/+ \\\hline%$
\end{tabular}
\bigskip
@@ -70,18 +70,18 @@ or the \Lcs{makebox} macro.
\section{The options}
\subsection{The \TeX\ options}
-\begin{tabular}{@{}lll@{}}
+\begin{tabular}{@{}lll@{}}\hline
\emph{name} & \emph{default} & \emph{remarks}\\\hline
\Lkeyword{transx} & 0 & horizontal shift\\
\Lkeyword{transy} & 0 & vertical shift\\
\Lkeyword{scalex} & 1 & horizontal scaling\\
\Lkeyword{scaley} & 1 & vertical scaling\\
-\Lkeyword{rotate} & 0 & rotating angle in degrees
+\Lkeyword{rotate} & 0 & rotating angle in degrees\\\hline
\end{tabular}
\subsection{The PostScript options}
-\begin{tabularx}{\textwidth}{@{}llX@{}}
+\begin{tabularx}{\textwidth}{@{}llX@{}}\hline
\emph{name} & \emph{default} & \emph{remarks}\\\hline
\Lps{height} & 1 & dimension is inch\\
\Lps{textsize} & 10 & dimension is pt\\
@@ -100,25 +100,26 @@ or the \Lcs{makebox} macro.
\Lps{includetext} & -- & enable human readable text \\
\Lps{includecheck} & -- & enable check digit \\
\Lps{includecheckintext} & -- & check digit visible in text\\
-\Lps{parse} & -- & parse variable field für decimal values, like \^{}032 for space, and convert them to ASCII
+\Lps{parse} & -- & parse variable field für decimal values, like \^{}032 for space, and convert them to ASCII\\\hline
\end{tabularx}
\subsection{Examples for the TeX options}
-\begin{LTXexample}[pos=t,preset=\centering]
-\begin{pspicture}(3.5,1.2in)
+\begin{LTXexample}[pos=t,preset=\centering,wide]
+\psframebox{\begin{pspicture}(2.5,1in)
\psbarcode{12345678}{includetext}{ean8}
-\end{pspicture}
-\begin{pspicture}(-2,-1.5)(0.5,0.2in)
+\end{pspicture}}\quad
+\psframebox{\begin{pspicture}(-2.6,-1.5)(0.4,0.2in)
\psbarcode[rotate=180,linecolor=red]{12345678}{includetext guardwhitespace height=0.6}{ean8}
-\end{pspicture}
-\begin{pspicture}(3.5,1.2in)
-\psbarcode[scalex=1.5,scaley=0.5,transy=20]{12345678}{includetext inkspread=0.5}{ean8}
-\end{pspicture}
+\end{pspicture}}\quad
+\psframebox{\begin{pspicture}(3.8,1in)
+\psbarcode[scalex=1.5,scaley=0.5,transy=1]{12345678}{includetext inkspread=0.5}{ean8}
+\end{pspicture}}
\end{LTXexample}
+
\newpage
\subsection{Examples for the PostScript options}
@@ -163,7 +164,7 @@ bar
\xLps{code39}
\bigskip
-\begin{LTXexample}[width=.5\linewidth]
+\begin{LTXexample}[pos=l,width=.5\linewidth]
foo
\fbox{%
\begin{pspicture}(0,-8pt)(1.5in,1in)
@@ -238,7 +239,7 @@ try the support mailing list.
\end{description}
\xLps{upca}
-\begin{LTXexample}[width=.3\linewidth]
+\begin{LTXexample}[pos=l,width=.3\linewidth,wide]
\begin{pspicture}(3,1.2in)
\psbarcode[transx=15pt,transy=10pt]{78858101497}{includetext}{upca}
\qdisk(0,0){3pt}\rput[lb](5pt,-10pt){Origin}
@@ -260,7 +261,7 @@ try the support mailing list.
\end{description}
\xLps{upce}
-\begin{LTXexample}[width=.3\linewidth]
+\begin{LTXexample}[pos=l,width=.3\linewidth]
\begin{pspicture}(1.5,1.2in)
\psbarcode{0123456}{includetext}{upce}
\end{pspicture}
@@ -279,7 +280,7 @@ try the support mailing list.
\end{description}
\xLps{ean5}
-\begin{LTXexample}[width=.3\linewidth]
+\begin{LTXexample}[pos=l,width=.3\linewidth]
\begin{pspicture}(2,1in)
\psbarcode{90200}{includetext guardwhitespace}{ean5}
\end{pspicture}
@@ -298,35 +299,13 @@ try the support mailing list.
\end{description}
\xLps{ean2}
-\begin{LTXexample}[width=.3\linewidth]
+\begin{LTXexample}[pos=l,width=.3\linewidth]
\begin{pspicture}(1,1in)
\psbarcode{38}{includetext guardwhitespace}{ean2}
\end{pspicture}
\end{LTXexample}
-\subsection{onecode}
-
-\begin{description}
-\item[Characters] \verb+0123456789+
-\item[Data] Variable
-\item[Options]~\\
- \begin{tabular}{l|l}
- Option & Feature\\\hline
- \texttt{includetext} & Enable human readable text\\
- \end{tabular}
-\end{description}
-
-\xLps{onecode}
-\begin{LTXexample}[pos=t]
-\begin{pspicture}(0,-5mm)(2.5in,0.3in)
-\psbarcode{0123456709498765432101234567891}{includetext}{onecode}
-\end{pspicture}
-\end{LTXexample}
-
-
-
-\newpage
\subsection{ISBN}
An ISBN symbol is really an EAN-13 with a particular prefix, 978 for the older ISBN-10 format, and others for the new ISBN-13 format.
@@ -345,14 +324,14 @@ An ISBN symbol is really an EAN-13 with a particular prefix, 978 for the older I
\xLps{isbn}
\smallskip
-\begin{LTXexample}[width=.3\linewidth]
+\begin{LTXexample}[pos=l,width=.3\linewidth]
\begin{pspicture}(3,1in)
\psbarcode{3-86541-114}{includetext guardwhitespace}{isbn}
\end{pspicture}
\end{LTXexample}
\bigskip\enlargethispage{2ex}
-\begin{LTXexample}[width=.3\linewidth]
+\begin{LTXexample}[pos=l,width=.3\linewidth]
\begin{pspicture}(3,1in)
\psbarcode{978-3-86541-114}{includetext guardwhitespace}{isbn}
\end{pspicture}
@@ -374,7 +353,7 @@ An ISBN symbol is really an EAN-13 with a particular prefix, 978 for the older I
\end{description}
-\begin{LTXexample}[width=.5\linewidth]
+\begin{LTXexample}[pos=l,width=.4\linewidth,wide]
\begin{pspicture}(5,1in)
\psbarcode{CODE-39}{includecheck includetext}{code39}
\end{pspicture}
@@ -421,7 +400,7 @@ for the initial character set. UCC/EAN-128s must have a manditory
\end{tabular}
\end{description}
-\begin{LTXexample}[width=.5\linewidth]
+\begin{LTXexample}[pos=l,width=.4\linewidth]
\begin{pspicture}(4,1in)
\psbarcode{0123456789}{includetext}{rationalizedCodabar}
\end{pspicture}
@@ -471,6 +450,8 @@ for the initial character set. UCC/EAN-128s must have a manditory
\end{LTXexample}
+\clearpage
+
\subsection{Postnet}
\begin{description}
@@ -506,7 +487,7 @@ for the initial character set. UCC/EAN-128s must have a manditory
\item[Notes] Check digit is always added automatically
\end{description}
-\begin{LTXexample}[width=.5\linewidth]
+\begin{LTXexample}[pos=l,width=.4\linewidth]
\begin{pspicture}(5,0.5in)
\psbarcode{LE28HS9Z}{includetext}{royalmail}
\end{pspicture}
@@ -526,7 +507,7 @@ for the initial character set. UCC/EAN-128s must have a manditory
\item[Notes] Check digit is always added automatically
\end{description}
-\begin{LTXexample}[width=.5\linewidth]
+\begin{LTXexample}[pos=l,width=.4\linewidth]
\begin{pspicture}(5,0.3in)
\psbarcode{1203AA12}{includetext}{kix}
\end{pspicture}
@@ -547,7 +528,7 @@ for the initial character set. UCC/EAN-128s must have a manditory
%\item[Notes] Check digit is always added automatically
\end{description}
-\begin{LTXexample}[width=.5\linewidth]
+\begin{LTXexample}[pos=l,width=.4\linewidth]
\begin{pspicture}(5,0.3in)
\psbarcode{1139549554}{includetext}{auspost}
\end{pspicture}
@@ -601,25 +582,25 @@ The purpose of the symbol encoder is to store the definitions of miscellaneous b
symbols such as the FIM symbols used by the US Postal Service on their reply mail.
-\begin{LTXexample}[width=.4\linewidth]
+\begin{LTXexample}[pos=l,width=.4\linewidth]
\begin{pspicture}(1cm,1.5cm)
\psbarcode{fima}{}{symbol}
\end{pspicture}
\end{LTXexample}
-\begin{LTXexample}[width=.4\linewidth]
+\begin{LTXexample}[pos=l,width=.4\linewidth]
\begin{pspicture}(1cm,1.5cm)
\psbarcode{fimb}{}{symbol}
\end{pspicture}
\end{LTXexample}
-\begin{LTXexample}[width=.4\linewidth]
+\begin{LTXexample}[pos=l,width=.4\linewidth]
\begin{pspicture}(1cm,1.5cm)
\psbarcode{fimc}{}{symbol}
\end{pspicture}
\end{LTXexample}
-\begin{LTXexample}[width=.4\linewidth]
+\begin{LTXexample}[pos=l,width=.4\linewidth]
\begin{pspicture}(1cm,1.5cm)
\psbarcode{fimd}{}{symbol}
\end{pspicture}
@@ -640,7 +621,7 @@ symbols such as the FIM symbols used by the US Postal Service on their reply mai
\end{tabular}
\end{description}
-\begin{LTXexample}[width=.5\linewidth]
+\begin{LTXexample}[pos=l,width=.5\linewidth,wide]
\begin{pspicture}(6,1in)
\psbarcode{0123456789}{includecheck includetext}{msi}
\end{pspicture}
@@ -668,7 +649,8 @@ symbols such as the FIM symbols used by the US Postal Service on their reply mai
\subsection{Reduced Space Symbology (RSS)}
This is a family that includes RSS-14\textregistered, RSS Limited\textregistered,
-and RSS Expanded\textregistered{} (\url{http://www.gs1.org/productssolutions/barcodes/technical/rss.html}). RSS-14 and RSS Limited encode Global Trade Item
+and RSS Expanded\textregistered{} (\url{http://www.gs1.org/productssolutions/barcodes/technical/rss.html}).
+RSS-14 and RSS Limited encode Global Trade Item
Numbers (GTINs). RSS Expanded will encode any of the GS1 System identification
numbers as well as all other Application Identifiers.
RSS is used in the healthcare industry.
@@ -678,25 +660,25 @@ RSS is used in the healthcare industry.
\item[Data] Variable number digits
\end{description}
-\subsubsection{rss14}
+\subsubsection{rss14 (databaromni)}
\begin{LTXexample}[width=.3\linewidth]
\begin{pspicture}(12,.3in)
-\psbarcode{(01)24012345678905}{format=truncated includetext height=0.3}{rss14}
+\psbarcode{(01)24012345678905}{format=truncated includetext height=0.3}{databaromni}
\end{pspicture}
\end{LTXexample}
-\subsubsection{rsslimited}
-\begin{LTXexample}[width=.3\linewidth]
+\subsubsection{rsslimited (databarlimited)}
+\begin{LTXexample}[pos=l,width=.3\linewidth]
\begin{pspicture}(12,.3in)
-\psbarcode{(01)15012345678907}{height=0.3}{rsslimited}
+\psbarcode{(01)15012345678907}{height=0.3}{databarlimited}
\end{pspicture}
\end{LTXexample}
-\subsubsection{rssexpanded}
-\begin{LTXexample}[width=.3\linewidth]
+\subsubsection{rssexpanded (databarexpanded)}
+\begin{LTXexample}[pos=l,width=.3\linewidth]
\begin{pspicture}(12,.3in)
-\psbarcode{(10)12A}{height=0.3}{rssexpanded}
+\psbarcode{(10)12A}{height=0.3}{databarexpanded}
\end{pspicture}
\end{LTXexample}
@@ -709,7 +691,7 @@ For a documentation see \url{http://www.laetus.com/laetus.php?request=file&id=69
\item[Data] Variable number digits
\end{description}
-\begin{LTXexample}[width=.3\linewidth]
+\begin{LTXexample}[pos=l,width=.3\linewidth]
\begin{pspicture}(12,.3in)
\psbarcode{117480}{}{pharmacode}
\end{pspicture}
@@ -723,7 +705,7 @@ For a documentation see \url{http://de.wikipedia.org/wiki/Strichcode#PDF417}.
\item[Data] Variable number characters
\end{description}
-\begin{LTXexample}[width=2in,wide]
+\begin{LTXexample}[pos=l,width=2in,wide]
\begin{pspicture}(2in,0.3in)
\psbarcode{^453^178^121^239}{columns=2 rows=10}{pdf417}
\end{pspicture}
@@ -738,7 +720,7 @@ It is used for the german post company DHL.
\item[Data] Variable number characters
\end{description}
-\begin{LTXexample}[width=1in,wide]
+\begin{LTXexample}[pos=l,width=1in,wide]
\begin{pspicture}(1in,1in)
\psbarcode{Herbert Voss ^142^164^186}{rows=48 columns=48 parse}{datamatrix}
\end{pspicture}
@@ -804,7 +786,7 @@ corporation Denso-Wave in 1994 (\url{http://de.wikipedia.org/wiki/QR_Code}).
\item[Data] Variable number characters
\end{description}
-\begin{LTXexample}[width=1in,wide]
+\begin{LTXexample}[pos=l,width=1in,wide]
\begin{pspicture}(1in,1in)
\psbarcode{http://www.dante.de}{}{qrcode}
\end{pspicture}
@@ -822,7 +804,7 @@ Aztec Code was invented by Andrew Longacre (USA) in 1995
\item[Data] Variable number characters
\end{description}
-\begin{LTXexample}[width=1in,wide]
+\begin{LTXexample}[pos=l,width=1in,wide]
\begin{pspicture}(1in,1in)
\psbarcode{0123456789}%
{format=compact layers=3}{azteccode}
@@ -868,27 +850,6 @@ Aztec Code was invented by Andrew Longacre (USA) in 1995
\end{pspicture}
\end{LTXexample}
-%\psbarcode{000100000010000000001100010101100110000110000}{version=1 eclevel=M}{qrcode}
-
-
-\subsection{PDF417}
-%Aztec Code is a 2 dimensional matrix style bar code symbology.
-%Aztec Code was invented by Andrew Longacre (USA) in 1995
-%(\url{http://de.wikipedia.org/wiki/Aztec_Code}).
-
-
-\begin{description}
-\item[Characters] \verb!0123456789!
-\item[Data] Variable number characters
-\end{description}
-
-\begin{LTXexample}[width=1.5in,wide]
-\begin{pspicture}(1in,1in)
-\psbarcode{^453^178^121^239}%
- {columns=2 rows=10}{pdf417}
-\end{pspicture}
-\end{LTXexample}
-
\section{Code Commentary}
This commentary assumes familiarity with the PostScript
@@ -928,9 +889,8 @@ dictionary when the PostScript is executed.
\begin{center}
-\begin{tabular}{l|c|p{6.5cm}}
-Element & Key & Value \\
-\hline
+\begin{tabular}{l|c|p{6.5cm}}\hline
+\emph{Element} & \emph{Key} & \emph{Value} \\\hline
Space bar succession & \texttt{sbs} &
String containing the integer widths, in points, of each bar and
space, starting with the leftmost bar.\\
@@ -946,7 +906,7 @@ starting with the leftmost bar.\\
Human readable text & \texttt{txt} &
Array of arrays that contain the character, position, height,
font and scale factor (font size), in points, for each of the visible
-text characters.
+text characters.\\\hline
\end{tabular}
\end{center}
@@ -1301,58 +1261,103 @@ serverdict begin 0 exitserver systemdict /quit get exec
\iffalse
-30 500 moveto (CODE 39) (includecheck includetext) code39 barcode
+30 500 moveto (CODE 39) (includecheck includetext) /code39 /uk.co.terryburton.bwipp findresource exec
0 -17 rmoveto (Code 39) show
-390 200 moveto (THIS IS CODE 93) (includecheck includetext) code93 barcode
+
+385 200 moveto (THIS IS CODE 93) (includecheck includetext) /code93 /uk.co.terryburton.bwipp findresource exec
0 -17 rmoveto (Code 93) show
-400 600 moveto (^104^102Abc^09912345678^101!) (includetext) code128 barcode
-0 -17 rmoveto (Code 128) show
-150 700 moveto (0123456789) (includecheck includetext) interleaved2of5 barcode
+
+375 400 moveto (\(00\)030123456789012340|\(02\)13012345678909\(37\)24\(10\)1234567ABCDEFG) (ccversion=c includetext) /gs1-128composite /uk.co.terryburton.bwipp findresource exec
+0 -17 rmoveto (GS1-128 Composite) show
+
+150 700 moveto (0123456789) (includecheck includetext) /interleaved2of5 /uk.co.terryburton.bwipp findresource exec
0 -17 rmoveto (Interleaved 2 of 5) show
-215 300 moveto (24012345678905) (height=0.3 includetext) rss14 barcode
-0 -17 rmoveto (RSS-14) show
-220 550 moveto (00978186074271) (height=0.3 includetext) rsslimited barcode
-0 -17 rmoveto (RSS Limited) show
-220 500 moveto (000000010011001010100001000000010000) (height=0.3) rssexpanded barcode
-0 -10 rmoveto (RSS Expanded) show
-215 348 moveto (117480) (includetext) pharmacode barcode
+
+215 300 moveto ((01)24012345678905) (includetext) /databartruncated /uk.co.terryburton.bwipp findresource exec
+0 -17 rmoveto (DataBar Truncated) show
+
+250 250 moveto ((01)24012345678905) () /databarstacked /uk.co.terryburton.bwipp findresource exec
+0 -10 rmoveto (DataBar Stacked) show
+
+220 560 moveto ((01)15012345678907) () /databarlimited /uk.co.terryburton.bwipp findresource exec
+0 -10 rmoveto (DataBar Limited) show
+
+220 500 moveto ((10)12A) () /databarexpanded /uk.co.terryburton.bwipp findresource exec
+0 -10 rmoveto (DataBar Expanded) show
+
+215 348 moveto (117480) (includetext) /pharmacode /uk.co.terryburton.bwipp findresource exec
0 -17 rmoveto (Pharmacode) show
-30 300 moveto (01234567) (includetext includecheck) code2of5 barcode
+
+30 300 moveto (01234567) (includetext includecheck) /code2of5 /uk.co.terryburton.bwipp findresource exec
0 -17 rmoveto (Code 2 of 5) show
-165 600 moveto (0124589) (includetext includecheck barcolor=AA0000 textyoffset=-8 textcolor=008888 backgroundcolor=2020FF0F showborder bordercolor=0000FF) code11 barcode
+
+165 600 moveto (0124589) <<
+ /includetext true
+ /includecheck true
+ /barcolor (AA0000)
+ /textyoffset -8
+ /textcolor (008888)
+ /backgroundcolor (2020FF0F)
+ /showborder true
+ /bordercolor (0000FF)
+>> /code11 /uk.co.terryburton.bwipp findresource exec
0 -17 rmoveto (Code 11) show
-30 400 moveto (A0123456789B) (includecheck includetext) rationalizedCodabar barcode
+
+30 400 moveto (A0123456789B) (includecheck includetext) /rationalizedCodabar /uk.co.terryburton.bwipp findresource exec
0 -17 rmoveto (Rationalized Codabar) show
-430 700 moveto (977147396801) (includetext) ean13 barcode
+
+420 700 moveto (977147396801 05) (includetext guardwhitespace) /ean13 /uk.co.terryburton.bwipp findresource exec
0 -17 rmoveto (EAN-13) show
-535 705.4 moveto (05) (includetext guardwhitespace) ean2 barcode
-0 -17 rmoveto (EAN-2) show
-30 700 moveto (01335583) (includetext guardwhitespace) ean8 barcode
+
+41 700 moveto (01335583) (includetext guardwhitespace) /ean8 /uk.co.terryburton.bwipp findresource exec
0 -17 rmoveto (EAN-8) show
-30 600 moveto (78858101497) (includetext) upca barcode
+
+37 600 moveto (78858101497) (includetext) /upca /uk.co.terryburton.bwipp findresource exec
0 -17 rmoveto (UPC-A) show
-320 700 moveto (0425261) (includetext) upce barcode
+
+315 700 moveto (0425261) (includetext) /upce /uk.co.terryburton.bwipp findresource exec
0 -17 rmoveto (UPC-E) show
-405 400 moveto (978-1-86074-271) (includetext) isbn barcode
+
+405 600 moveto (978-1-86074-271 54495) (includetext) /isbn /uk.co.terryburton.bwipp findresource exec
0 -17 rmoveto (ISBN) show
-510 405.4 moveto (90200) (includetext) ean5 barcode
-0 -17 rmoveto (EAN-5) show
-240 455 moveto (012345) (includetext) postnet barcode
+
+345 515 moveto (0123456709498765432101234567891) (includetext) /onecode /uk.co.terryburton.bwipp findresource exec
+0 -17 rmoveto (OneCode) show
+
+215 455 moveto (01234) (includetext) /postnet /uk.co.terryburton.bwipp findresource exec
0 -17 rmoveto (Postnet) show
-240 410 moveto (LE28HS9Z) (includetext) royalmail barcode
+
+215 410 moveto (LE28HS9Z) (includetext) /royalmail /uk.co.terryburton.bwipp findresource exec
0 -17 rmoveto (Royal Mail) show
-410 145 moveto (1231FZ13XHS) (includetext) kix barcode
+
+400 165 moveto (1231FZ13XHS) (includetext) /kix /uk.co.terryburton.bwipp findresource exec
0 -17 rmoveto (KIX) show
-385 515 moveto (5956439111ABA 9) (includetext) auspost barcode
+
+335 555 moveto (6540123789-A-K-Z) (includetext textxalign=center) /japanpost /uk.co.terryburton.bwipp findresource exec
+0 -17 rmoveto (JapanPost) show
+
+385 132 moveto (5956439111ABA 9) (includetext) /auspost /uk.co.terryburton.bwipp findresource exec
0 -17 rmoveto (AusPost) show
-350 300 moveto (12345) (includecheck includetext) msi barcode
+
+348 300 moveto (123456) (includecheck includetext) /msi /uk.co.terryburton.bwipp findresource exec
0 -17 rmoveto (MSI) show
-30 200 moveto (123ABCD) (includetext) plessey barcode
+
+30 200 moveto (123AB) (includetext) /plessey /uk.co.terryburton.bwipp findresource exec
0 -17 rmoveto (Plessey) show
-47 135 moveto (1001234567890) (showborder borderwidth=4 borderleft=15 borderright=15 height=0.5 includecheck includetext includecheckintext textyoffset=-10) interleaved2of5 barcode
+
+47 135 moveto (10012345678902) (includetext) /itf14 /uk.co.terryburton.bwipp findresource exec
-15 -20 rmoveto (ITF-14) show
-485 300 moveto (^059^042^041^059^040^03001^02996152382802^029840^029001^0291Z00004951^029UPSN^02906X610^029159^0291234567^0291^0471^029^029Y^029634 ALPHA DR^029PITTSBURGH^029PA^030^062^004^063) (mode=2) maxicode barcode
-0 -10 rmoveto (MaxiCode) show
-%300 600 moveto (^142^164^186) (rows=48 columns=48) datamatrix barcode
-%0 -10 rmoveto (Data Matrix) show
-\fi \ No newline at end of file
+
+245 125 moveto (http://lwn.net) () /qrcode /uk.co.terryburton.bwipp findresource exec
+0 -10 rmoveto (QR Code) show
+
+245 190 moveto (This is PDF417) (columns=2 color=442222 backgroundcolor=AABBCC) /pdf417 /uk.co.terryburton.bwipp findresource exec
+0 -10 rmoveto (PDF417) show
+
+300 600 moveto (http://www.terryburton.co.uk/barcodewriter/) (rows=48 columns=48) /datamatrix /uk.co.terryburton.bwipp findresource exec
+0 -10 rmoveto (Data Matrix) show
+
+315 125 moveto (This is Aztec Code) (format=compact layers=3) /azteccode /uk.co.terryburton.bwipp findresource exec
+0 -10 rmoveto (Aztec Code) show
+
+\fi