summaryrefslogtreecommitdiff
path: root/public/library/TCPDF/examples/barcodes
diff options
context:
space:
mode:
authorGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2026-07-12 15:51:52 +0300
committerGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2026-07-12 15:51:52 +0300
commit02608271bb2a9f3a65ed536984d306ee14b48e34 (patch)
tree3f23ec48a694ec014e845c4f70d9b5f1c065403c /public/library/TCPDF/examples/barcodes
downloadkalassa-02608271bb2a9f3a65ed536984d306ee14b48e34.tar.gz
kalassa-02608271bb2a9f3a65ed536984d306ee14b48e34.tar.bz2
kalassa-02608271bb2a9f3a65ed536984d306ee14b48e34.zip
initialize repository; add docker config; migrate configuration to new specsHEADmaster
Diffstat (limited to 'public/library/TCPDF/examples/barcodes')
-rw-r--r--public/library/TCPDF/examples/barcodes/example_1d_html.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_1d_png.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_1d_svg.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_1d_svgi.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_datamatrix_html.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_datamatrix_png.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_datamatrix_svg.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_datamatrix_svgi.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_pdf417_html.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_pdf417_png.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_pdf417_svg.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_pdf417_svgi.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_qrcode_html.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_qrcode_png.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_qrcode_svg.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/example_2d_qrcode_svgi.php53
-rw-r--r--public/library/TCPDF/examples/barcodes/tcpdf_barcodes_1d_include.php37
-rw-r--r--public/library/TCPDF/examples/barcodes/tcpdf_barcodes_2d_include.php37
18 files changed, 922 insertions, 0 deletions
diff --git a/public/library/TCPDF/examples/barcodes/example_1d_html.php b/public/library/TCPDF/examples/barcodes/example_1d_html.php
new file mode 100644
index 0000000..67d22e7
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_1d_html.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_1d_html.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// 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(dirname(__FILE__).'/tcpdf_barcodes_1d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128');
+
+// output the barcode as HTML object
+echo $barcodeobj->getBarcodeHTML(2, 30, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_1d_png.php b/public/library/TCPDF/examples/barcodes/example_1d_png.php
new file mode 100644
index 0000000..9e44909
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_1d_png.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_1d_png.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// 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(dirname(__FILE__).'/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
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_1d_svg.php b/public/library/TCPDF/examples/barcodes/example_1d_svg.php
new file mode 100644
index 0000000..f7b585a
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_1d_svg.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_1d_svg.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// 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(dirname(__FILE__).'/tcpdf_barcodes_1d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128');
+
+// output the barcode as SVG image
+$barcodeobj->getBarcodeSVG(2, 30, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_1d_svgi.php b/public/library/TCPDF/examples/barcodes/example_1d_svgi.php
new file mode 100644
index 0000000..a74a304
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_1d_svgi.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_1d_svgi.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// 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(dirname(__FILE__).'/tcpdf_barcodes_1d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDFBarcode('http://www.tcpdf.org', 'C128');
+
+// output the barcode as SVG inline code
+echo $barcodeobj->getBarcodeSVGcode(2, 40, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_html.php b/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_html.php
new file mode 100644
index 0000000..dc7bab3
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_html.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_html.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// 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.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX');
+
+// output the barcode as HTML object
+echo $barcodeobj->getBarcodeHTML(6, 6, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_png.php b/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_png.php
new file mode 100644
index 0000000..87b7a33
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_png.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_png.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// 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.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX');
+
+// output the barcode as PNG image
+$barcodeobj->getBarcodePNG(6, 6, array(0,0,0));
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_svg.php b/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_svg.php
new file mode 100644
index 0000000..523ebfa
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_svg.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_svg.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// 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.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX');
+
+// output the barcode as SVG image
+$barcodeobj->getBarcodeSVG(6, 6, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_svgi.php b/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_svgi.php
new file mode 100644
index 0000000..4470981
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_datamatrix_svgi.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_svgi.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// 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.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'DATAMATRIX');
+
+// output the barcode as SVG inline code
+echo $barcodeobj->getBarcodeSVGcode(6, 6, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_pdf417_html.php b/public/library/TCPDF/examples/barcodes/example_2d_pdf417_html.php
new file mode 100644
index 0000000..4c4e9ee
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_pdf417_html.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_html.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// 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.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417');
+
+// output the barcode as HTML object
+echo $barcodeobj->getBarcodeHTML(4, 4, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_pdf417_png.php b/public/library/TCPDF/examples/barcodes/example_2d_pdf417_png.php
new file mode 100644
index 0000000..df939bb
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_pdf417_png.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_png.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// 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.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417');
+
+// output the barcode as PNG image
+$barcodeobj->getBarcodePNG(4, 4, array(0,0,0));
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_pdf417_svg.php b/public/library/TCPDF/examples/barcodes/example_2d_pdf417_svg.php
new file mode 100644
index 0000000..fb29ea2
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_pdf417_svg.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_svg.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// 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.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417');
+
+// output the barcode as SVG image
+$barcodeobj->getBarcodeSVG(4, 4, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_pdf417_svgi.php b/public/library/TCPDF/examples/barcodes/example_2d_pdf417_svgi.php
new file mode 100644
index 0000000..94e1c71
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_pdf417_svgi.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_svgi.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// 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.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'PDF417');
+
+// output the barcode as SVG inline code
+echo $barcodeobj->getBarcodeSVGcode(4, 4, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_qrcode_html.php b/public/library/TCPDF/examples/barcodes/example_2d_qrcode_html.php
new file mode 100644
index 0000000..ac828f7
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_qrcode_html.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_html.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// 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.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H');
+
+// output the barcode as HTML object
+echo $barcodeobj->getBarcodeHTML(6, 6, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_qrcode_png.php b/public/library/TCPDF/examples/barcodes/example_2d_qrcode_png.php
new file mode 100644
index 0000000..71f8710
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_qrcode_png.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_png.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// 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.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H');
+
+// output the barcode as PNG image
+$barcodeobj->getBarcodePNG(6, 6, array(0,0,0));
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_qrcode_svg.php b/public/library/TCPDF/examples/barcodes/example_2d_qrcode_svg.php
new file mode 100644
index 0000000..1baa43d
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_qrcode_svg.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_svg.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// 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.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H');
+
+// output the barcode as SVG image
+$barcodeobj->getBarcodeSVG(6, 6, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/example_2d_qrcode_svgi.php b/public/library/TCPDF/examples/barcodes/example_2d_qrcode_svgi.php
new file mode 100644
index 0000000..99d6590
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/example_2d_qrcode_svgi.php
@@ -0,0 +1,53 @@
+<?php
+//============================================================+
+// File name : example_2d_svgi.php
+// Version : 1.0.000
+// Begin : 2011-07-21
+// Last Update : 2013-03-19
+// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
+// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
+// -------------------------------------------------------------------
+// Copyright (C) 2009-2013 Nicola Asuni - Tecnick.com LTD
+//
+// This file is part of TCPDF software library.
+//
+// TCPDF is free software: you can redistribute it and/or modify it
+// under the terms of the GNU Lesser General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// TCPDF is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+// See the GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
+//
+// 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.009
+ */
+
+// include 2D barcode class (search for installation path)
+require_once(dirname(__FILE__).'/tcpdf_barcodes_2d_include.php');
+
+// set the barcode content and type
+$barcodeobj = new TCPDF2DBarcode('http://www.tcpdf.org', 'QRCODE,H');
+
+// output the barcode as SVG inline code
+echo $barcodeobj->getBarcodeSVGcode(6, 6, 'black');
+
+//============================================================+
+// END OF FILE
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/tcpdf_barcodes_1d_include.php b/public/library/TCPDF/examples/barcodes/tcpdf_barcodes_1d_include.php
new file mode 100644
index 0000000..a0bde57
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/tcpdf_barcodes_1d_include.php
@@ -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
+//============================================================+
diff --git a/public/library/TCPDF/examples/barcodes/tcpdf_barcodes_2d_include.php b/public/library/TCPDF/examples/barcodes/tcpdf_barcodes_2d_include.php
new file mode 100644
index 0000000..61c4a8b
--- /dev/null
+++ b/public/library/TCPDF/examples/barcodes/tcpdf_barcodes_2d_include.php
@@ -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
+//============================================================+