whyknott
wrote on 2016-06-17:
Why am I getting this error when I try and download a PDF: Pdfcrowd Error: [510] Invalid parameter value - width
Anyone run into this error? I have no idea where to look in the website to find this issue.
whyknott
wrote on 2016-06-17:
Figured out my own problem, maybe it will help someone else. In the code I had the width and height code above this code and it was throwing an error. The second I put the width and height code (after the code below in the php file) the page rendered without a problem! Hope this helps someone else!
// convert a web page and store the generated PDF into a $pdf variable
$pdf = $client->convertURI($pdf_link);