# [texhax] Printing "bar code" on document

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed Oct 2 20:52:16 CEST 2013

Am 02.10.2013 19:50, schrieb Jerry:
> I saw this being done with MS Word and an add-on application. I
> would like to know if it can be done with LaTeX.
>
> I work in a small government office that issues permits. The permits
> are filled in and then printed out. We would like to print out the
> final permit with a bar-code that could later be scanned. Is there a
> package that does that?

run the document with

pdflatex --shell-escape <file>

or with xelatex

\documentclass{article}
\usepackage{pst-barcode}
\usepackage{auto-pst-pdf}

\begin{document}

foo

\begin{pspicture}(0,-5mm)(3,1in)
\psbarcode{978-3-86541-496}{includetext}{isbn}
\end{pspicture}

bar

\end{document}

Herbert