Printing QR Codes with several embedded informations

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
Joerg Hamacher
Posts: 124
Joined: Thu Feb 11, 2016 12:01 am

Printing QR Codes with several embedded informations

Post 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 7351 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 7351 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
René Houba
Posts: 220
Joined: Thu Nov 26, 2015 7:03 am

Re: Printing QR Codes with several embedded informations

Post 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é
Joerg Hamacher
Posts: 124
Joined: Thu Feb 11, 2016 12:01 am

Re: Printing QR Codes with several embedded informations

Post 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
Attachments
FORMRDMLX.docx
(12.82 KiB) Downloaded 1054 times
TESTCHXML.docx
(11.44 KiB) Downloaded 1074 times
Post Reply