Problem/Motivation
Hi, I was using the Entity Print module in a Drupal 8 site and when I migrated it to Drupal 9, it presented me with many errors, mainly in the generated pdf, with the text cut in the middle at the end of the sheets. When I checked it, I found that it is because it uses outdated libraries. Then I searched and found this module with similar features. I found it simpler and more customizable and it shows the pdf correctly (without cutting the text in the middle at the end of the sheets), except with some libraries, which apparently require special services to access the server files and did not show the images, mPDF is the one I'm using and everything looks perfect. However, I can't find an option to send the PDF by email as I did with Entity Print + Webform and this module is not associated with Webform.
Proposed resolution
Therefore I request the inclusion of this functionality to complete the requirements without the need to install a new module, as this could result in different PDFs and cause conflicts with the libraries in the Vendor. Thanks in advance.
Translated with www.DeepL.com/Translator (free version)
Comments
Comment #2
dariemlazaroComment #3
nigelcunningham commentedThanks for opening the issue.
I recently added an API that makes it easier to get the PDF for inclusion in an email. In a webform email handler, I now have:
The actual sending of the PDF still uses core Drupal functionality (including other modules if you're using them), just as Webform + entity print does.
Hope this helps!
Nigel