Hi,
I'm using the API and finding that page breaks are ignored. Specifically, my page to be printed has
<div style="page-break-after:always"></div>
When I print from the form on your home page, this works.
When I call the API as below, this does not properly do a page break. I read somewhere that webkit needs the print media type to be on -- is this required? The docs don't say what value to set it to ("on" or "true" - I tried both).
Any suggestions?
WILL
<form target="_blank" id="convert-form" action="http://pdfcrowd.com/api/pdf/convert/uri/" method="post">
<input id="convert_src" type="hidden" name="src" size="80">
<input type="hidden" name="conversion_source" value="uri">
<input type="hidden" name="width" value="8.5 in"/>
<input type="hidden" name="height" value="11.0 in"/>
<input type="hidden" name="margin_top" value="0.2 in"/>
<input type="hidden" name="margin_left" value="0.2 in"/>
<input type="hidden" name="margin_right" value="0.2 in"/>
<input type="hidden" name="margin_bottom" value="0.2 in"/>
<input type="hidden" name="pdf_scaling_factor" value="1" />
<input type="hidden" name="use_print_media" value="true"/>
<input type="hidden" name="username" value="xx"/>
<input type="hidden" name="key" value="xx"/>
</form>