Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Maybe easy question but i tried searching for answer without any luck. (could be on wrong sites).

If anyone knows how can i make 2DPDF (PDF417) bar codes in LaTeX ?

share|improve this question
1  
Welcome to TeX.SX. –  Claudio Fiandrino Feb 14 '13 at 10:28
add comment

2 Answers

pst-barcode can do this. Since it requires PSTricks, you need to compile this using xelatex or latex. If you want to use pdflatex, you can add \usepackage{auto-pst-pdf} to the preamble:

\documentclass{article}
\usepackage{pst-barcode}
\usepackage{auto-pst-pdf}
\begin{document}
\begin{pspicture}(2in,0.3in)
\psbarcode{0123456789}{}{pdf417}
\end{pspicture}
\end{document}
share|improve this answer
    
Ok thanks, have to check and see possibility of installing additional packages. –  Melkior Feb 14 '13 at 15:29
    
@Jake I guess your solution doesn't work on Windows. I get this error: Package ifplatform Warning: shell escape is disabled, so I can only detect \ifwindows. ) \c@app@runs=\count111 ! Package auto-pst-pdf Error: "shell escape" (or "write18") is not enabled: auto-pst-pdf will not work! –  maksmara Jan 29 at 5:44
add comment

I googled your question and I found two useful posts about barcode generation in LaTex, hope it can be of some help

  1. Is there a good LaTeX package for generating barcodes?
  2. Barcodes in LaTeX
share|improve this answer
2  
Welcome to TeX.sx! –  texenthusiast Mar 5 '13 at 3:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.