Exercise 28: A QR Code (Solution)
This is a solution to Exercise 28. This document requires LaTeX (DVI format) rather than PDFLaTeX. The shell commands are:latex barcode-qr dvips -o barcode-qr.ps barcode-qr.dvi ps2pdf barcode-qr.psAlternatively use arara.
% arara: latex % arara: dvips % arara: ps2pdf \documentclass{standalone} \usepackage{pst-barcode} \begin{document} \begin{pspicture}(0.8in,0.8in) \psbarcode{http://www.dickimaw-books.com/latex/admin/}{}{qrcode} \end{pspicture} \end{document}
Download barcode-qr.tex or barcode-qr.pdf.