This is an archived forum post. The information may be outdated. Contact us if you have any questions.

Save as PDF and Url modification issue

eksalife wrote on 2012-05-02:
Hello,

We have purchased domain license for Save as PDF link.
Now we are facing two problems...
1) Save as PDF button not working as url getting modified internally using .htaccess rules.. Error we are getting is 'Time out error'.
2) We need to add / include a static cover page in every conversion.

Please help us..

Thanks in advance..
support wrote on 2012-05-02:
Hello,

Re 1: When someone clicks the "Save as PDF link" on your page, our service sends back a PDF created from the URL found in the referrer HTTP header field. There is no option how to alter this behavior.

Re 2: The "Save as PDF link" does not support this.

If the product does work as you expected please contact us at info@pdfcrowd.com and we will refund your payment.

You may want to take a look at our HTML to PDF API which is a product that is more flexible than the "Save as PDF link" and which could better fit your needs.
eksalife wrote on 2012-05-03:
Could you please send me the working example for the Save as PDF link?
As embedding url as below ... which ends in page not found error

<a href="http://pdfcrowd.com/http://staging.eksalife.com/tour/responsible-peek-into-nepal">Download PDF</a>

Thanks Again
support wrote on 2012-05-03:
Hello,

to use the "Save to PDF link" on your pages, use the following code:
<a href="http://pdfcrowd.com/url_to_pdf/">Download PDF</a>

Please note that there is no url field in the link. As explained above, our service picks up the url from the refererr http header field. In other words, the "Save to PDF link" always converts the current page.


If you want to try out the HTML to PDF API, please start here: https://pdfcrowd.com/api/html-to-pdf-api/. The API is a different product - it has a richer set of options and lets you convert any url, but usually requires server side integration.