| Line | |
|---|
| 1 | <?php
|
|---|
| 2 | // ==============================================
|
|---|
| 3 | // Output Encapsulated Postscript of interleaved 2 of 5
|
|---|
| 4 | // ==============================================
|
|---|
| 5 | require_once ('jpgraph/jpgraph_barcode.php');
|
|---|
| 6 |
|
|---|
| 7 | echo "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');
|
|---|
| 14 | echo nl2br(htmlspecialchars($ps));
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 | ?>
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.