Barcode-Lib4J requires Java 11+

Java Class «ImplCode39E»  –  Barcode «Code 39 Extended»

All Implemented Interfaces:
Cloneable

public class ImplCode39E extends ImplCode39
Implementation of Code 39 Extended ("Full ASCII"). To create instances, 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.

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