>> Is there a way using the APIs to tell pdfcrowd that the page has ended and start a new page?You can insert a page break using the page-break-after or page-break-before property:
Page 1
<div style="page-break-before:always"></div>
Page 2
To test it out just copy this code to
http://pdfcrowd.com/#convert_by_input and convert it to PDF.
[color=#777777]>> Also when calling the setPageLayout() function from the PHP library, it results in:
Uncaught exception 'PdfcrowdException' with message 'Invalid parameter value - page_layout'Here is a setPageLayout() usage example:
$client->setPageLayout(Pdfcrowd::CONTINUOUS);
The following values are supported:
Pdfcrowd::SINGLE_PAGE
Pdfcrowd::CONTINUOUS
Pdfcrowd::CONTINUOUS_FACING