Difference between revisions of "PDF"

From OpenEMR Project Wiki
Line 1: Line 1:
==OpenEMR 4.3.1 and above==
==OpenEMR 4.3.1 and above==
:
:The html2pdf library was upgraded, which removed fpdf and added tcpdf. To continue to support labels, the fpdf label was added back. In future, plan to get the labels to work with html2pdf, of which work was started on here(Needs lots of testing and ensuring all the labels are correct):
 
https://github.com/practiceprovider/openemr/commits/php7-html2pdf-upgrade
:To support internationalization, the goal would be to migrate all PDF creation through the tcpdf package.
:1. tcpdf
:*Used by html2pdf library(for creating the patient report).
:*library/html2pdf/vendor/tecnickcom/tcpdf/tcpdf.php
:2. ezpdf
:*Used for prescriptions, growth chart, and CAMOS.
:*library/classes/class.ezpdf.php
:*Extends cpdf
::*library/classes/class.pdf.php
:3. fpdf
:*Used for creating patient chart/address/barcode labels.
:*library/fpdf/fpdf.php
:3. tcpdf
==OpenEMR 4.3.0 and below==
==OpenEMR 4.3.0 and below==
:ezpdf
:1. ezpdf
:*Used for prescriptions, growth chart, and CAMOS.
:*Used for prescriptions, growth chart, and CAMOS.
:*library/classes/class.ezpdf.php
:*library/classes/class.ezpdf.php
:*Extends cpdf
:*Extends cpdf
::*library/classes/class.pdf.php
::*library/classes/class.pdf.php
:fpdf
:2. fpdf
:*Used for creating patient chart/address/barcode labels.
:*Used for creating patient chart/address/barcode labels.
:*Used by html2pdf library(for creating the patient report).
:*Used by html2pdf library(for creating the patient report).
:*library/html2pdf/_fpdf/fpdf.php
:*library/html2pdf/_fpdf/fpdf.php

Revision as of 05:38, 17 March 2016

OpenEMR 4.3.1 and above

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

https://github.com/practiceprovider/openemr/commits/php7-html2pdf-upgrade

To support internationalization, the goal would be to migrate all PDF creation through the tcpdf package.
1. tcpdf
  • Used by html2pdf library(for creating the patient report).
  • library/html2pdf/vendor/tecnickcom/tcpdf/tcpdf.php
2. ezpdf
  • Used for prescriptions, growth chart, and CAMOS.
  • library/classes/class.ezpdf.php
  • Extends cpdf
  • library/classes/class.pdf.php
3. fpdf
  • Used for creating patient chart/address/barcode labels.
  • library/fpdf/fpdf.php
3. tcpdf

OpenEMR 4.3.0 and below

1. ezpdf
  • Used for prescriptions, growth chart, and CAMOS.
  • library/classes/class.ezpdf.php
  • Extends cpdf
  • library/classes/class.pdf.php
2. fpdf
  • Used for creating patient chart/address/barcode labels.
  • Used by html2pdf library(for creating the patient report).
  • library/html2pdf/_fpdf/fpdf.php