Swiss QR Code
The Swiss QR Code is a specific sub-set of QR barcode standards and is one of the several types of barcodes that can be added to a template; see Barcode.
The barcode can be added either using the Barcode toolbar button or through selecting Insert > Barcode on the menu; see Adding a barcode.
To change a barcode's properties, such as the scale and color, open the Barcode properties dialog: right-click the barcode (on the Design tab in the Workspace) and select the Barcode... option in the context menu.
Instead of using the Script wizard (see Adding a barcode) you could write your own script to get the data for the QR Code.
This topic lists the properties and output options available for Swiss QR barcodes. For the properties of other barcode types, see Barcode type and properties.
Barcode properties
Encoding
This option defines the encoding of the barcode. When Auto is selected, the barcode generator determines the encoding based on the supplied string. The other options are:
-
Numeric: 10 bits per 3 digits, with a maximum of 7089 numerical characters.
-
Alphanumeric: 11 bits per 2 characters, with a maximum of 4296 alphanumerical characters.
-
Byte: 8 bits per character, with a maximum of 2953 characters.
-
Kanji: 13 bits per character, with a maximum of 1817 characters.
FNC
Use the drop-down to either disable FNC or select a FNC option:
-
No: No FNC option.
-
First: This mode indicator identifies symbols encoding data formatted according to the UCC/EAN Application Identifiers.
-
Second: This mode indicator identifies symbols formatted in accordance with specific industry or application specifications previously agreed with AIM International. You must then set a value for the Application Indicator property.
Tilde processing
Check this option to process tilde (~) characters in the data as special characters. (See the Java4less Barcodes Guide to learn what the tilde character can be used for.)
The tilde is expected to be followed by the 'd' character and 3 digits representing an ASCII character: ~dNNN . For example, ~d013 represents a carriage return.
Note that with this option checked, any tilde that needs to be included in the output must be escaped by adding another tilde: ~~.
Barcode output
Color
The Color group allows you to choose a different Barcode color (instead of black) and Background color (instead of white), by typing a hexadecimal color value (see for example w3school's color picker).
When black is a composite of CMYK or RGB values, it may incur a color click charge on some printers. Check the Output in Grayscale option to make sure that pure black is used.
Output format
Defines how the barcode is output on the page. There are two possible formats:
-
SVG: Vector format. This is usually of higher quality, but may take longer to generate and is not compatible with Email output.
-
PNG: Binary rasterized format. This has a slightly lower quality than SVG but is usually generated faster and will display properly in Email output.
Barcode Data
To learn more about the specifications of the Swiss QR code , please see the Swiss Payments Standard page, or download the barcode specification ig-qr-bill-en.pdf.
Note: The Swiss QR code standard dictates that the barcode dimensions must be 46 mm by 46 mm. Please do not change the barcode dimensions in the <div> entry as this will invalidate the barcode.