When you use PhpWkhtmlToPdf as render engine, the Paper Size setting of Entity Print is ignored.
Proposed Fix:
Add code to read the Paper Size configuration Entity Print and apply this in PhpWkhtmlToPdf.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 2879347-4.patch | 2.97 KB | benjy |
| #2 | page_size_and_zoom-2879347-2.patch | 1.59 KB | finne |
Comments
Comment #2
finneAttached a pach that fixes the Paper Size, and also adds the PhpWkhtmlToPdf zoom option to the GUI.
The Paper Size + Zoom options together allow you print hairlines: Set the paper size to A0 and the zoom to 4, to be able to print hairline widths on A4. See also http://stackoverflow.com/questions/9978335/specify-hairline-thickness-in....
Comment #3
finneComment #4
benjy commentedThanks for this, will commit shortly. I just updated the weights on the base class to give me consistent experience across all the forms, that way plugins can just set the weights for the fields they manage.
Comment #6
benjy commentedCommitted and pushed. Thanks.