[pstricks] line break in pst-barcode (qrcode)

Daniel Dehennin daniel.dehennin at baby-gnu.org
Sat Jul 30 19:25:19 CEST 2011


Hello,

I manage to do it, I use the same technique to encode UTF-8 BOM at the
beginning of the QR-Code:

#+begin_src latex
% Byte Order Mark for 2D code with unicode characters
\newcommand{\myutfbom}{^239^187^191}
% Line Feed character
\newcommand{\mylf}{^010}

\psbarcode{\myutfbom BEGIN:VCARD\lf%
  VERSION:3.0\lf%
  N:\lname;\fname\lf%
  ADR;TYPE=home:;;\mystreet;\mycity;;\mypostal;\mycountry\lf%
  TEL;TYPE=home,msg:\mytel\lf%
  EMAIL:\mymail\lf%
  NOTE:GPG \gpgid\ \fpr\lf%
  URL:\myurl\lf%
  END:VCARD%
}{parse}{\usecode}
#+end_src

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20110730/b492e132/attachment.bin>


More information about the PSTricks mailing list