source:
trunk/client/modules/Elezioni/grafici/barcode/examples/barcode_ex4.php@
266
Last change on this file since 266 was 266, checked in by , 5 years ago | |
---|---|
File size: 352 bytes |
Rev | Line | |
---|---|---|
[266] | 1 | <?php |
2 | // ============================================== | |
3 | // Output Image using Code Interleaved 2 of 5 | |
4 | // ============================================== | |
5 | require_once ('jpgraph/jpgraph_barcode.php'); | |
6 | ||
7 | $encoder = BarcodeFactory::Create(ENCODING_CODEI25); | |
8 | $e = BackendFactory::Create(BACKEND_IMAGE,$encoder); | |
9 | $e->SetModuleWidth(2); | |
10 | $e->Stroke('1234'); | |
11 | ||
12 | ?> |
Note:
See TracBrowser
for help on using the repository browser.