Wondering if anyone has any tips on how to get a template to print in landscape orientation. We still send out a decent number of paper letters, and the EspoCRM template feature is great for creating those letters. But we'd like to be able to use the CRM database to generate envelopes too. I have tried adding transform: rotate to the template's html code - and that flips the orientation in the template display. But once it converts to pdf it reverts back to portrait.
Templates - Printing in Landscape Orientation for Envelopes
Collapse
X
-
Hello,
for now it's not possible
But If you need Landscape Orientated pdf, you can modify the code https://github.com/espocrm/espocrm/b...s/Pdf.php#L128
Comment