Welcome! Log In Create A New Profile

Advanced

Save as PDF and Url modification issue

Posted by eksalife 
Save as PDF and Url modification issue
May 01, 2012 10:04PM
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..
Re: Save as PDF and Url modification issue
May 02, 2012 04:31AM
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.



Edited 1 time(s). Last edit at 05/02/2012 04:32AM by support.
Re: Save as PDF and Url modification issue
May 02, 2012 10:21PM
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
Re: Save as PDF and Url modification issue
May 03, 2012 02:01PM
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/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.
Sorry, only registered users may post in this forum.

Click here to login