cbar.php 354 Bytes
Newer Older
Skia's avatar
Skia committed
1
2
<?php

Ayolo's avatar
Ayolo committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$topdir = "../";

include($topdir."include/lib/barcode.inc.php");

$Barcode = $_REQUEST["barcode"];

$barcode_size_x = 200;
$barcode_size_y = 100;
$barcode_xres = 2;

$code = new C128AObject ($barcode_size_x, $barcode_size_y, BCS_ALIGN_CENTER | BCS_IMAGE_PNG | BCS_DRAW_TEXT, $Barcode);
$code->DrawObject($barcode_xres);
$code->FlushObject();

Ayolo's avatar
Ayolo committed
17
?>