Appendix C. Open parameters

In chapter 13, we discussed viewer preferences. By adding these preferences to the document, you define the initial state of the document when it’s opened by an end user. In chapter 18, you used Adobe Reader from the command line with the /p option to print a PDF document.

This appendix discusses the parameters that can be passed to Adobe Reader along with the /A option. The same syntax can be used in the URL of a (static or dynamic) PDF file served on a web site.

The following line called from a DOS box opens the PDF Reference on page 573:

AcroRd32.exe /A "page=573" d:/pdf/PDFReference16.pdf

The following URL opens the PDF Reference hosted at adobe.com on page 573 with zoom factor 100 percent:

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

Get iText in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.