source:
trunk/client/modules/Elezioni/grafici/barcode/examples/barcode_ex2.php@
417
Last change on this file since 417 was 266, checked in by , 6 years ago | |
---|---|
File size: 411 bytes |
Line | |
---|---|
1 | <?php |
2 | // ============================================== |
3 | // Output Postscript of nterleaved 2 of 5 |
4 | // ============================================== |
5 | require_once ('jpgraph/jpgraph_barcode.php'); |
6 | |
7 | $encoder = BarcodeFactory::Create(ENCODING_CODEI25); |
8 | $e = BackendFactory::Create(BACKEND_PS,$encoder); |
9 | $e->SetModuleWidth(2); |
10 | $e->SetHeight(70); |
11 | $ps = $e->Stroke('3125134772'); |
12 | echo nl2br(htmlspecialchars($ps)); |
13 | |
14 | ?> |
Note:
See TracBrowser
for help on using the repository browser.