setCreator('tc-lib-pdf'); $pdf->setAuthor('Nicola Asuni'); $pdf->setSubject('tc-lib-pdf example: 014'); $pdf->setTitle('PDF/X-5 Example'); $pdf->setKeywords('TCPDF tc-lib-pdf example pdfx5'); $pdf->setPDFFilename('014_pdfx5.pdf'); $font = $pdf->font->insert($pdf->pon, 'helvetica', '', 12); $pdf->addPage(); $pdf->page->addContent($font['out']); $html = '

PDF/X-5

' . '

Mode: pdfx5

' . '

PDF/X-5 builds on the PDF/X-4 family for more advanced print workflows and external references.

' . '

Highlights: minimum PDF 1.6 output, transparency retained, modern PDF/X identification, ' . 'and the same print-safe suppression of unsupported interactive actions.

'; $pdf->addHTMLCell(html: $html, posx: 15, posy: 20, width: 180); $rawpdf = $pdf->getOutPDFString(); $pdf->renderPDF(rawpdf: $rawpdf);