You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.
Hello,
I haven't found a way to produce a PDF that would automatically expand page height to content height.
I suggest something along this lines:
Internally wkhtmltopdf would execute a simple JavaScript script like (from: http://stackoverflow.com/questions/1145850/how-to-get-height-of-entire-document-with-javascript):
The script will return page height in pixels and wkhtmltopdf could expand page height accordingly. The result will be a one-page PDF file.
Thoughts?
The text was updated successfully, but these errors were encountered: