logo

PDF Opening parameters

logo

It seems to be quite a common occurrence that a client will want to have their PDF link behave in a particular way such as opening at a certain zoom or page number. Luckily for us there is a bunch of options for opening a PDF from an html link!

Setting the PDF zoom on open is very easy:

http://example.org/doc.pdf#zoom=50

This will set the zoom to 50%.

Setting the page number is also very easy:

http://example.org/doc.pdf#page=3

This will open the PDF and set it to show page 3.

You can also chain your PDF parameters together as well such as:

http://example.org/doc.pdf#page=3#zoom=88

This would result in doc.pdf opening on page 3 with the zoom at 88%!

There is a large variety of options for opening a PDF and this extensive document covers them all:

http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf

Well worth a look if you are wanting to customize your PDF links!

Thanks to Nigel for the article inspiration

One Response to “PDF Opening parameters”

  1. John says:

    This is just I was looking for. I’m a bit OCD so I have been wanting to fix PDF links on my website. Now I know how to do it myself. Thanks!

Leave a Reply

logo
logo
Powered by Wordpress | Designed by Elegant Themes