Blame view

site/jpgraph/Examples/barcode_ex0.php 340 Bytes
8ec98c9f   Guillaume   MAJ
1
2
3
4
5
6
7
8
9
10
11
  <?php
  // ==============================================
  // Output Image using Code 39 using only default values
  // ==============================================
  require_once ('jpgraph/jpgraph_barcode.php');
  
  $encoder = BarcodeFactory::Create(ENCODING_CODE39);
  $e = BackendFactory::Create(BACKEND_IMAGE,$encoder);
  $e->Stroke('ABC123');
  
  ?>