PDF

From OpenEMR Project Wiki
Revision as of 04:25, 19 April 2017 by Bradymiller (talk | contribs)

OpenEMR 5.0.0 and above

Overview

The html2pdf library was upgraded, which removed fpdf and added tcpdf. To continue to support labels, the fpdf label was then added back. In future, plan to get the labels to work with tcpdf, of which work was started on here(Needs lots of testing and ensuring all the labels are correct):
To support internationalization, the goal would be to migrate all PDF creation through the tcpdf package.

tcpdf

  • Used by html2pdf library(for creating the patient report).
  • library/html2pdf/vendor/tecnickcom/tcpdf/tcpdf.php

ezpdf

  • Used for prescriptions, growth chart, and CAMOS.
  • library/classes/class.ezpdf.php
  • Extends cpdf
  • library/classes/class.pdf.php

fpdf

  • Used for creating patient chart/address/barcode labels.
  • library/fpdf/fpdf.php

OpenEMR 4.2.2 and below

ezpdf

  • Used for prescriptions, growth chart, and CAMOS.
  • library/classes/class.ezpdf.php
  • Extends cpdf
  • library/classes/class.pdf.php

fpdf

  • Used for creating patient chart/address/barcode labels.
  • Used by html2pdf library(for creating the patient report).
  • library/html2pdf/_fpdf/fpdf.php