Friday 11 November 2011

Passing parameters to PDF

Once I had a weird requirement from the client that the pdf should open with the zoom percentage of 100. When I googled , got this interesting links http://floatboxjs.com/content/parameters.pdf, http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf.

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