example39_PDFA_compliance.php 892 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. $html = '
  3. <h1>mPDF</h1>
  4. <h2>PDFA Compliance</h2>
  5. <p>PDF/A1-b is a file format for the long-term archiving of electronic documents. This is an example of a PDF/A1-b compliant files.</p>
  6. ';
  7. //==============================================================
  8. //==============================================================
  9. //==============================================================
  10. include("../mpdf.php");
  11. $mpdf=new mPDF();
  12. $mpdf->PDFA = true;
  13. $mpdf->PDFAauto = true;
  14. $mpdf->WriteHTML($html);
  15. $mpdf->Output();
  16. exit;
  17. //==============================================================
  18. //==============================================================
  19. //==============================================================
  20. //==============================================================
  21. //==============================================================
  22. ?>