Page 1 of 1

Printing QR Codes with several embedded informations

Posted: Fri Jul 01, 2022 9:04 pm
by Joerg Hamacher
Hi everybody,

one of our customers has a branch in Switzerland and in Switzerland it will be necessary by law - beginning 1st of October - to print a QR-Code on every invoice.

Before telling our customer that we can do this I need your "yes or no" if this can be realized at all with LANSA / LANSA Integrator - I thought of doing this with Integrator's PDF Document Service.

The QR code looks like this:
SwissQRCode.jpg
SwissQRCode.jpg (61.47 KiB) Viewed 7350 times
This QR Code contains several invoice informations like this (we can retrieve these informations from our ERP's data base):

QRType Version Coding Type Konto (IBAN ZE) Adresstyp (ZE) Name (ZE) Strasse oder Adresszeile 1 (ZE) Hausnr. oder Adresszeile 2 (ZE) PLZ (ZE) Ort (ZE) Land (ZE) Adresstyp (EZE) Name (EZE) Strasse oder Adresszeile 1 (EZE) Hausnr. oder Adresszeile 2 (EZE) PLZ (EZE) Ort (EZE) Land (EZE) Betrag Währung Adresstyp (EZP) Name (EZP) Strasse oder Adresszeile 1 (EZP) Hausnr. oder Adresszeile 2 (EZP) PLZ (EZP) Ort (EZP) Land (EZP) Referenztyp Referenz Unstrukturierte Mitteilungen Trailer Rechnungsinformationen AV1 – Parameter AV2 – Parameter

The Swiss Cross is an image that has to be inserted overlapping the QR-Code:
CH-Kreuz_7mm.png
CH-Kreuz_7mm.png (14.36 KiB) Viewed 7350 times
Can I create a QR Code that contains so many informations?
Is it possible to overlap the QR Code with an image?


Many thanks in advance for your informations - best regards,
Joerg

Re: Printing QR Codes with several embedded informations

Posted: Tue Jul 05, 2022 12:54 am
by René Houba
Hi Jörg,

I can remember some email conversations 4 or 5 years ago in the Integrator email group related to this. Will check these for you.

Kind regards,
René

Re: Printing QR Codes with several embedded informations

Posted: Wed Jul 06, 2022 1:49 am
by Joerg Hamacher
Hello René,

thank you for your help.

In the meantime I did some tests and it seems to be feasible with LANSA Integrator and PDFDocumentService. You can overlap the QR code with an image, the QR code remains readable.
I have attached a simple example - maybe it will help someone out there....
It is a VL form and the corresponding XML file that we store in the Integrator directory JSMInstance/SMH - this is referred to in the RDMLX source.


Best regards,
Joerg