see this post it shows how to make QR code with Lucee 6.2
Of course it can be rewritten to work with older Lucee versions, but will need a bit of work.