About
Shop
LaTeX
Software
Books
Gallery
News
Contact
Blog
Settings

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.ps
Alternatively 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.

© 2015 Dickimaw Books. "Dickimaw", "Dickimaw Books" and the Dickimaw parrot logo are trademarks. The Dickimaw parrot was painted by Magdalene Pritchett.

Terms of Use Privacy Policy Cookies Site Map FAQs