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?
<?php
require 'pdfcrowd.php';
try
{
// 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-Type: application/pdf");
header("Cache-Control: no-cache");
header("Accept-Ranges: none");
header("Content-Disposition: attachment; filename= $name");
// send the generated PDF
echo $pdf;
}
catch(PdfcrowdException $why)
{
echo "Pdfcrowd Error: " . $why;
}
?>