Posted by & filed under Save as PDF.

In this post we’ll show you a list of examples of using the ‘save as PDF’ functionality. Each of these examples is intended as addition to the documentation, that explains all options.

The goal of our “save as PDF” service is to give website owners the possibility of adding a simple link to their pages and thereby allowing their visitors to save certain pages as PDF. Since we feel that it’s often important to control the sizing, layout and other aspects of the PDF, we’ve added a lot of functionality to this service. Part of this functionality is controlled in the members area, where you can set defaults for your conversions, and the rest is controlled by adding parameters to the link you put on your site.

In the table below we’ll show you examples of how you can control the ‘save as PDF’ link to do more things with it.

Description with HTML code – click to see it work
To get a single page PDF, that’s 300mm wide

<a href="http://www.htm2pdf.co.uk/display?width=300&unit=mm">Save as PDF</a>
To return the ‘faq’ page as PDF instead of the current page

<a href="http://www.htm2pdf.co.uk/display?url=http://www.htm2pdf.co.uk/faq">Save as PDF</a>
To set the filename of the PDF to ‘saveaspdf.pdf’

<a href="http://www.htm2pdf.co.uk/display?filename=saveaspdf.pdf">Save as PDF</a>
To set the top and bottom margins to 0 (mm is default)

<a href="http://www.htm2pdf.co.uk/display?top=10&bottom=10">Save as PDF</a>

Hopefully these examples show you how easy, yet powerful this functionality is. Of course you can also pass a lot of the parameters together. If you want to learn more about it then please check out the Save as PDF page. If you want to have this on your website today, then please Join our service.

5 Responses to “Save as PDF – examples”

  1. Annette

    You have got a very cool style of writing! If you want to do guests posts on behalf of me on my wordpress blog,
    kindly contact me. Thanks for the tips

  2. prudentcollegestudent.com

    Woah! I’m really enjoying the template/theme of this site. It’s simple, yet effective.

    A lot of times it’s very difficult to get that “perfect balance” between user friendliness and visual appeal. I must say you’ve done a very good job with this.
    In addition, the blog loads super fast for me on Chrome.
    Outstanding Blog!

  3. Projekty szeregowcow

    Only wanna comment on few general things, The site style is perfect, the subject matter
    is really great : D.

  4. Trudy

    excellent put up, very informative. I wonder why
    the other specialists of this sector do not realize this.
    You should continue your writing. I’m sure, you have a great readers’ base already!

Leave a Reply

You must be logged in to post a comment.