Replies: 1 comment
-
|
I could find a way to achieve (not directly). Basically I first calculate the HTML height by using Browsershot in this way:
Then I render the PDF adding the calculated height:
I hope this works for everyone which is looking for a solution. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Im making reciept and its width is 57 mm. But height can be anything. is it possible to have something like ->paperSize(57, 'auto', 'mm') or any workaround
Beta Was this translation helpful? Give feedback.
All reactions