Is there a central library for generating a Swiss QR Code?
Every ERP software publisher and each bank has its preferred programming language on their preferred operating system. The financial center has decided against a central library because there are enough established open source or licensed libraries for generating QR codes on the market.
This simple code example in Java 1.7, which was created using the widely-used ZXing open source library, shows how a Swiss QR Code can be generated.
How do I integrate the Swiss cross in the Swiss QR Code?
To integrate the Swiss cross, you only need to overlay the QR code, centered, with the appropriate image – respecting the proper and length and width ratios.
This simple code example in Java 1.7 which was created using the widely used ZXing open source library, provides support for generating the Swiss QR Code.
In the Swiss QR Code, the character series CR + LF (0x0d + 0x0a) is used as as separator for the individual data elements. Can only the character CR (or LF) be used instead?
The character series CR + LF was specified to be able to ensure the maximum size of the QR code – regardless of the hardware platform or code library used. The use of CR or LF alone, however, is also possible, since it thereby does not result in a exceeding the maximum size of the Swiss QR Code.
May the element separator used (CR + LF / LF or CR) also be used within a data element (e.g. line return in "Additional information")?
No. The separator may only be delivered at the end, not within a data element.
Why is there a line return within the “Additional information” in the payment part “Information section” in example 1 in the Implementation Guidelines on page 31?
There are no binding specifications for the formatting in the "Information section". The rule that apply for the data structure of the QR code need not be considered here. Accordingly, due to restricted space on the payment part or in order to improve readability, it may be necessary to provide the printed text with additional line returns.
Does the element separator used in the Swiss QR Code be considered in the maximum character count of an element?
No. The information pertaining to the maximum character count always relates to the net data without element separators.