cancel
Showing results for 
Search instead for 
Did you mean: 

new PDF templates method in Mage2

0 Kudos

new PDF templates method in Mage2

Feature request from seansan, posted on GitHub May 22, 2014

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

17 Comments
apiuser
New Member

Comment from elenleonova, posted on GitHub May 27, 2014

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.

apiuser
New Member

Comment from paales, posted on GitHub Jun 28, 2014

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).

apiuser
New Member

Comment from sankalpshekhar, posted on GitHub Jul 18, 2014

:+1:

apiuser
New Member

Comment from Den4ik, posted on GitHub Jul 18, 2014

:+1:

apiuser
New Member

Comment from sIiiS, posted on GitHub Jul 18, 2014

If possible, please solve the PDF issue with unicode fonts

apiuser
New Member

Comment from vpelipenko, posted on GitHub Jan 29, 2015

Internal ticket: MAGETWO-24799

apiuser
New Member

Comment from IvanChepurnyi, posted on GitHub Aug 25, 2015

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