The following are the four basic lines to work with HTML to PDF:
You can add as many urls as you want to convert after creating a task for the HTML to PDF tool to process.
You can customize some options of your HTML conversion to PDF with the following functions:
With orientation you can change your final PDF file from portrait to landscape.
page-margin allows you to set a margin between the PDF page and its content. If you don’t set any margin, your final PDF will have no margin.
One way to ensure that your final PDF has a document size is to force it with page-size. The API provides several standard sizes to choose from:
With view-width option you can set how the size of the device screen where the website would be rendered. You can choose these screen sizes by width in pixels. Default value is 1980.
When single-page is true, the web page will be converted into a single PDF page document as long as the website, instead of being separated by PDF pages. That is all you can do with HTML to PDF converting.