I would like to put a QRCode that contains contact information (VCard). However I don't know how to encode the newline character so VCard is correctly read.
Here is a sample document with QRCode without newline chars (UPDATED: I changed the example to one from de.wikipedia.org, because my iphone qrcode reader does not properly processes the example from en.wikipedia.org)):
\documentclass{article}
\usepackage{pst-barcode}
\begin{document}
\begin{pspicture}(1in,1in)
\obeylines
\psbarcode{%
BEGIN:VCARD
VERSION:3.0
N:Mustermann;Max
FN:Max Mustermann
ORG:Wikipedia
URL:http://de.wikipedia.org/
EMAIL;TYPE=INTERNET:max.mustermann@example.org
TEL;TYPE=voice,work,pref:+49 1234 56788
ADR;TYPE=intl,work,postal,parcel:;;Musterstraße 1;Musterstadt;;12345;Germany
END:VCARD
}{width=2.0 height=2.0}{qrcode}%
\end{pspicture}
\end{document}
I have found a similar question on tug.org, the conclusion was that you need to modify the generated PostScript. I wonder if there is another solution.