Code 128

Code 128 is one of the 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.

Initially the barcode will have the barcode type's default properties. To change those 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 type on the shortcut menu.

Barcode properties

This topic lists the properties of the barcode type Code 128. For the properties of other barcode types, see Barcode type and properties.

Module width

Specifies the width of the narrow bars in centimeters. Changing this value to a higher value will make the barcode bigger when Scale is set to None.

Code set

Set of characters to be used:

  • A: ASCII characters 00 to 95 (0–9, A–Z and control codes), special characters, and FNC 1–4
  • B: ASCII characters 32 to 127 (0–9, A–Z, a–z), special characters, and FNC 1–4
  • C: 00–99 (encodes each two digits with one code) and FNC 1

In Auto mode, the barcode generator will automatically select the correct encoding mode (set A, B or C) according to the input data.

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.
  • Fit to box: The barcode is stretched to fit the parent box in both width and height.
  • Proportionally: 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, PlanetPress 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, PlanetPress 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).

Color

The Color property 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).

Output format
  • Defines how the barcode is output on the page. There are two possible formats:
    • SVG: Vector format. This is smaller in size, but not compatible with Email output.
    • PNG: Binary rasterized format. This is slightly larger than SVG but will display properly in Email output.
     
    • Last Topic Update: 24/01/2017 09:32
    • Last Published: 7/6/2017 : 9:49 AM