Barcode-Lib4J requires Java 9+

Java Class «ImplCode39E»  –  Generate Code 39 Extended Barcode

All Implemented Interfaces:
Cloneable

public class ImplCode39E extends ImplCode39
Implementation of Code 39 Extended ("Full ASCII"). To generate instances, please use one of the newInstance static methods in the Barcode class.

Code 39 Extended is a variant of the Code 39 barcode format that supports a broader range of characters, supporting all 128 ASCII characters.

This class extends the abstract class LineageTwoWidth, as Code 39 Extended is a type of two-width barcode. See the linked class description for more information.

Barcode scanner configuration: Please note that Code 39 Extended is not technically different from standard Code 39, so a barcode scanner cannot automatically distinguish between the two. To correctly read and interpret Code 39 Extended barcodes, the scanner must be explicitly configured to interpret Code 39 as Extended.

  • Method Details

    • setContent

      public void setContent(String content, boolean autoComplete, boolean appendOptionalChecksum) throws BarcodeException
      Sets the content to be encoded in the barcode.
      Overrides:
      setContent in class ImplCode39
      Parameters:
      content - the content to be encoded in the Code 39 Extended barcode
      autoComplete - has no function in this method implementation
      appendOptionalChecksum - whether to append an optional checksum to the content
      Throws:
      BarcodeException - if the content is empty or contains non-ASCII characters