Opening PDFs by URL With Parameters

| 1 Comment
As documented in the PDFOpenParameter Guide, it is possible to influence the display of PDFs you are opening on the command-line or through a URL using parameters. I found this to be a very cool bit of info. By appending certain parameters using the "#" character, you can have a good amount of control over the display of the PDF document. No fancy programming required.

Scenario 1: Search Results

Let's say that you are providing full-text search functionality for a set of PDF documents (as we are for a current project using a LiveCycle ECM Connector). You can pass the search terms into the PDF reader upon opening the file, making the Reader run a full-text search within the document. It's very cool.

e.g. Searching for "PDF" and "document" in the above PDF using the "search" parameter gives this:

http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf#search="PDF document"

Scenario 2: Hiding the tool-bar

It's self-explanatory: top toolbar begone!

http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf#toolbar=0

There are many other parameters to try out, so get to it!

1 Comment

Hi
But how to search PDF with partial words from parameter.
like search='pd*'

Leave a comment



About this Entry

This page contains a blog entry by Taylor Bastien published on February 20, 2009 4:09 PM AD.

For Ottawans interested in Flex... and beer. was the previous entry in this blog.

Calling Out For Input: Mate Scalability is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.