pdf417_ex0.php
1
2
3
4
5
6
7
8
<?php // content="text/plain; charset=utf-8"
require_once('jpgraph/pdf417/jpgraph_pdf417.php');
 
$data = 'PDF-417';
// Create a new encoder and backend to generate PNG images
$backend = PDF417BackendFactory::Create(BACKEND_IMAGE,new PDF417Barcode());
$backend->Stroke($data);
?>