. // // See LICENSE.TXT file for more information. // ------------------------------------------------------------------- // // Description : Example for tcpdf_barcodes_2d.php class // //============================================================+ /** * @file * Example for tcpdf_barcodes_2d.php class * @package com.tecnick.tcpdf * @author Nicola Asuni * @version 1.0.000 */ // include 1D barcode class (search for installation path) require_once(__DIR__.'/tcpdf_barcodes_1d_include.php'); // set the barcode content and type $barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128'); // output the barcode as PNG image $barcodeobj->getBarcodePNG(2, 30, array(0,0,0)); //============================================================+ // END OF FILE //============================================================+