Royal Mail 4-State (CBC)
Royal Mail 4-State (CBC) is one of the types of barcodes that can be added to a template; see Barcode.
In PReS Connect versions prior to 2019.2 this barcode was called "Royal Mail 4 State (RM4SCC)".
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.
Note that this type of barcode doesn't process tilde characters (~) in the data as special characters.
This topic lists the properties and output options of the barcode type Royal Mail 4-State (CBC). For the properties of other barcode types, see Barcode type and properties.
Barcode properties
Height, width and spacing
The height, width and spacing of the barcode are all measured in pixels (38 dpi).
-
Bar height: the height of the (shorter) bars.
-
Extended bar height: the total height of the extended bars.
-
Bar width: the width of the bars.
-
Spacing: the distance between the bars.
Scale
Defines if and how the rendered barcode is scaled in relation to the parent element:
-
None: The barcode is rendered based on the module width.
-
Proportional: The barcode is stretched up to where it fits either the width or height of the parent box, whichever requires the less stretching.
Add Checksum
When checked, PReS Connect will calculate a Checksum character and add that to the result of the Barcode script. If the value to be encoded is longer than 10 digits, a second check character will be calculated.
Human Readable Message
When this option is checked, PReS Connect shows a human readable text below or above the barcode, as defined using the Text Position, using the specified font and font size. The font size is given in points (pt).
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.