setCreator('tc-lib-pdf'); $pdf->setAuthor('Nicola Asuni'); $pdf->setSubject('tc-lib-pdf example: 012'); $pdf->setTitle('PDF/X-3 Example'); $pdf->setKeywords('TCPDF tc-lib-pdf example pdfx3'); $pdf->setPDFFilename('012_pdfx3.pdf'); $font = $pdf->font->insert($pdf->pon, 'helvetica', '', 12); $pdf->addPage(); $pdf->page->addContent($font['out']); $html = '
Mode: pdfx3
' . 'PDF/X-3 keeps the print-exchange restrictions of early PDF/X while allowing ' . 'color-managed workflows beyond device CMYK.
' . 'Highlights: minimum PDF 1.3 output, output-intent identification, no transparency, ' . 'and no interactive actions that would conflict with print-only delivery.
'; $pdf->addHTMLCell(html: $html, posx: 15, posy: 20, width: 180); $rawpdf = $pdf->getOutPDFString(); $pdf->renderPDF(rawpdf: $rawpdf);