mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-11-25 13:57:33 +00:00
6.0.018 (2013-05-19)
- The barcode examples were changed to automatically search for the barcode class path (in case the examples directory is not installed under the TCPDF root).
This commit is contained in:
parent
246dc8bc3a
commit
9a03e8743c
@ -1,3 +1,6 @@
|
|||||||
|
6.0.018 (2013-05-19)
|
||||||
|
- The barcode examples were changed to automatically search for the barcode class path (in case the examples directory is not installed under the TCPDF root).
|
||||||
|
|
||||||
6.0.017 (2013-05-16)
|
6.0.017 (2013-05-16)
|
||||||
- The command line tool tcpdf_addfont.php was improved.
|
- The command line tool tcpdf_addfont.php was improved.
|
||||||
- The php logic was removed from configuration files that now contains only constant defines.
|
- The php logic was removed from configuration files that now contains only constant defines.
|
||||||
|
@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
|||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Name: TCPDF
|
Name: TCPDF
|
||||||
Version: 6.0.017
|
Version: 6.0.018
|
||||||
Release date: 2013-05-16
|
Release date: 2013-05-19
|
||||||
Author: Nicola Asuni
|
Author: Nicola Asuni
|
||||||
|
|
||||||
Copyright (c) 2002-2013:
|
Copyright (c) 2002-2013:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "tecnick.com/tcpdf",
|
"name": "tecnick.com/tcpdf",
|
||||||
"version": "6.0.017",
|
"version": "6.0.018",
|
||||||
"homepage": "http://www.tcpdf.org/",
|
"homepage": "http://www.tcpdf.org/",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"description": "TCPDF is a PHP class for generating PDF documents.",
|
"description": "TCPDF is a PHP class for generating PDF documents.",
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// File name : example_1d_html.php
|
// File name : example_1d_html.php
|
||||||
// Version : 1.0.000
|
// Version : 1.0.000
|
||||||
// Begin : 2011-07-21
|
// Begin : 2011-07-21
|
||||||
// Last Update : 2013-03-17
|
// Last Update : 2013-03-19
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -27,20 +27,20 @@
|
|||||||
// See LICENSE.TXT file for more information.
|
// See LICENSE.TXT file for more information.
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// Description : Example for tcpdf_barcodes_1d.php class
|
// Description : Example for tcpdf_barcodes_2d.php class
|
||||||
//
|
//
|
||||||
//============================================================+
|
//============================================================+
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* Example for tcpdf_barcodes_1d.php class
|
* Example for tcpdf_barcodes_2d.php class
|
||||||
* @package com.tecnick.tcpdf
|
* @package com.tecnick.tcpdf
|
||||||
* @author Nicola Asuni
|
* @author Nicola Asuni
|
||||||
* @version 1.0.000
|
* @version 1.0.000
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include 1D barcode class
|
// include 1D barcode class (search for installation path)
|
||||||
require_once(dirname(__FILE__).'/../../tcpdf_barcodes_1d.php');
|
require_once(__DIR__.'/tcpdf_barcodes_1d_include.php');
|
||||||
|
|
||||||
// set the barcode content and type
|
// set the barcode content and type
|
||||||
$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128');
|
$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128');
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// File name : example_1d_png.php
|
// File name : example_1d_png.php
|
||||||
// Version : 1.0.000
|
// Version : 1.0.000
|
||||||
// Begin : 2011-07-21
|
// Begin : 2011-07-21
|
||||||
// Last Update : 2013-03-17
|
// Last Update : 2013-03-19
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -27,20 +27,20 @@
|
|||||||
// See LICENSE.TXT file for more information.
|
// See LICENSE.TXT file for more information.
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// Description : Example for tcpdf_barcodes_1d.php class
|
// Description : Example for tcpdf_barcodes_2d.php class
|
||||||
//
|
//
|
||||||
//============================================================+
|
//============================================================+
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* Example for tcpdf_barcodes_1d.php class
|
* Example for tcpdf_barcodes_2d.php class
|
||||||
* @package com.tecnick.tcpdf
|
* @package com.tecnick.tcpdf
|
||||||
* @author Nicola Asuni
|
* @author Nicola Asuni
|
||||||
* @version 1.0.000
|
* @version 1.0.000
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include 1D barcode class
|
// include 1D barcode class (search for installation path)
|
||||||
require_once(dirname(__FILE__).'/../../tcpdf_barcodes_1d.php');
|
require_once(__DIR__.'/tcpdf_barcodes_1d_include.php');
|
||||||
|
|
||||||
// set the barcode content and type
|
// set the barcode content and type
|
||||||
$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128');
|
$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128');
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// File name : example_1d_svg.php
|
// File name : example_1d_svg.php
|
||||||
// Version : 1.0.000
|
// Version : 1.0.000
|
||||||
// Begin : 2011-07-21
|
// Begin : 2011-07-21
|
||||||
// Last Update : 2013-03-17
|
// Last Update : 2013-03-19
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -27,20 +27,20 @@
|
|||||||
// See LICENSE.TXT file for more information.
|
// See LICENSE.TXT file for more information.
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// Description : Example for tcpdf_barcodes_1d.php class
|
// Description : Example for tcpdf_barcodes_2d.php class
|
||||||
//
|
//
|
||||||
//============================================================+
|
//============================================================+
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* Example for tcpdf_barcodes_1d.php class
|
* Example for tcpdf_barcodes_2d.php class
|
||||||
* @package com.tecnick.tcpdf
|
* @package com.tecnick.tcpdf
|
||||||
* @author Nicola Asuni
|
* @author Nicola Asuni
|
||||||
* @version 1.0.000
|
* @version 1.0.000
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include 1D barcode class
|
// include 1D barcode class (search for installation path)
|
||||||
require_once(dirname(__FILE__).'/../../tcpdf_barcodes_1d.php');
|
require_once(__DIR__.'/tcpdf_barcodes_1d_include.php');
|
||||||
|
|
||||||
// set the barcode content and type
|
// set the barcode content and type
|
||||||
$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128');
|
$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128');
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// File name : example_1d_svgi.php
|
// File name : example_1d_svgi.php
|
||||||
// Version : 1.0.000
|
// Version : 1.0.000
|
||||||
// Begin : 2011-07-21
|
// Begin : 2011-07-21
|
||||||
// Last Update : 2013-03-17
|
// Last Update : 2013-03-19
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -27,20 +27,20 @@
|
|||||||
// See LICENSE.TXT file for more information.
|
// See LICENSE.TXT file for more information.
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// Description : Example for tcpdf_barcodes_1d.php class
|
// Description : Example for tcpdf_barcodes_2d.php class
|
||||||
//
|
//
|
||||||
//============================================================+
|
//============================================================+
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* Example for tcpdf_barcodes_1d.php class
|
* Example for tcpdf_barcodes_2d.php class
|
||||||
* @package com.tecnick.tcpdf
|
* @package com.tecnick.tcpdf
|
||||||
* @author Nicola Asuni
|
* @author Nicola Asuni
|
||||||
* @version 1.0.000
|
* @version 1.0.000
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include 1D barcode class
|
// include 1D barcode class (search for installation path)
|
||||||
require_once(dirname(__FILE__).'/../../tcpdf_barcodes_1d.php');
|
require_once(__DIR__.'/tcpdf_barcodes_1d_include.php');
|
||||||
|
|
||||||
// set the barcode content and type
|
// set the barcode content and type
|
||||||
$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128');
|
$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128');
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// File name : example_2d_html.php
|
// File name : example_2d_html.php
|
||||||
// Version : 1.0.000
|
// Version : 1.0.000
|
||||||
// Begin : 2011-07-21
|
// Begin : 2011-07-21
|
||||||
// Last Update : 2013-03-17
|
// Last Update : 2013-03-19
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -39,8 +39,8 @@
|
|||||||
* @version 1.0.009
|
* @version 1.0.009
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include 2D barcode class
|
// include 2D barcode class (search for installation path)
|
||||||
require_once(dirname(__FILE__).'/../../tcpdf_barcodes_2d.php');
|
require_once(__DIR__.'/tcpdf_barcodes_2d_include.php');
|
||||||
|
|
||||||
// set the barcode content and type
|
// set the barcode content and type
|
||||||
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX');
|
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX');
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// File name : example_2d_png.php
|
// File name : example_2d_png.php
|
||||||
// Version : 1.0.000
|
// Version : 1.0.000
|
||||||
// Begin : 2011-07-21
|
// Begin : 2011-07-21
|
||||||
// Last Update : 2013-03-17
|
// Last Update : 2013-03-19
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -39,8 +39,8 @@
|
|||||||
* @version 1.0.009
|
* @version 1.0.009
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include 2D barcode class
|
// include 2D barcode class (search for installation path)
|
||||||
require_once(dirname(__FILE__).'/../../tcpdf_barcodes_2d.php');
|
require_once(__DIR__.'/tcpdf_barcodes_2d_include.php');
|
||||||
|
|
||||||
// set the barcode content and type
|
// set the barcode content and type
|
||||||
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX');
|
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX');
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// File name : example_2d_svg.php
|
// File name : example_2d_svg.php
|
||||||
// Version : 1.0.000
|
// Version : 1.0.000
|
||||||
// Begin : 2011-07-21
|
// Begin : 2011-07-21
|
||||||
// Last Update : 2013-03-17
|
// Last Update : 2013-03-19
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -39,8 +39,8 @@
|
|||||||
* @version 1.0.009
|
* @version 1.0.009
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include 2D barcode class
|
// include 2D barcode class (search for installation path)
|
||||||
require_once(dirname(__FILE__).'/../../tcpdf_barcodes_2d.php');
|
require_once(__DIR__.'/tcpdf_barcodes_2d_include.php');
|
||||||
|
|
||||||
// set the barcode content and type
|
// set the barcode content and type
|
||||||
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX');
|
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX');
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// File name : example_2d_svgi.php
|
// File name : example_2d_svgi.php
|
||||||
// Version : 1.0.000
|
// Version : 1.0.000
|
||||||
// Begin : 2011-07-21
|
// Begin : 2011-07-21
|
||||||
// Last Update : 2013-03-17
|
// Last Update : 2013-03-19
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -39,8 +39,8 @@
|
|||||||
* @version 1.0.009
|
* @version 1.0.009
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include 2D barcode class
|
// include 2D barcode class (search for installation path)
|
||||||
require_once(dirname(__FILE__).'/../../tcpdf_barcodes_2d.php');
|
require_once(__DIR__.'/tcpdf_barcodes_2d_include.php');
|
||||||
|
|
||||||
// set the barcode content and type
|
// set the barcode content and type
|
||||||
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX');
|
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX');
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// File name : example_2d_html.php
|
// File name : example_2d_html.php
|
||||||
// Version : 1.0.000
|
// Version : 1.0.000
|
||||||
// Begin : 2011-07-21
|
// Begin : 2011-07-21
|
||||||
// Last Update : 2013-03-17
|
// Last Update : 2013-03-19
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -39,8 +39,8 @@
|
|||||||
* @version 1.0.009
|
* @version 1.0.009
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include 2D barcode class
|
// include 2D barcode class (search for installation path)
|
||||||
require_once(dirname(__FILE__).'/../../tcpdf_barcodes_2d.php');
|
require_once(__DIR__.'/tcpdf_barcodes_2d_include.php');
|
||||||
|
|
||||||
// set the barcode content and type
|
// set the barcode content and type
|
||||||
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417');
|
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417');
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// File name : example_2d_png.php
|
// File name : example_2d_png.php
|
||||||
// Version : 1.0.000
|
// Version : 1.0.000
|
||||||
// Begin : 2011-07-21
|
// Begin : 2011-07-21
|
||||||
// Last Update : 2013-03-17
|
// Last Update : 2013-03-19
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -39,8 +39,8 @@
|
|||||||
* @version 1.0.009
|
* @version 1.0.009
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include 2D barcode class
|
// include 2D barcode class (search for installation path)
|
||||||
require_once(dirname(__FILE__).'/../../tcpdf_barcodes_2d.php');
|
require_once(__DIR__.'/tcpdf_barcodes_2d_include.php');
|
||||||
|
|
||||||
// set the barcode content and type
|
// set the barcode content and type
|
||||||
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417');
|
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417');
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// File name : example_2d_svg.php
|
// File name : example_2d_svg.php
|
||||||
// Version : 1.0.000
|
// Version : 1.0.000
|
||||||
// Begin : 2011-07-21
|
// Begin : 2011-07-21
|
||||||
// Last Update : 2013-03-17
|
// Last Update : 2013-03-19
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -39,8 +39,8 @@
|
|||||||
* @version 1.0.009
|
* @version 1.0.009
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include 2D barcode class
|
// include 2D barcode class (search for installation path)
|
||||||
require_once(dirname(__FILE__).'/../../tcpdf_barcodes_2d.php');
|
require_once(__DIR__.'/tcpdf_barcodes_2d_include.php');
|
||||||
|
|
||||||
// set the barcode content and type
|
// set the barcode content and type
|
||||||
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417');
|
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417');
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// File name : example_2d_svgi.php
|
// File name : example_2d_svgi.php
|
||||||
// Version : 1.0.000
|
// Version : 1.0.000
|
||||||
// Begin : 2011-07-21
|
// Begin : 2011-07-21
|
||||||
// Last Update : 2013-03-17
|
// Last Update : 2013-03-19
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -39,8 +39,8 @@
|
|||||||
* @version 1.0.009
|
* @version 1.0.009
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include 2D barcode class
|
// include 2D barcode class (search for installation path)
|
||||||
require_once(dirname(__FILE__).'/../../tcpdf_barcodes_2d.php');
|
require_once(__DIR__.'/tcpdf_barcodes_2d_include.php');
|
||||||
|
|
||||||
// set the barcode content and type
|
// set the barcode content and type
|
||||||
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417');
|
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417');
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// File name : example_2d_html.php
|
// File name : example_2d_html.php
|
||||||
// Version : 1.0.000
|
// Version : 1.0.000
|
||||||
// Begin : 2011-07-21
|
// Begin : 2011-07-21
|
||||||
// Last Update : 2013-03-17
|
// Last Update : 2013-03-19
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -39,8 +39,8 @@
|
|||||||
* @version 1.0.009
|
* @version 1.0.009
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include 2D barcode class
|
// include 2D barcode class (search for installation path)
|
||||||
require_once(dirname(__FILE__).'/../../tcpdf_barcodes_2d.php');
|
require_once(__DIR__.'/tcpdf_barcodes_2d_include.php');
|
||||||
|
|
||||||
// set the barcode content and type
|
// set the barcode content and type
|
||||||
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H');
|
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H');
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// File name : example_2d_png.php
|
// File name : example_2d_png.php
|
||||||
// Version : 1.0.000
|
// Version : 1.0.000
|
||||||
// Begin : 2011-07-21
|
// Begin : 2011-07-21
|
||||||
// Last Update : 2013-03-17
|
// Last Update : 2013-03-19
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -39,8 +39,8 @@
|
|||||||
* @version 1.0.009
|
* @version 1.0.009
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include 2D barcode class
|
// include 2D barcode class (search for installation path)
|
||||||
require_once(dirname(__FILE__).'/../../tcpdf_barcodes_2d.php');
|
require_once(__DIR__.'/tcpdf_barcodes_2d_include.php');
|
||||||
|
|
||||||
// set the barcode content and type
|
// set the barcode content and type
|
||||||
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H');
|
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H');
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// File name : example_2d_svg.php
|
// File name : example_2d_svg.php
|
||||||
// Version : 1.0.000
|
// Version : 1.0.000
|
||||||
// Begin : 2011-07-21
|
// Begin : 2011-07-21
|
||||||
// Last Update : 2013-03-17
|
// Last Update : 2013-03-19
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -39,8 +39,8 @@
|
|||||||
* @version 1.0.009
|
* @version 1.0.009
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include 2D barcode class
|
// include 2D barcode class (search for installation path)
|
||||||
require_once(dirname(__FILE__).'/../../tcpdf_barcodes_2d.php');
|
require_once(__DIR__.'/tcpdf_barcodes_2d_include.php');
|
||||||
|
|
||||||
// set the barcode content and type
|
// set the barcode content and type
|
||||||
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H');
|
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H');
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// File name : example_2d_svgi.php
|
// File name : example_2d_svgi.php
|
||||||
// Version : 1.0.000
|
// Version : 1.0.000
|
||||||
// Begin : 2011-07-21
|
// Begin : 2011-07-21
|
||||||
// Last Update : 2013-03-17
|
// Last Update : 2013-03-19
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -39,8 +39,8 @@
|
|||||||
* @version 1.0.009
|
* @version 1.0.009
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include 2D barcode class
|
// include 2D barcode class (search for installation path)
|
||||||
require_once(dirname(__FILE__).'/../../tcpdf_barcodes_2d.php');
|
require_once(__DIR__.'/tcpdf_barcodes_2d_include.php');
|
||||||
|
|
||||||
// set the barcode content and type
|
// set the barcode content and type
|
||||||
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H');
|
$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H');
|
||||||
|
37
examples/barcodes/tcpdf_barcodes_1d_include.php
Normal file
37
examples/barcodes/tcpdf_barcodes_1d_include.php
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<?php
|
||||||
|
//============================================================+
|
||||||
|
// File name : tcpdf_barcodes_1d_include.php
|
||||||
|
// Begin : 2013-05-19
|
||||||
|
// Last Update : 2013-05-19
|
||||||
|
//
|
||||||
|
// Description : Search and include the TCPDF Barcode 1D class.
|
||||||
|
//
|
||||||
|
// Author: Nicola Asuni
|
||||||
|
//
|
||||||
|
// (c) Copyright:
|
||||||
|
// Nicola Asuni
|
||||||
|
// Tecnick.com LTD
|
||||||
|
// www.tecnick.com
|
||||||
|
// info@tecnick.com
|
||||||
|
//============================================================+
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Search and include the TCPDF Barcode 1D class.
|
||||||
|
* @package com.tecnick.tcpdf
|
||||||
|
* @abstract TCPDF - Include the main class.
|
||||||
|
* @author Nicola Asuni
|
||||||
|
* @since 2013-05-19
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Include the TCPDF 1D barcode class (search the class on the following directories).
|
||||||
|
$tcpdf_barcodes_1d_include_dirs = array(realpath('../../tcpdf_barcodes_1d.php'), '/usr/share/php/tcpdf/tcpdf_barcodes_1d.php', '/usr/share/tcpdf/tcpdf_barcodes_1d.php', '/usr/share/php-tcpdf/tcpdf_barcodes_1d.php', '/var/www/tcpdf/tcpdf_barcodes_1d.php', '/var/www/html/tcpdf/tcpdf_barcodes_1d.php', '/usr/local/apache2/htdocs/tcpdf/tcpdf_barcodes_1d.php');
|
||||||
|
foreach ($tcpdf_barcodes_1d_include_dirs as $tcpdf_barcodes_1d_include_path) {
|
||||||
|
if (file_exists($tcpdf_barcodes_1d_include_path)) {
|
||||||
|
require_once($tcpdf_barcodes_1d_include_path);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//============================================================+
|
||||||
|
// END OF FILE
|
||||||
|
//============================================================+
|
37
examples/barcodes/tcpdf_barcodes_2d_include.php
Normal file
37
examples/barcodes/tcpdf_barcodes_2d_include.php
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<?php
|
||||||
|
//============================================================+
|
||||||
|
// File name : tcpdf_barcodes_2d_include.php
|
||||||
|
// Begin : 2013-05-19
|
||||||
|
// Last Update : 2013-05-19
|
||||||
|
//
|
||||||
|
// Description : Search and include the TCPDF Barcode 1D class.
|
||||||
|
//
|
||||||
|
// Author: Nicola Asuni
|
||||||
|
//
|
||||||
|
// (c) Copyright:
|
||||||
|
// Nicola Asuni
|
||||||
|
// Tecnick.com LTD
|
||||||
|
// www.tecnick.com
|
||||||
|
// info@tecnick.com
|
||||||
|
//============================================================+
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Search and include the TCPDF Barcode 2D class.
|
||||||
|
* @package com.tecnick.tcpdf
|
||||||
|
* @abstract TCPDF - Include the main class.
|
||||||
|
* @author Nicola Asuni
|
||||||
|
* @since 2013-05-19
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Include the TCPDF 2D barcode class (search the class on the following directories).
|
||||||
|
$tcpdf_barcodes_2d_include_dirs = array(realpath('../../tcpdf_barcodes_2d.php'), '/usr/share/php/tcpdf/tcpdf_barcodes_2d.php', '/usr/share/tcpdf/tcpdf_barcodes_2d.php', '/usr/share/php-tcpdf/tcpdf_barcodes_2d.php', '/var/www/tcpdf/tcpdf_barcodes_2d.php', '/var/www/html/tcpdf/tcpdf_barcodes_2d.php', '/usr/local/apache2/htdocs/tcpdf/tcpdf_barcodes_2d.php');
|
||||||
|
foreach ($tcpdf_barcodes_2d_include_dirs as $tcpdf_barcodes_2d_include_path) {
|
||||||
|
if (file_exists($tcpdf_barcodes_2d_include_path)) {
|
||||||
|
require_once($tcpdf_barcodes_2d_include_path);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//============================================================+
|
||||||
|
// END OF FILE
|
||||||
|
//============================================================+
|
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
//============================================================+
|
//============================================================+
|
||||||
// File name : tcpdf.php
|
// File name : tcpdf.php
|
||||||
// Version : 6.0.017
|
// Version : 6.0.018
|
||||||
// Begin : 2002-08-03
|
// Begin : 2002-08-03
|
||||||
// Last Update : 2013-05-16
|
// Last Update : 2013-05-19
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -139,7 +139,7 @@
|
|||||||
* Tools to encode your unicode fonts are on fonts/utils directory.</p>
|
* Tools to encode your unicode fonts are on fonts/utils directory.</p>
|
||||||
* @package com.tecnick.tcpdf
|
* @package com.tecnick.tcpdf
|
||||||
* @author Nicola Asuni
|
* @author Nicola Asuni
|
||||||
* @version 6.0.017
|
* @version 6.0.018
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// TCPDF configuration
|
// TCPDF configuration
|
||||||
@ -163,7 +163,7 @@ require_once(__DIR__.'/include/tcpdf_static.php');
|
|||||||
* TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br>
|
* TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br>
|
||||||
* @package com.tecnick.tcpdf
|
* @package com.tecnick.tcpdf
|
||||||
* @brief PHP class for generating PDF documents without requiring external extensions.
|
* @brief PHP class for generating PDF documents without requiring external extensions.
|
||||||
* @version 6.0.017
|
* @version 6.0.018
|
||||||
* @author Nicola Asuni - info@tecnick.com
|
* @author Nicola Asuni - info@tecnick.com
|
||||||
*/
|
*/
|
||||||
class TCPDF {
|
class TCPDF {
|
||||||
|
Loading…
Reference in New Issue
Block a user