Friday, October 10, 2014

How to create a hyperlink / URL to open a specific page in a PDF file?

I was wondering, how i can link to a specific page in a PDF file openend in the browser.

How-I-fixed it:

Here's the AdobeManual on PDF opening Parameters for command line and URL:
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf

 
Specifying parameters in a URL
 
You can specify multiple parameters in a single URL. Separate each parameter with either an ampersand (&) or a pound (#) character. Actions are processed and executed from left to right as they appear in the URL.
 Because all specified actions are executed, it is possible that later actions will override the effects of previous actions, so it is important to use the correct order. For example, page actions should appear before zoom Actions.
Commands are not case sensitive except for the value of a named destination. There can be no spaces in the URL.

 

 
URL examples



http://example.org/doc.pdf#Chapter6

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

http://example.org/doc.pdf#page=3&zoom=200,250,100

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

http://example.org/doc.pdf#page=72&view=fitH,100

http://example.org/doc.pdf#pagemode=none

http://example.org/doc.pdf#pagemode=bookmarks&page=2

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

http://example.org/doc.pdf#collab=DAVFDF@http://review_server/Collab/user1

http://example.org/doc.pdf#page=1&comment=452fde0e-fd22-457c-84aa-2cf5bed5a349

http://example.org/doc.pdf#fdf=http://example.org/doc.fdf
 
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.

No comments:

Post a Comment