Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
To Use Checksum and Supplement Data for Barcodes using Aspose.Barcode Java for PHP, simply invoke UseChecksumAndSupplementData module. Here you can see example code.
PHPCode
# Instantiate barcode object
$bb = new BarCodeBuilder();
\# Set the Code text for the barcode
$bb->setCodeText("1234567");
\# Set the symbology type to Code39
$symbology=new Symbology();
$bb->setSymbologyType($symbology->Code39Standard);
\# Make the checksum to be visible on the barcode
$enableChecksum=new EnableChecksum();
$bb->setEnableChecksum($enableChecksum->Default);
\# Save the image to disk in JPG format
$bb->save($dataDir . "barcode.jpg");
\# Print message
print "Barcode image generated successfully.".PHP_EOL;
Download Use Checksum and Supplement Data for Barcodes (Aspose.BarCode) from any of the below mentioned social coding sites:
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.