Creating a Pdf417 Barcode in PHP

Aspose.BarCode - Creating a Pdf417 Barcode

To Create a Pdf417 Barcode using Aspose.Barcode Java for PHP, simply invoke CreatingPdf417Barcode module. Here you can see example code.

PHPCode

 # Instantiate barcode object

$builder = new BarCodeBuilder();

$symbology=new Symbology();

$builder->setSymbologyType($symbology->Pdf417);

$builder->setCodeText("12345");

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

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

\# Display Status

print "Created Pdf417 Barcode Successfully.".PHP_EOL;

Download Running Code

Download Creating a Pdf417 Barcode (Aspose.BarCode) from any of the below mentioned social coding sites: