It’s this time of the year when everyone asks for donations.
Here’s how you make an EPC QR code for SEPA transfers with ConTeXt LMTX:

\startluacode
local sum = 50.0
local subject = "Donation"
local qrtext=string.format([[BCD
002
1
SCT
RABONL2U
ConTeXt Group
NL04RABO0163223726
EUR%.02f
CHAR
%s
]], sum, subject)
figures.qrcode(qrtext,"blue",tex.sp("5cm"))
\stopluacode

Feel free to make use of the code! ;)

According to
https://en.wikipedia.org/wiki/EPC_QR_code
it works with banks in Austria, Belgium, Finland, Germany, and The Netherlands.

Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to