%% 
%%  The LaTeX Graphics Companion, 2ed (first printing May 2007)
%% 
%%  Example 6-7-51 on page 454.
%% 
%%  Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss 
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 

\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{348.0pt}
\setlength\parindent{0pt}
\usepackage{color,graphicx}% Only for creating an eps with correct bb
\AtBeginDocument{{\color{white}\rule{1.02\linewidth}{1.2cm}}\par\hspace*{.3em}}
\StartShownPreambleCommands
\usepackage{pst-barcode}
\StopShownPreambleCommands
\begin{document}
\resizebox{\linewidth}{!}{%
\begin{tabular}{p{1in}p{1.7in}p{0.9in}p{1.3in}}
  \psbarcode{01335583}{includetext guardwhitespace height=0.5 textsize=8}
            {ean8} &
  \psbarcode{0110197595}{includecheck includetext height=0.5 textsize=8}
            {interleaved2of5} &
  \psbarcode{0123456}{includetext height=0.5 textsize=8}{upce} &
  \psbarcode{231119496801}{includetext height=0.5 textsize=8}{ean13}\\[5pt]
  EAN-8 & Interleaved 2 of 5 & UPC-E & EAN-13
\end{tabular}}

\vspace{2cm}
\resizebox{\linewidth}{!}{%
\begin{tabular}{p{1.4in}p{1.7in}p{2in}}
  \psbarcode{78858101497}{includetext height=0.75 textsize=8}{upca} &
  \psbarcode{0123456789}{includetext height=0.75 textsize=8}{code11} &
  \psbarcode{^104^102Count^0991234^101!}
            {includetext height=0.75 textsize=8}{code128}\\[5pt]
  UPC-A & Code 11 & Code 128
\end{tabular}}

\vspace{2.5cm}
\resizebox{\linewidth}{!}{%
\begin{tabular}{p{2.1in}p{1.8in}p{1.2in}}
  \psbarcode{A0123456789B}{includecheck includetext textsize=8}
                          {rationalizedCodabar} &
  \begin{tabular}{p{1.7in}}
    \psbarcode[transy=1.5cm]{011075}{includetext textsize=8}
                            {postnet}\\[-1.4cm]
    Postnet\\[60pt]
    \psbarcode[transy=1.5cm]{LE28HS9Z}{includetext textsize=8}
                            {royalmail}\\[-1.4cm]
    Royal Mail
  \end{tabular} &
  \psbarcode{1-86074-271}{includetext textsize=8}{isbn}\\
  Rationalized Codabar &  & ISBN
\end{tabular}}
\end{document}
