Swiss Post Barcode Generator
Description
This plugin generates barcodes compatible with the Swiss post. The barcodes can be added to the address section of letters and contain the franking licence (Frankierlizenz) as well as a unique sequence number (Sendungsnummer) identifying the letter.
May be used by
Properties
Service Code (
serviceCode) Description
The 2-digit service code.
- 98: Used for shipping letters (Briefpost)
Attributes
String
Mandatory
Length <= 2
Length >= 2
Suggested values
98
Franking Licence (
frankingLicence) Description
The 8-digit franking licence (Frankierlizenz) provided by Swiss post. Please enter without punctuation. That is, if the franking licence is 34.065128 please enter 34065128. Include leading zeros.
Attributes
String
Mandatory
Length <= 8
Length >= 8
Example
34065128
Example
00123456
Sequence Generator (
sequenceGenerator) Description
The sequence generator used to generate the unique sequence number.
Attributes
Plugin-Link
Mandatory
Assignable plugins
Width (
width) Description
Width of the barcode image in pixels.
Note:The barcode uses a fixed number of pixels per encoded character. Therefore, the resulting barcode image may contain padding bits to the left and right if the width is larger than required but not large enough to support more bits per character. Widths resulting in little padding are, e.g., 150, 280, 410, or 540.
Attributes
Integer
Optional
Default value
280
Height (
height) Description
Height of the barcode in pixels.
Attributes
Integer
Optional
Default value
30
Margins (
margins) Description
The margins before and after the barcode (horizontally) in pixels. Note that even if margins are set to zero, the resulting barcode may contain padding pixels.
Attributes
Integer
Optional
Default value
0
YAML Template (with default values)
type: SwissPostBarcodeGenerator
id: SwissPostBarcodeGenerator-xxxxxx
displayName:
comment:
properties:
frankingLicence:
height: 30
margins: 0
sequenceGenerator:
serviceCode:
width: 280