datamatrix_ex00.php
1
2
3
4
5
6
7
8
9
<?php
require_once('jpgraph/datamatrix/datamatrix.inc.php');
 
$data = 'The first datamatrix';
 
$encoder = DatamatrixFactory::Create();
$backend = DatamatrixBackendFactory::Create($encoder);
$backend->Stroke($data);
?>