Barcode-Lib4J requires Java 9+
Package de.vwsoft.barcodelib4j.oned
Java Class «ImplCode93E» – Generate Code 93 Extended Barcode
java.lang.Object
de.vwsoft.barcodelib4j.oned.Barcode
de.vwsoft.barcodelib4j.oned.ImplCode93
de.vwsoft.barcodelib4j.oned.ImplCode93E
- All Implemented Interfaces:
Cloneable
Implementation of Code 93 Extended ("Full ASCII"). To generate instances, please use one of the
newInstance
static methods in the Barcode
class.
Code 93 Extended is a variant of the Code 93
barcode format that supports
a broader range of characters, supporting all 128 ASCII characters.
Barcode scanner configuration: Please note that Code 93 Extended is not technically different from standard Code 93, so a barcode scanner cannot automatically distinguish between the two. To correctly read and interpret Code 93 Extended barcodes, the scanner must be explicitly configured to interpret Code 93 as Extended.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setContent
(String content, boolean autoComplete, boolean appendOptionalChecksum) Sets the content to be encoded in the barcode.Methods inherited from class de.vwsoft.barcodelib4j.oned.Barcode
clone, draw, draw, draw, getAddOn, getContent, getFont, getRatio, getText, getTextOffset, isFontSizeAdjusted, isOptionalChecksumVisible, isTextOnTop, isTextVisible, newInstance, newInstance, setAddOn, setCustomText, setFont, setFontSizeAdjusted, setOptionalChecksumVisible, setRatio, setTextOffset, setTextOnTop, setTextVisible, supportsAddOn, supportsCustomText, supportsOptionalChecksum, supportsRatio, supportsTextOnTop
-
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 classImplCode93
- Parameters:
content
- the content to be encoded in the Code 93 Extended barcodeautoComplete
- has no function in this method implementationappendOptionalChecksum
- has no function, as Code 93 Extended uses a mandatory checksum which is not optional- Throws:
BarcodeException
- if the content is empty or contains non-ASCII characters
-