source:
trunk/xgraph/jpgraph/barcode/examples/barcode_ex0.php
| Last change on this file was 42, checked in by , 11 years ago | |
|---|---|
| File size: 351 bytes | |
| Line | |
|---|---|
| 1 | <?php |
| 2 | // ============================================== |
| 3 | // Output Image using Code 39 using only default values |
| 4 | // ============================================== |
| 5 | require_once ('jpgraph/jpgraph_barcode.php'); |
| 6 | |
| 7 | $encoder = BarcodeFactory::Create(ENCODING_CODE39); |
| 8 | $e = BackendFactory::Create(BACKEND_IMAGE,$encoder); |
| 9 | $e->Stroke('ABC123'); |
| 10 | |
| 11 | ?> |
Note:
See TracBrowser
for help on using the repository browser.
