diff options
author | Karl Berry <karl@freefriends.org> | 2012-07-11 23:31:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-07-11 23:31:41 +0000 |
commit | 04c5c867bd74fc26d0605dbe7aea8fc70d8c6066 (patch) | |
tree | 1013bc3edb82def6a2278158c9db567b3d3e0698 /Master/texmf-dist/doc | |
parent | d41b09fae4e020f0ff6108838e6175646f3d2b9e (diff) |
pst-barcode 2012-06-26 (5jul12)
git-svn-id: svn://tug.org/texlive/trunk@27004 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-barcode/Changes | 28 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.bib | 40 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.pdf | bin | 229501 -> 239471 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-barcode/pst-barcode-doc.tex | 102 |
4 files changed, 139 insertions, 31 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-barcode/Changes b/Master/texmf-dist/doc/generic/pst-barcode/Changes index d49c293519b..5deaf6b3c0a 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.09 2012-06-25 - using another code for loading the ps code 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 @@ -14,7 +15,32 @@ ----- pst-barcode.pro -2011-03-12 - The error correction code for Maxicode symbols was improved. +2012-06-26 - The QR Code encoder was modified so that Micro QR Code + symbols do not require the use of raw mode. + - Support for the alphanumeric, numeric, and kanji encodings + was added to the QR Code encoder. + - The PZN symbology was extended with support + for PZN8. + - Support for the GS1 DataMatrix symbology was added. + - A bug in double digit ASCII encodation of the Data Matrix + symbology was fixed. + - The EDIFACT, C40, TEXT, and X12 encodation schemes were + removed from the Data Matrix symbology, as + these were buggy. + - Support for FNC1 character as added to the Data Matrix symbology. +2012-06-25 - The QR Code encoder was modified to select an + optimal encoder based on the data. + - A bug in the symbol size selection for + QR Code was fixed. + - The QR Code encoder was optimised by + allowing the terminator pattern to be trimmed. + - Support for the alphanumeric, numeric and + kanji encodings was added to the qrcode encoder. + - The PZN symbology was extended with support for PZN8. + - The 1.5 scale factor was removed from the + DataMatrix encoder. + +2011-03-10 - 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. 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 f54f7347dfb..551c090f5e8 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 @@ -171,11 +171,37 @@ year = 2004 } -@book{voss06, - Title = {Mathematiksatz in \LaTeX{}}, - Author = {Herbert Vo\ss}, - Publisher = {Lehmanns Media/DANTE}, - Edition= {first}, - Address= {Berlin/Heidelberg}, - Year= {2009}, +@Book{presentations, + author = {Herbert Vo\ss}, + title = {Presentations with \LaTeX}, + edition = {1.}, + publisher = {DANTE -- Lehmanns Media}, + year = {2012}, + address = {Heidelberg/Berlin} +} + +@Book{PSTricksE, + author = {Herbert Vo\ss}, + title = {\texttt{PSTricks} -- {G}raphics for \LaTeX}, + edition = {1.}, + publisher = {UIT}, + year = {2011}, + address = {Cambridge/UK} +} + +@Book{LaTeXRef, + author = {Herbert Vo\ss}, + title = {\LaTeX\ Referenz}, + edition = {2.}, + publisher = {DANTE -- lehmanns media}, + year = {2010}, + address = {Heidelberg/Hamburg} +} +@Book{LaTeXRefE, + author = {Herbert Vo\ss}, + title = {\LaTeX\ Quick Reference}, + edition = {1.}, + publisher = {UIT}, + year = {2011}, + address = {Cambridge/UK} } 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 Binary files differindex ac10b110f50..3825bf8d445 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 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 28b2a05fce7..2fe0037cea3 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 @@ -720,8 +720,8 @@ It is used for the german post company DHL. \item[Data] Variable number characters \end{description} -\begin{LTXexample}[pos=l,width=1in,wide] -\begin{pspicture}(1in,1in) +\begin{LTXexample}[pos=l,width=1.6in,wide] +\begin{pspicture}(1.5in,1.5in) \psbarcode{Herbert Voss ^142^164^186}{rows=48 columns=48 parse}{datamatrix} \end{pspicture} \end{LTXexample} @@ -776,22 +776,6 @@ The modes: \end{LTXexample} -\subsection{QR Code} -A QR Code (Quick Response) is a 2 dimensional matrix code created by Japanese -corporation Denso-Wave in 1994 (\url{http://de.wikipedia.org/wiki/QR_Code}). - - -\begin{description} -\item[Characters] \verb!0123456789! -\item[Data] Variable number characters -\end{description} - -\begin{LTXexample}[pos=l,width=1in,wide] -\begin{pspicture}(1in,1in) -\psbarcode{http://www.dante.de}{}{qrcode} -\end{pspicture} -\end{LTXexample} - \subsection{Aztec Code} Aztec Code is a 2 dimensional matrix style bar code symbology. @@ -833,10 +817,9 @@ Aztec Code was invented by Andrew Longacre (USA) in 1995 \end{LTXexample} -\subsection{qrcode} -%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}). +\subsection{QR Code} +A QR Code (Quick Response) is a 2 dimensional matrix code created by Japanese +corporation Denso-Wave in 1994 (\url{http://de.wikipedia.org/wiki/QR_Code}). \begin{description} @@ -844,13 +827,86 @@ Aztec Code was invented by Andrew Longacre (USA) in 1995 \item[Data] Variable number characters \end{description} -\begin{LTXexample}[width=1.5in,wide] +The data field can contain any extended ASCII data. +When the parse option is specified, any instances of \verb|^NNN| in the data field are +replaced with their equivalent ASCII value, useful for specifying unprintable characters. + + The eclevel option is used to specify the error correction level: +\begin{description} +\item[eclevel=L] - Low (default for micro format symbols) +\item[eclevel=M] - Medium (default for full format symbols) +\item[eclevel=Q] - Quality +\item[eclevel=H] - High +\end{description} + +The eclevel will be opportunistically raised when this does not result in an increased symbol size. +The encoding option is used to specify a desired encoding for the input data which can sometimes result in a more optimal symbol size: + +\begin{description} +\item[encoding=alphanumeric] - Alphanumeric data +\item[encoding=numeric] - Numeric data +\item[encoding=byte] - Byte based encoding +\item[encoding=kanji] - Kanji characters based on Shift JIS +\item[encoding=raw] - Equivalent to the raw option + If left unspecified the optimal available encoding will be chosen for the given data in + the following order of preference: numeric, alphanumeric, kanji, byte. + The version option is used to specify the size of the symbol, 1 to 40 for full + format symbols or \verb|version=M1|, \verb|version=M2|, \verb|version=M3| or \verb|version=M4| + for micro format symbols. + If unspecified, the encoder will select the version of the symbol that is the minimum + size to represent the given data at the selected error correction level. + The format option is used to select between format=full and format=micro symbol + types. By default, full format symbols will be generated. + The raw option denotes that the data field is providing the input as a pre-encoded + bitstream (excluding the terminator bits) suitable for direct low-level encoding. +\end{description} + + +\begin{LTXexample}[pos=l,width=1in] +\begin{pspicture}(1in,1in) +\psbarcode{http://www.dante.de}{}{qrcode} +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[width=1.5in] \begin{pspicture}(1in,1in) \psbarcode{http://www.dante.de}{eclevel=M}{qrcode} \end{pspicture} \end{LTXexample} +\begin{LTXexample}[width=1.5in] +\begin{pspicture}(1in,1in) +\psbarcode{QR ^067ode}{parse}{qrcode} +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[width=1.5in] +\begin{pspicture}(2in,2in) +\psbarcode{QR CODE 1234}{version=10 eclevel=Q}{qrcode} +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[width=1.5in] +\begin{pspicture}(0.5in,0.5in) +\psbarcode{01234567}{format=micro}{qrcode} +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[width=1.5in] +\begin{pspicture}(1in,1in) +\psbarcode{000100000010000000001100010101100110000110000}{raw}{qrcode} +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[width=1in,wide] +\begin{pspicture}(0.5in,0.5in) +\psbarcode{0010000000000110001010110011010100110111000010100111010100101}{format=micro raw}{qrcode} +\end{pspicture} +\end{LTXexample} + + + \section{Code Commentary} This commentary assumes familiarity with the PostScript language\footnote{The PostScript Language Tutorial and Cookbook |