This is an archived forum post. The information may be outdated. Contact us if you have any
Page Element Problem
wrote on 2012-08-24:
I' have a problem with the element on the PDF document created using your library.
When i use the online converter(https://pdfcrowd.com/) i get a pdf document that respect my idea(the attachment called IS_OK.pdf).
When i try to create a document using your library i get a different pdf document and one chart disappears(the attachment called NOT_OK.pdf).
Where is the problem with my code? How could i manage the pdf setting to obtain the same result?
// create an API client instance
$client = new Pdfcrowd("***", "***");
// convert a web page and store the generated PDF into a $pdf variable
$pdf = $client->convertURI('http://proginfo.altervista.org/mybidmontato/backend/pdf_report.php');
// set HTTP response headers
header("Content-Disposition: attachment; filename= $name");
// send the generated PDF
echo "Pdfcrowd Error: " . $why;
wrote on 2012-08-25:
Missing or incomplete charts are often caused by animation turned on. If possible turn the animation off.
I tried to run your code and the resulting pdf seems ok. Do you still experience the problem?