On this Page

    Code 128

    Code 128 is a popular barcode that supports a full alphanumeric character set. In order to achieve compactness in their rendering, they support three different encoding tables known as Code 128 A, Code 128 B, and Code 128 C.

    A useful reference:

    How Barcodes Work by University of Washington

    Historically you actually had to know that and choose between the different encodings, but DocOrigin does not require you to know that. It uses "adaptive encoding" – choosing the best performing (most compact) encoding automatically.

    There is no more explicit dropping into code set C, versus code set B, etc. Just supply the data and DocOrigin will do the rest. As always – supply the data, and let the rendering engine decide on presentment.

    GS1-128 barcodes - a variant of Barcode 128.

    Support for the GS1-128 subset is enabled by setting the Barcode128-GS1 option.

    A useful reference:

    GS1 General Specifications

    especially the chapter: GS1-128 symbology specifications.

    Merge generates all of the FNC1 characters that are required. Merge may also generate all of the Modulo-10 check digits that may be required. Generation of the Modulo-10 check digit is defined by Barcode128-GS1CheckSum.

    Merge expects the data for Gs1-128 bar code to be supplied in the following format:

    (AI1)Data1(AI2)Data2...

    Where AI1 AI2 etc are GS1 Application Identifiers and Data1, Data2, etc. are GS1 Application Identifier data fields, as described by the GS1 specification.

    Note that the data must always include a character at the position the check digit is required, if Barcode-128GS1Checksum is set to Y, the check character will be replaced (not inserted).

    SSCC Serial Shipping Container Code

    The Serial Shipping Container Code is a GS1-128 code with Application Identifier (00). Unlike most Application Identifiers, the SSCC Application Identifier and its associated data may not be combined with other fields in the same barcode. Gs1-128 Above.

    Options

    • Barcode128Text Y - if Yes adds human-readable text below the barcode.
    • Barcode128Esc N - enable the use of >8 to set a GS1-128 FNC1 code.
    • Barcode128CharacterSet 8859-1 - the encoding character set to use.
    • Barcode128-GS1 N - switch to GS1 variant of Barcode128. Sets Barcode128Esc to Y.
    • Barcode128-GS1CheckSum N - used when generating GS1 variant to automatically create a GS1 checksum.
    • Barcode128BarWidth 0 - set width of narrowest bar. See Barcode Bar Widths section above.