This is an archived forum post. The information may be outdated. Contact us if you have any
questions.
One page PDF documents
cmonie
wrote on 2013-04-10:
Is there a function that allows an HTML file to be converted to a one page PDF document? Example: If I have an HTML document that is one and a half page when converted to PDF, but I want to make that one and a half page fit into one page. How can that be done?
support
wrote on 2013-04-10:
Hello,
Yes, this is possible.
If you use the HTML to PDF API, pass -1 to the setPageHeight() API method.
If you use the Save to PDF link, set the height parameter to -1. Example: http://pdfcrowd.com/url_to_pdf/?height=-1