source: trunk/client/modules/Elezioni/grafici/barcode/examples/barcode_ex3.php@ 430

Last change on this file since 430 was 266, checked in by roby, 6 years ago
File size: 462 bytes
Line 
1<?php
2// ==============================================
3// Output Encapsulated Postscript of interleaved 2 of 5
4// ==============================================
5require_once ('jpgraph/jpgraph_barcode.php');
6
7echo "Start ...<br>";
8$encoder = BarcodeFactory::Create(ENCODING_CODEI25);
9$e = BackendFactory::Create(BACKEND_PS,$encoder);
10$e->SetModuleWidth(2);
11$e->SetHeight(70);
12$e->SetEPS();
13$ps = $e->Stroke('3125134772');
14echo nl2br(htmlspecialchars($ps));
15
16
17?>
Note: See TracBrowser for help on using the repository browser.