Posts Tagged: adobe


4
Mar 10

How to work with PDF parameters

Do you knew that is possible work with PDF parameters?

These parameters allow you to open a PDF file using a URL  that specifies exactly what to display, and how to display it (using such characteristics as zoom, page numbers, scrollbars, toolbars, bookmarks, or search).

Let’s see some URL examples:

  • www.example.org/doc.pdf#Chapter6
  • www.example.org/doc.pdf#page=3
  • www.example.org/doc.pdf#page=3&zoom=75
  • www.example.org/doc.pdf#zoom=50
  • www.example.org/doc.pdf#page=72&toolbars=0

However we have some URL limitations:

  • Only one digit following a decimal point is retained for float values.
  • Individual parameters, together with their values (separated by & or #), can be no greater then 32 characters in length.
  • You cannot use the reserved characters =, #, and &. There is no way to escape these special characters.
  • If you turn bookmarks off using a URL parameter when a document had previously been saved with bookmarks on, the bookmark scrollbars are displayed at first, and only disappear once Acrobat obtains enough streamed information to render the full page.

The parameters for URLs are supported by most browsers.

For more informations and examples take a look at the official Adobe™ document how to work with parameters for PDF Files.