|
5 | 5 | // Last Update : 2013-05-14 |
6 | 6 | // |
7 | 7 | // Description : Example 065 for TCPDF class |
8 | | -// Creates an example PDF/A-1b document using TCPDF |
| 8 | +// Creates an example PDF/A-3b document using TCPDF |
9 | 9 | // |
10 | 10 | // Author: Nicola Asuni |
11 | 11 | // |
|
17 | 17 | //============================================================+ |
18 | 18 |
|
19 | 19 | /** |
20 | | - * Creates an example PDF/A-1b document using TCPDF |
| 20 | + * Creates an example PDF/A-3b document using TCPDF |
21 | 21 | * @package com.tecnick.tcpdf |
22 | | - * @abstract TCPDF - Example: PDF/A-1b mode |
| 22 | + * @abstract TCPDF - Example: PDF/A-3b mode |
23 | 23 | * @author Nicola Asuni |
24 | 24 | * @since 2011-09-28 |
25 | | - * @group A-1b |
| 25 | + * @group A-3b |
26 | 26 | * @group pdf |
27 | 27 | */ |
28 | 28 |
|
29 | 29 | // Include the main TCPDF library (search for installation path). |
30 | 30 | require_once('tcpdf_include.php'); |
31 | 31 |
|
32 | 32 | // create new PDF document |
33 | | -$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false, true); |
| 33 | +$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false, 3); |
34 | 34 |
|
35 | 35 | // set document information |
36 | 36 | $pdf->setCreator(PDF_CREATOR); |
|
80 | 80 |
|
81 | 81 | // Set some content to print |
82 | 82 | $html = <<<EOD |
83 | | -<h1>Example of <a href="http://www.tcpdf.org" style="text-decoration:none;background-color:#CC0000;color:black;"> <span style="color:black;">TC</span><span style="color:white;">PDF</span> </a> document in <span style="background-color:#99ccff;color:black;"> PDF/A-1b </span> mode.</h1> |
84 | | -<i>This document conforms to the standard <b>PDF/A-1b (ISO 19005-1:2005)</b>.</i> |
| 83 | +<h1>Example of <a href="http://www.tcpdf.org" style="text-decoration:none;background-color:#CC0000;color:black;"> <span style="color:black;">TC</span><span style="color:white;">PDF</span> </a> document in <span style="background-color:#99ccff;color:black;"> PDF/A-3b </span> mode.</h1> |
| 84 | +<i>This document conforms to the standard <b>PDF/A-3b (ISO 19005-3:2012)</b>.</i> |
85 | 85 | <p>Please check the source code documentation and other examples for further information (<a href="http://www.tcpdf.org">http://www.tcpdf.org</a>).</p> |
86 | 86 | <p style="color:#CC0000;">TO IMPROVE AND EXPAND TCPDF I NEED YOUR SUPPORT, PLEASE <a href="http://sourceforge.net/donate/index.php?group_id=128076">MAKE A DONATION!</a></p> |
87 | 87 | EOD; |
|
0 commit comments