This is an archived forum post. The information may be outdated. Contact us if you have any questions.
[?PdfCrowd?fields] => Array ( [username] => ***** [key] => ***** [pdf_scaling_factor] => 1 [html_zoom] => 200 [footer_html] => <div style="clear:both; text-align:right; font-family:Arial, Helvetica, sans-serif; font-size:10px;color:red;">%p of %n</div> [width] => 8.5in [height] => 11in [hmargin] => .5in [vmargin] => .5in [initial_pdf_zoom_type] => 4 [initial_pdf_zoom] => 100 ) [?PdfCrowd?scheme] => http [?PdfCrowd?port] => 80 [?PdfCrowd?api_prefix] => http://pdfcrowd.com/api [hostname] => pdfcrowd.com
<div style="text-align:right;color:red;">%p of %n</div> <div style="font-size:16px;">%p of %n</div> <span style="font-size:16px;">%p of %n</span> <span style="font-style:italic;">%p of %n</span>
$client = new Pdfcrowd("****", "****"); $client->setFooterHtml('<div style="text-align:right; font-family:Arial, Helvetica, sans-serif; font-size:10px;color:red">%p of %n</div>'); $fp = fopen("test.pdf", "wb"); $pdf = $client->convertHtml("Test", $fp); fclose($fp);