The pst-barcode package allows printing of barcodes, in a huge
variety of formats, including quick-response (qr) codes (see
documentation for details). As a pstricks package, the package
requires pstricks. The package uses PostScript for calculating
the bars. For PDF output use a multi-pass mechansism such as
pst-pdf.