Difference between revisions of "PDF"
From OpenEMR Project Wiki
Bradymiller (talk | contribs) |
Bradymiller (talk | contribs) (→tcpdf) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==OpenEMR | ==OpenEMR 5.0.1== | ||
: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 | ===Overview=== | ||
:Migrating to mPDF | |||
===mpdf=== | |||
:*In process of replacing html2pdf/tcpdf stuff (DONE). | |||
:*Plan to try to migrate all pdf functionality here. | |||
===tcpdf=== | |||
:*In process of removing (migrating to mPDF) (DONE) | |||
===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 (note it needed to be modified, so couldn't bring in via composer) | |||
===dompdf=== | |||
:*Think this is used by the Care Coordination module. | |||
==OpenEMR 5.0.0== | |||
===Overview=== | |||
:The [[Html2pdf|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): | |||
::*https://github.com/practiceprovider/openemr/commits/php7-html2pdf-upgrade | ::*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. | :To support internationalization, the goal would be to migrate all PDF creation through the tcpdf package. | ||
:*Used by html2pdf library(for creating the patient report). | ===tcpdf=== | ||
:*Used by [[Html2pdf|html2pdf]] library(for creating the patient report). | |||
:*library/html2pdf/vendor/tecnickcom/tcpdf/tcpdf.php | :*library/html2pdf/vendor/tecnickcom/tcpdf/tcpdf.php | ||
===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=== | |||
:*Used for creating patient chart/address/barcode labels. | :*Used for creating patient chart/address/barcode labels. | ||
:*library/fpdf/fpdf.php | :*library/fpdf/fpdf.php | ||
==OpenEMR 4. | ===dompdf=== | ||
:*Think this is used by the Care Coordination module. | |||
==OpenEMR 4.2.2 and below== | |||
===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=== | |||
:*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|html2pdf]] library(for creating the patient report). | ||
:*library/html2pdf/_fpdf/fpdf.php | :*library/html2pdf/_fpdf/fpdf.php | ||
===dompdf=== | |||
:*Think this is used by the Care Coordination module. |
Latest revision as of 06:50, 24 February 2020
OpenEMR 5.0.1
Overview
- Migrating to mPDF
mpdf
- In process of replacing html2pdf/tcpdf stuff (DONE).
- Plan to try to migrate all pdf functionality here.
tcpdf
- In process of removing (migrating to mPDF) (DONE)
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 (note it needed to be modified, so couldn't bring in via composer)
dompdf
- Think this is used by the Care Coordination module.
OpenEMR 5.0.0
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
dompdf
- Think this is used by the Care Coordination module.
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
dompdf
- Think this is used by the Care Coordination module.