new PDF templates method in Mage2 #573

Closed
seansan opened this Issue May 22, 2014 · 17 comments

Projects

None yet
@seansan

Is it possible to add a new PDF generation mechanism in Magento 2 in CORE?

Maybe based on HTML -> PDF or using advanced PDF editors?

Something like:
http://www.aromicon.de/magento-download-extensions-modules/en/aromicon-invoice-pdf-pro.html

or

http://www.magentocommerce.com/magento-connect/html2pdf.html

Now it is almost impossible to change anything about the PDF documents without very advanced programming and changing complex files

Many thanks

@gfxguru

+1

@tim-bezhashvyly

-1 (just kidding)

@Den4ik

+1

@kandy

Maybe better way is remove PDF generation from Magento at all.
I believe that for most customers the print versions of pages are enough. Rest can use dompdf library to convert html in pdf (library license incompatible with Magento, so it cannot be in core!)
What do you think of that?

@seansan
@elenleonova elenleonova was assigned by verklov May 27, 2014
@elenleonova

This discussion reminds me the question that I have asked in twitter some time ago - https://twitter.com/elena_a_leonova/status/449573751550914560
So I know that this issue exists, so update of pdf template engine is on our roadmap. However, it's hard to talk about timing for this improvement. So if community is interested in the contribution in this area, it would be awesome.

@paales

Another idea: http://wkhtmltopdf.org/

The most ideal way would be that it is possible to use a regular template (build it with XML, use your normal styling, etc.) and convert that to PDF. No more troubles while changing a PDF.

And related: Have the invoice be fully compatible with EU regulations (for example: http://www.expatax.nl/regulationsinvoice.php).

@Den4ik

👍

@sIiiS

If possible, please solve the PDF issue with unicode fonts

@verklov verklov added the PROD label Dec 12, 2014
@vpelipenko

Internal ticket: MAGETWO-24799

@IvanChepurnyi

Just a good alternative to use existing HTML5 to PDF library. Saves a lot of hassle for merchants who'd like custom invoices design:
Maybe library is not good in architecture, but proved to save so many clients from PDF class override madness: (can be included into Magento as composer dependency)
https://github.com/dompdf/dompdf

@vkorotun vkorotun removed the PS label Aug 4, 2016
@piotrekkaminski

Thank you for your submission.

We recently made some changes to the way we process GitHub submissions to more quickly identify and respond to core code issues.

Feature Requests and Improvements should now be submitted to the new Magento 2 Feature Requests and Improvements forum (see details here).

We are closing this GitHub ticket and have moved your request to the new forum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment