Generate AustraliaPost Barcode with Different Format Control Code Options in PHP

Aspose.BarCode - Generate AustraliaPost Barcode

To Generate AustraliaPost Barcode using Aspose.Barcode Java for PHP, simply invoke AustraliaPostBarcode module. Here you can see example code.

PHPCode

 # Instantiate barcode object

$symbology = new Symbology();

$builder = new BarCodeBuilder("1234567890", $symbology->AustraliaPost);

\# Set format control code to standard

$australiaPostFormatControlCode=new AustraliaPostFormatControlCode();

$builder->setAustraliaPostFormatControlCode($australiaPostFormatControlCode->Standard);

\# Save the image to your system and set its image format to Jpeg

$builder->save($dataDir . "AusraliaPost-Barcode.jpg");

\# Display Status

print "Generated Austrailia Post Barcode Successfully.".PHP_EOL;

Download Running Code

Download Generate AustraliaPost Barcode (Aspose.BarCode) from any of the below mentioned social coding sites: