I'm looking for a good LaTeX package to generate one dimensional barcodes, that has the following properties.
- It doesn't require any external scripts or internet connection to work.
- It easily compiles to pdfs (so no pstricks hackery).
Do any such packages exist? An optional bonus would be if it could generate QR codes.


pdflatex -shell-escapewith\usepackage{auto-pst-pdf}is straightforward and allows easy use of of PSTricks and access to a wide range of barcodes and 2-dimensional codes, including QR-codes. There is an entire chapter on these in Voss's book "PSTricks: Grafics mit PostScript fur LaTeX" (7th edn) [6th edition available in English as "PSTricks: Graphics using PostScript for LaTeX"]. – mas Sep 13 '11 at 06:51pdfto the documentclass options (it makes pstricks launchauto-pst-pdf) and add the--enable-write18(MiKTeX) or--shell-escape(TeXLive, MacTeX) switches for pdflatex. – Bernard Aug 31 '14 at 20:58