Source for file BarcodeObject
Documentation is available at BarcodeObject
//============================================================+
// Last Update : 2005-01-08
// Author : Karim Mribti [barcode@mribti.com]
// : Nicola Asuni [info@tecnick.com]
// Version : 0.0.8a 2001-04-01 (original code)
// License : GNU LGPL (Lesser General Public License) 2.1
// http://www.gnu.org/copyleft/lesser.txt
// Source Code : http://www.mribti.com/barcode/
// Description : Barcode Image Rendering.
// This version contains changes by Nicola Asuni:
// - code style and formatting
// - automatic php documentation in PhpDocumentor Style
//============================================================+
* Barcode Image Rendering.
* @author Karim Mribti, Nicola Asuni
* @package linea21.externals
* @subpackage com.tecnick.tcpdf
* @version 0.0.8a 2001-04-01 (original code)
* @license http://www.gnu.org/copyleft/lesser.html LGPL
require ("../../shared/barcode/barcode.php");
require ("../../shared/barcode/i25object.php");
require ("../../shared/barcode/c39object.php");
require ("../../shared/barcode/c128aobject.php");
require ("../../shared/barcode/c128bobject.php");
require ("../../shared/barcode/c128cobject.php");
if (!isset ($_REQUEST['type'])) $_REQUEST['type'] = "C39";
if (!isset ($_REQUEST['code'])) $_REQUEST['code'] = "";
$obj = new I25Object($_REQUEST['width'], $_REQUEST['height'], $_REQUEST['style'], $_REQUEST['code']);
$obj = new C128AObject($_REQUEST['width'], $_REQUEST['height'], $_REQUEST['style'], $_REQUEST['code']);
$obj = new C128BObject($_REQUEST['width'], $_REQUEST['height'], $_REQUEST['style'], $_REQUEST['code']);
$obj = new C128CObject($_REQUEST['width'], $_REQUEST['height'], $_REQUEST['style'], $_REQUEST['code']);
$obj = new C39Object($_REQUEST['width'], $_REQUEST['height'], $_REQUEST['style'], $_REQUEST['code']);
$obj->SetFont($_REQUEST['font']);
$obj->DrawObject($_REQUEST['xres']);
//============================================================+
//============================================================+
|