Thanks Ingo,

If it's not working OOTB, could we have that contributed?

TIA

Jacques

Le 22/08/2023 à 20:36, Ingo Wolfmayr a écrit :
Hi Mandar,

I generate them in Java or Groovy, using the generateQRCodeImage service:

Map<String, Object> qrMap = UtilMisc.<String, Object>toMap("message", yourData,
                         "height", 200, "width", 200);
Map<String, Object> qrCodeResult = 
this.dispatcher.runSync("generateQRCodeImage", qrMap);
if (qrCodeResult != null && qrCodeResult.get("bufferedImage") != null) {
         BufferedImage qrCode = (BufferedImage) 
qrCodeResult.get("bufferedImage");
...
}

Then use this image in the xsl-fo code.

Best regards,
Ingo

-----Ursprüngliche Nachricht-----
Von: Mandar K <[email protected]>
Gesendet: Dienstag, 22. August 2023 19:51
An: ofbizuser <[email protected]>
Betreff: QR code creation

Hi Team, requesting urgent input.

How to create QR code in pdf.

The one shown in the demo example is not working.

Thank you.

Reply via email to