From 02608271bb2a9f3a65ed536984d306ee14b48e34 Mon Sep 17 00:00:00 2001 From: Geo Halkiadakis Date: Sun, 12 Jul 2026 15:51:52 +0300 Subject: initialize repository; add docker config; migrate configuration to new specs --- .../barcodes/example_2d_datamatrix_svgi.php | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 public/library/TCPDF/examples/barcodes/example_2d_datamatrix_svgi.php (limited to 'public/library/TCPDF/examples/barcodes/example_2d_datamatrix_svgi.php') 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 @@ +. +// +// 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 +//============================================================+ -- cgit v1.2.3