SlideShare a Scribd company logo
1 of 8
Download to read offline
Adobe Acrobat 7.0
PDF Open Parameters
July 11, 2005
Adobe Solutions Network — http://partners.adobe.com
Copyright 2004 Adobe Systems Incorporated. All rights reserved.
NOTICE: All information contained herein is the property of Adobe Systems Incorporated. No part of this publication (whether in hardcopy or
electronic form) may be reproduced or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or
otherwise, without the prior written consent of the Adobe Systems Incorporated.
PostScript is a registered trademark of Adobe Systems Incorporated. All instances of the name PostScript in the text are references to the
PostScript language as defined by Adobe Systems Incorporated unless otherwise stated. The name PostScript also is used as a product
trademark for Adobe Systems’ implementation of the PostScript language interpreter.
Except as otherwise stated, any reference to a “PostScript printing device,” “PostScript display device,” or similar item refers to a printing device,
display device or item (respectively) that contains PostScript technology created or licensed by Adobe Systems Incorporated and not to devices
or items that purport to be merely compatible with the PostScript language.
Adobe, the Adobe logo, Acrobat, the Acrobat logo, Acrobat Capture, Distiller, PostScript, the PostScript logo and Reader are either registered
trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.
Apple, Macintosh, and Power Macintosh are trademarks of Apple Computer, Inc., registered in the United States and other countries. PowerPC
is a registered trademark of IBM Corporation in the United States. ActiveX, Microsoft, Windows, and Windows NT are either registered
trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Verity is a registered trademark of Verity,
Incorporated. UNIX is a registered trademark of The Open Group. Verity is a trademark of Verity, Inc. Lextek is a trademark of Lextek
International. All other trademarks are the property of their respective owners.
This publication and the information herein is furnished AS IS, is subject to change without notice, and should not be construed as a
commitment by Adobe Systems Incorporated. Adobe Systems Incorporated assumes no responsibility or liability for any errors or inaccuracies,
makes no warranty of any kind (express, implied, or statutory) with respect to this publication, and expressly disclaims any and all warranties
of merchantability, fitness for particular purposes, and noninfringement of third party rights.
PDF Open Parameters 3
Preface
Description
This document describes PDF Open parameters for Acrobat 7.0, that allow you to open a
PDF file using a URL or command that specifies both the file to be opened plus actions to
be performed once the file is opened.
Resources
The following resources provide further information about how to use the PDF Open
parameters described in this document.
● Acrobat and PDF Library API Reference. Provides a detailed description of the Acrobat and
PDF Library APIs.
● Acrobat Online Collaboration: Setup and Administraton. Explains how to configure a
collaboration store and networking issues related to Acrobat.
● PDF Reference, fifth edition, version 1.6 describes PDF version 1.6 in detail, including PDF
object types, file format, and document structure.
Conventions Used in This Book
The Acrobat documentation uses text styles according to the following conventions.
Font Used for Examples
monospaced Paths and filenames C:templatesmytmpl.fm
Code examples set off
from plain text
These are variable declarations:
AVMenu commandMenu,helpMenu;
monospaced bold Code items within plain
text
The GetExtensionIDmethod ...
Parameter names and
literal values in
reference documents
The enumeration terminates if proc
returns false.
monospaced italic Pseudocode ACCB1 void ACCB2 ExeProc(void)
{ do something }
Placeholders in code
examples
AFSimple_Calculate(cFunction,
cFields)
Preface
Conventions Used in This Book
4 PDF Open Parameters
blue Live links to Web pages The Acrobat Solutions Network URL is:
http://partners.adobe.com/asn/
Live links to sections
within this document
See Using the SDK.
Live links to code items
within this document
Test whether an ASAtom exists.
bold PostScriptlanguageand
PDF operators,
keywords, dictionary
key names
The setpagedevice operator
User interface names The File menu
italic Document titles that are
not live links
AcrobatandPDFLibraryAPIOverview
New terms User space specifies coordinates for...
PostScript variables filename deletefile
Font Used for Examples
PDF Open Parameters 5
Open Parameters for PDF
Adobe defines parameters that allow you to open a PDF document with a command or URL
that specifies exactly what to display (a named destination or specific page), and how to
display it (using such characteristics as a specific view, scrollbars, bookmarks, annotations,
or highlighting).
The PDF Open parameters for URLs, described in the table below, are supported through
the Netscape and Internet Explorer browsers, and can also be used when opening PDF
documents programmatically:
● Many of these parameters can be passed to the following core API functions (see the
Acrobat and PDF Library API Reference for details):
AVDocOpenFromFileWithParamString
AVDocOpenFromASFileWithParamString
AVDocOpenFromPDDocWithParamString
● When opening a PDF document from a command shell, you can pass the parameters to
the open command using the /Aswitch using the following syntax:
<path to Acrobat> /A"<open parameter>=OpenActions" "<path to PDF file>"
For example:
Acrobat.exe /A "zoom=1000=OpenActions" "C:example.pdf"
● When opening a PDF document with an Apple Event on a Macintosh operating system,
you can optionally pass the PDF Open parameters.
PDF Open Parameters
The following table lists and describes the available PDF open parameters. Italics indicate
user-specified variables.
Syntax Description
nameddest=name Specifies a named destination in the PDF.
page=pagenum Specifies a numbered page in the document, using an
integer value. The document’s first page has a pagenum
value of 1.
comment=commentID Specifies a comment on a given page in the PDF. Use the
pagecommand before this command; for example:
#page=1&comment=452fde0e-fd22-457c-84aa-
2cf5bed5a349
Open Parameters for PDF
PDF Open Parameters
6 PDF Open Parameters
collab=setting Sets the collaboration store to be used to supply and store
comments for the document. This overrides the default
comment server for the review or the default preference.
setting is of the form store_type@location, where valid
values for store_type are:
● DAVFDF(webDAV)
● FSFDF(Network store)
● DB(ADBC)
For example:
#collab=DAVFDF@http://review_server/Collab/user1
For more information, see Acrobat Online Collaboration:
Administration and Setup.
zoom=scale
zoom=scale,left,top
Sets the zoom and scroll factors, using float or integer
values.
For example, a scale value of 100 indicates a zoom value of
100%.
Scroll values left and top are in a coordinate system where
0,0 represents the top left corner of the visible page,
regardless of document rotation.
view=Fit
view=FitH
view=FitH,top
view=FitV
view=FitV,left
view=FitB
view=FitBH
view=FitBH,top
view=FitBV
view=FitBV,left
Set the view of the displayed page, using the keyword
values defined in the PDF language specification. See the
PDF Reference.
Scroll values left and top are floats or integers in a
coordinate system where 0,0 represents the top left corner
of the visible page, regardless of document rotation.
Use the pagecommand before this command.
NOTE: Not supported on the command line.
viewrect=left,top,wd,ht Sets the view rectangle using float or integer values in a
coordinate system where 0,0 represents the top left corner
of the visible page, regardless of document rotation.
Use the pagecommand before this command.
NOTE: Not supported on the command line.
pagemode=bookmarks
pagemode=thumbs
pagemode=none(default)
Displays bookmarks or thumbnails.
scrollbar=1|0 Turns scrollbars on or off.
Syntax Description
PDF Open Parameters 7
Open Parameters for PDF
Specifying PDF Open Parameters in a URL
Specifying PDF Open Parameters in a URL
You can specify multiple PDF Open parameters in a single URL. Each parameter is separated
from the others with either an ampersand (&) or a pound (#) character. Actions are
processed and executed from left to right as they appear on the URL command line.
Because all specified actions are executed, it is possible that later actions will override the
effects of previous actions, so it is important to be aware of the 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 line.
search=wordList Opens the Search UI and performs a search for the specified
word list in the document. Matching words are highlighted
in the document.
The words must be enclosed in quotes and separated by
spaces; for example:
#search=”word1 word2”
toolbar=1|0 Turns the toolbar on or off.
statusbar=1|0 Turns the status bar on or off.
messages=1|0 Turns the document message bar on or off.
navpanes=1|0 Turns the navigation panes and tabs on or off.
highlight=lt,rt,top,btm Highlights a specified rectangle on the displayed page. (Use
the pagecommand before this command.)
The rectangle values are integers in a coordinate system
where 0,0 represents the top left corner of the visible page,
regardless of document rotation.
help=index|contents|search Used only when opening a file from the command line or
an Apple Event. Opens the document in the Help window,
with the specified navigation panel selected.
fdf=URL Specifies an FDF file to be used to populate form fields in
the PDF file being opened. For example:
#fdf=http://example.org/doc.fdf
NOTE: The fdfparameter should be specifed last in the
URL.
Syntax Description
Open Parameters for PDF
Specifying PDF Open Parameters in a URL
8 PDF Open Parameters
URL Examples
http://example.org/doc.pdf#nameddest=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#view=fitb&nameddest=Chapter3
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/use
r1
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.

More Related Content

What's hot

Xml For Dummies Chapter 4 Adding Xhtml For The Web
Xml For Dummies   Chapter 4 Adding Xhtml For The WebXml For Dummies   Chapter 4 Adding Xhtml For The Web
Xml For Dummies Chapter 4 Adding Xhtml For The Webphanleson
 
Web technology practical list
Web technology practical listWeb technology practical list
Web technology practical listdesaipratu10
 
Web engineering UNIT IV as per RGPV syllabus
Web engineering UNIT IV as per RGPV syllabusWeb engineering UNIT IV as per RGPV syllabus
Web engineering UNIT IV as per RGPV syllabusNANDINI SHARMA
 
Webprog lecture1
Webprog lecture1Webprog lecture1
Webprog lecture1teoper1205
 
Tutorial 08 - Creating Effective Web Pages
Tutorial 08 - Creating Effective Web PagesTutorial 08 - Creating Effective Web Pages
Tutorial 08 - Creating Effective Web Pagesguest22edf3
 
Web engineering notes unit 4
Web engineering notes unit 4Web engineering notes unit 4
Web engineering notes unit 4inshu1890
 
Web Application and HTML Summary
Web Application and HTML SummaryWeb Application and HTML Summary
Web Application and HTML SummaryFernando Torres
 
Html viva questions
Html viva questionsHtml viva questions
Html viva questionsVipul Naik
 
Vskills certified html designer Notes
Vskills certified html designer NotesVskills certified html designer Notes
Vskills certified html designer NotesVskills
 
Xml in bio medical field
Xml in bio medical fieldXml in bio medical field
Xml in bio medical fieldJuman Ghazi
 
Generate Excel documents with Rational Publishing Engine 1.1.2 and Reporting ...
Generate Excel documents with Rational Publishing Engine 1.1.2 and Reporting ...Generate Excel documents with Rational Publishing Engine 1.1.2 and Reporting ...
Generate Excel documents with Rational Publishing Engine 1.1.2 and Reporting ...GEBS Reporting
 
RPE - Template formating, style and stylesheet usage
RPE - Template formating, style and stylesheet usageRPE - Template formating, style and stylesheet usage
RPE - Template formating, style and stylesheet usageGEBS Reporting
 
Moving unstructured FrameMaker content to structure
Moving unstructured FrameMaker content to structureMoving unstructured FrameMaker content to structure
Moving unstructured FrameMaker content to structurePublishing Smarter
 

What's hot (18)

Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Xhtml
XhtmlXhtml
Xhtml
 
Xml For Dummies Chapter 4 Adding Xhtml For The Web
Xml For Dummies   Chapter 4 Adding Xhtml For The WebXml For Dummies   Chapter 4 Adding Xhtml For The Web
Xml For Dummies Chapter 4 Adding Xhtml For The Web
 
Web technology practical list
Web technology practical listWeb technology practical list
Web technology practical list
 
Web designing
Web designingWeb designing
Web designing
 
Web engineering UNIT IV as per RGPV syllabus
Web engineering UNIT IV as per RGPV syllabusWeb engineering UNIT IV as per RGPV syllabus
Web engineering UNIT IV as per RGPV syllabus
 
Webprog lecture1
Webprog lecture1Webprog lecture1
Webprog lecture1
 
Tutorial 08 - Creating Effective Web Pages
Tutorial 08 - Creating Effective Web PagesTutorial 08 - Creating Effective Web Pages
Tutorial 08 - Creating Effective Web Pages
 
Web engineering notes unit 4
Web engineering notes unit 4Web engineering notes unit 4
Web engineering notes unit 4
 
Web Application and HTML Summary
Web Application and HTML SummaryWeb Application and HTML Summary
Web Application and HTML Summary
 
Html viva questions
Html viva questionsHtml viva questions
Html viva questions
 
Vskills certified html designer Notes
Vskills certified html designer NotesVskills certified html designer Notes
Vskills certified html designer Notes
 
Xml in bio medical field
Xml in bio medical fieldXml in bio medical field
Xml in bio medical field
 
Lecture1
Lecture1Lecture1
Lecture1
 
Framemaker 1
Framemaker 1Framemaker 1
Framemaker 1
 
Generate Excel documents with Rational Publishing Engine 1.1.2 and Reporting ...
Generate Excel documents with Rational Publishing Engine 1.1.2 and Reporting ...Generate Excel documents with Rational Publishing Engine 1.1.2 and Reporting ...
Generate Excel documents with Rational Publishing Engine 1.1.2 and Reporting ...
 
RPE - Template formating, style and stylesheet usage
RPE - Template formating, style and stylesheet usageRPE - Template formating, style and stylesheet usage
RPE - Template formating, style and stylesheet usage
 
Moving unstructured FrameMaker content to structure
Moving unstructured FrameMaker content to structureMoving unstructured FrameMaker content to structure
Moving unstructured FrameMaker content to structure
 

Viewers also liked

Lab 10.doc
Lab 10.docLab 10.doc
Lab 10.docbutest
 
Media questionnaire
Media questionnaireMedia questionnaire
Media questionnairehollyemma
 
Sandhan, Bisag and HAM Radio Photos
Sandhan, Bisag and HAM Radio PhotosSandhan, Bisag and HAM Radio Photos
Sandhan, Bisag and HAM Radio PhotosUrvin
 
Cheira Ao Medo Do Antigamente
Cheira Ao Medo Do AntigamenteCheira Ao Medo Do Antigamente
Cheira Ao Medo Do AntigamenteMoriae
 
Cửa cuốn aluroll 2013
Cửa cuốn aluroll 2013Cửa cuốn aluroll 2013
Cửa cuốn aluroll 2013Loan Tran
 
milsic installation
milsic installationmilsic installation
milsic installationpaulmhickman
 
Kamermarkt Juni 2009 Leeuwarden
Kamermarkt Juni 2009   LeeuwardenKamermarkt Juni 2009   Leeuwarden
Kamermarkt Juni 2009 LeeuwardenKamernet .nl
 
Imsakiyah ramadhan 2014
Imsakiyah ramadhan 2014Imsakiyah ramadhan 2014
Imsakiyah ramadhan 2014GSM hajiumroh
 
Der schoenste Platz unserer Erde
Der schoenste Platz unserer ErdeDer schoenste Platz unserer Erde
Der schoenste Platz unserer ErdeRegloh Ztniw
 
Contents page statement_of_intent_guide
Contents page statement_of_intent_guideContents page statement_of_intent_guide
Contents page statement_of_intent_guideomarc17
 
Cửa cuốn chống cháy
Cửa cuốn chống cháyCửa cuốn chống cháy
Cửa cuốn chống cháyLoan Tran
 
3 Bajec 2
3 Bajec   23 Bajec   2
3 Bajec 2matej69
 

Viewers also liked (20)

Lab 10.doc
Lab 10.docLab 10.doc
Lab 10.doc
 
Numele firmei
Numele firmeiNumele firmei
Numele firmei
 
Media questionnaire
Media questionnaireMedia questionnaire
Media questionnaire
 
Folha 120
Folha 120Folha 120
Folha 120
 
Sandhan, Bisag and HAM Radio Photos
Sandhan, Bisag and HAM Radio PhotosSandhan, Bisag and HAM Radio Photos
Sandhan, Bisag and HAM Radio Photos
 
Protetor de unhas
Protetor de unhas   Protetor de unhas
Protetor de unhas
 
International craft fair
International craft fairInternational craft fair
International craft fair
 
Cheira Ao Medo Do Antigamente
Cheira Ao Medo Do AntigamenteCheira Ao Medo Do Antigamente
Cheira Ao Medo Do Antigamente
 
Cửa cuốn aluroll 2013
Cửa cuốn aluroll 2013Cửa cuốn aluroll 2013
Cửa cuốn aluroll 2013
 
Gps Fx2 Ext
Gps Fx2 ExtGps Fx2 Ext
Gps Fx2 Ext
 
milsic installation
milsic installationmilsic installation
milsic installation
 
Kamermarkt Juni 2009 Leeuwarden
Kamermarkt Juni 2009   LeeuwardenKamermarkt Juni 2009   Leeuwarden
Kamermarkt Juni 2009 Leeuwarden
 
Imsakiyah ramadhan 2014
Imsakiyah ramadhan 2014Imsakiyah ramadhan 2014
Imsakiyah ramadhan 2014
 
Der schoenste Platz unserer Erde
Der schoenste Platz unserer ErdeDer schoenste Platz unserer Erde
Der schoenste Platz unserer Erde
 
Antorchas 2
Antorchas 2Antorchas 2
Antorchas 2
 
Contents page statement_of_intent_guide
Contents page statement_of_intent_guideContents page statement_of_intent_guide
Contents page statement_of_intent_guide
 
Ulla Essenzia Giorno
Ulla Essenzia GiornoUlla Essenzia Giorno
Ulla Essenzia Giorno
 
Cửa cuốn chống cháy
Cửa cuốn chống cháyCửa cuốn chống cháy
Cửa cuốn chống cháy
 
Reunião fi e edc inf
Reunião fi e edc infReunião fi e edc inf
Reunião fi e edc inf
 
3 Bajec 2
3 Bajec   23 Bajec   2
3 Bajec 2
 

Similar to Pdf open parameters

SharePoint 2010 Application Development Overview
SharePoint 2010 Application Development OverviewSharePoint 2010 Application Development Overview
SharePoint 2010 Application Development OverviewRob Windsor
 
Bringing Zest to SharePoint Sites Using Out-of-the-Box Technology
Bringing Zest to SharePoint Sites Using Out-of-the-Box TechnologyBringing Zest to SharePoint Sites Using Out-of-the-Box Technology
Bringing Zest to SharePoint Sites Using Out-of-the-Box Technologyjoelsef
 
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for Developers
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for DevelopersMSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for Developers
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for DevelopersDave Bost
 
Ascential DataStage Director Guide
Ascential DataStage Director GuideAscential DataStage Director Guide
Ascential DataStage Director GuideEmily Smith
 
APIs And SDKs Breaking Into And Succeeding In A Specialty Market
APIs And SDKs  Breaking Into And Succeeding In A Specialty MarketAPIs And SDKs  Breaking Into And Succeeding In A Specialty Market
APIs And SDKs Breaking Into And Succeeding In A Specialty MarketBill Dubie
 
SAP ABAP Latest Interview Questions
SAP ABAP Latest  Interview Questions SAP ABAP Latest  Interview Questions
SAP ABAP Latest Interview Questions piyushchawala
 
Printing with APEX: PL/PDF
Printing with APEX: PL/PDFPrinting with APEX: PL/PDF
Printing with APEX: PL/PDFEnkitec
 
PLSQL Developer tips and tricks
PLSQL Developer tips and tricksPLSQL Developer tips and tricks
PLSQL Developer tips and tricksPatrick Barel
 
14 Easy Steps to End-User Empowerment: Convert Custom Reports to BI Publisher
14 Easy Steps to End-User Empowerment: Convert Custom Reports to BI Publisher14 Easy Steps to End-User Empowerment: Convert Custom Reports to BI Publisher
14 Easy Steps to End-User Empowerment: Convert Custom Reports to BI PublisherMohan Dutt
 
Practical Field Experience: Using Ajax / Dojo with WebSphere Portlet Factory
Practical Field Experience: Using Ajax / Dojo with WebSphere Portlet FactoryPractical Field Experience: Using Ajax / Dojo with WebSphere Portlet Factory
Practical Field Experience: Using Ajax / Dojo with WebSphere Portlet FactoryDavalen LLC
 
Oracle DBA interview_questions
Oracle DBA interview_questionsOracle DBA interview_questions
Oracle DBA interview_questionsNaveen P
 
Ten Steps To Empowerment
Ten Steps To EmpowermentTen Steps To Empowerment
Ten Steps To EmpowermentMohan Dutt
 
Oracle9i reports developer
Oracle9i reports developerOracle9i reports developer
Oracle9i reports developerFITSFSd
 
Web REST APIs Design Principles
Web REST APIs Design PrinciplesWeb REST APIs Design Principles
Web REST APIs Design PrinciplesAnji Beeravalli
 
Improve PowerShell reporting using SharePoint lists for results
Improve PowerShell reporting using SharePoint lists for resultsImprove PowerShell reporting using SharePoint lists for results
Improve PowerShell reporting using SharePoint lists for resultsFrank Daske
 
Apex behind the scenes
Apex behind the scenesApex behind the scenes
Apex behind the scenesEnkitec
 

Similar to Pdf open parameters (20)

Pdf open parameters
Pdf open parametersPdf open parameters
Pdf open parameters
 
SharePoint 2010 Application Development Overview
SharePoint 2010 Application Development OverviewSharePoint 2010 Application Development Overview
SharePoint 2010 Application Development Overview
 
Bringing Zest to SharePoint Sites Using Out-of-the-Box Technology
Bringing Zest to SharePoint Sites Using Out-of-the-Box TechnologyBringing Zest to SharePoint Sites Using Out-of-the-Box Technology
Bringing Zest to SharePoint Sites Using Out-of-the-Box Technology
 
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for Developers
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for DevelopersMSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for Developers
MSDN Presents: Visual Studio 2010, .NET 4, SharePoint 2010 for Developers
 
Ascential DataStage Director Guide
Ascential DataStage Director GuideAscential DataStage Director Guide
Ascential DataStage Director Guide
 
APIs And SDKs Breaking Into And Succeeding In A Specialty Market
APIs And SDKs  Breaking Into And Succeeding In A Specialty MarketAPIs And SDKs  Breaking Into And Succeeding In A Specialty Market
APIs And SDKs Breaking Into And Succeeding In A Specialty Market
 
SAP ABAP Latest Interview Questions
SAP ABAP Latest  Interview Questions SAP ABAP Latest  Interview Questions
SAP ABAP Latest Interview Questions
 
Printing with APEX: PL/PDF
Printing with APEX: PL/PDFPrinting with APEX: PL/PDF
Printing with APEX: PL/PDF
 
PLSQL Developer tips and tricks
PLSQL Developer tips and tricksPLSQL Developer tips and tricks
PLSQL Developer tips and tricks
 
Intro to Application Express
Intro to Application ExpressIntro to Application Express
Intro to Application Express
 
14 Easy Steps to End-User Empowerment: Convert Custom Reports to BI Publisher
14 Easy Steps to End-User Empowerment: Convert Custom Reports to BI Publisher14 Easy Steps to End-User Empowerment: Convert Custom Reports to BI Publisher
14 Easy Steps to End-User Empowerment: Convert Custom Reports to BI Publisher
 
Practical Field Experience: Using Ajax / Dojo with WebSphere Portlet Factory
Practical Field Experience: Using Ajax / Dojo with WebSphere Portlet FactoryPractical Field Experience: Using Ajax / Dojo with WebSphere Portlet Factory
Practical Field Experience: Using Ajax / Dojo with WebSphere Portlet Factory
 
cakephp UDUYKTHA (1)
cakephp UDUYKTHA (1)cakephp UDUYKTHA (1)
cakephp UDUYKTHA (1)
 
Oracle DBA interview_questions
Oracle DBA interview_questionsOracle DBA interview_questions
Oracle DBA interview_questions
 
2 designer
2 designer2 designer
2 designer
 
Ten Steps To Empowerment
Ten Steps To EmpowermentTen Steps To Empowerment
Ten Steps To Empowerment
 
Oracle9i reports developer
Oracle9i reports developerOracle9i reports developer
Oracle9i reports developer
 
Web REST APIs Design Principles
Web REST APIs Design PrinciplesWeb REST APIs Design Principles
Web REST APIs Design Principles
 
Improve PowerShell reporting using SharePoint lists for results
Improve PowerShell reporting using SharePoint lists for resultsImprove PowerShell reporting using SharePoint lists for results
Improve PowerShell reporting using SharePoint lists for results
 
Apex behind the scenes
Apex behind the scenesApex behind the scenes
Apex behind the scenes
 

Pdf open parameters

  • 1. Adobe Acrobat 7.0 PDF Open Parameters July 11, 2005 Adobe Solutions Network — http://partners.adobe.com
  • 2. Copyright 2004 Adobe Systems Incorporated. All rights reserved. NOTICE: All information contained herein is the property of Adobe Systems Incorporated. No part of this publication (whether in hardcopy or electronic form) may be reproduced or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written consent of the Adobe Systems Incorporated. PostScript is a registered trademark of Adobe Systems Incorporated. All instances of the name PostScript in the text are references to the PostScript language as defined by Adobe Systems Incorporated unless otherwise stated. The name PostScript also is used as a product trademark for Adobe Systems’ implementation of the PostScript language interpreter. Except as otherwise stated, any reference to a “PostScript printing device,” “PostScript display device,” or similar item refers to a printing device, display device or item (respectively) that contains PostScript technology created or licensed by Adobe Systems Incorporated and not to devices or items that purport to be merely compatible with the PostScript language. Adobe, the Adobe logo, Acrobat, the Acrobat logo, Acrobat Capture, Distiller, PostScript, the PostScript logo and Reader are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. Apple, Macintosh, and Power Macintosh are trademarks of Apple Computer, Inc., registered in the United States and other countries. PowerPC is a registered trademark of IBM Corporation in the United States. ActiveX, Microsoft, Windows, and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Verity is a registered trademark of Verity, Incorporated. UNIX is a registered trademark of The Open Group. Verity is a trademark of Verity, Inc. Lextek is a trademark of Lextek International. All other trademarks are the property of their respective owners. This publication and the information herein is furnished AS IS, is subject to change without notice, and should not be construed as a commitment by Adobe Systems Incorporated. Adobe Systems Incorporated assumes no responsibility or liability for any errors or inaccuracies, makes no warranty of any kind (express, implied, or statutory) with respect to this publication, and expressly disclaims any and all warranties of merchantability, fitness for particular purposes, and noninfringement of third party rights.
  • 3. PDF Open Parameters 3 Preface Description This document describes PDF Open parameters for Acrobat 7.0, that allow you to open a PDF file using a URL or command that specifies both the file to be opened plus actions to be performed once the file is opened. Resources The following resources provide further information about how to use the PDF Open parameters described in this document. ● Acrobat and PDF Library API Reference. Provides a detailed description of the Acrobat and PDF Library APIs. ● Acrobat Online Collaboration: Setup and Administraton. Explains how to configure a collaboration store and networking issues related to Acrobat. ● PDF Reference, fifth edition, version 1.6 describes PDF version 1.6 in detail, including PDF object types, file format, and document structure. Conventions Used in This Book The Acrobat documentation uses text styles according to the following conventions. Font Used for Examples monospaced Paths and filenames C:templatesmytmpl.fm Code examples set off from plain text These are variable declarations: AVMenu commandMenu,helpMenu; monospaced bold Code items within plain text The GetExtensionIDmethod ... Parameter names and literal values in reference documents The enumeration terminates if proc returns false. monospaced italic Pseudocode ACCB1 void ACCB2 ExeProc(void) { do something } Placeholders in code examples AFSimple_Calculate(cFunction, cFields)
  • 4. Preface Conventions Used in This Book 4 PDF Open Parameters blue Live links to Web pages The Acrobat Solutions Network URL is: http://partners.adobe.com/asn/ Live links to sections within this document See Using the SDK. Live links to code items within this document Test whether an ASAtom exists. bold PostScriptlanguageand PDF operators, keywords, dictionary key names The setpagedevice operator User interface names The File menu italic Document titles that are not live links AcrobatandPDFLibraryAPIOverview New terms User space specifies coordinates for... PostScript variables filename deletefile Font Used for Examples
  • 5. PDF Open Parameters 5 Open Parameters for PDF Adobe defines parameters that allow you to open a PDF document with a command or URL that specifies exactly what to display (a named destination or specific page), and how to display it (using such characteristics as a specific view, scrollbars, bookmarks, annotations, or highlighting). The PDF Open parameters for URLs, described in the table below, are supported through the Netscape and Internet Explorer browsers, and can also be used when opening PDF documents programmatically: ● Many of these parameters can be passed to the following core API functions (see the Acrobat and PDF Library API Reference for details): AVDocOpenFromFileWithParamString AVDocOpenFromASFileWithParamString AVDocOpenFromPDDocWithParamString ● When opening a PDF document from a command shell, you can pass the parameters to the open command using the /Aswitch using the following syntax: <path to Acrobat> /A"<open parameter>=OpenActions" "<path to PDF file>" For example: Acrobat.exe /A "zoom=1000=OpenActions" "C:example.pdf" ● When opening a PDF document with an Apple Event on a Macintosh operating system, you can optionally pass the PDF Open parameters. PDF Open Parameters The following table lists and describes the available PDF open parameters. Italics indicate user-specified variables. Syntax Description nameddest=name Specifies a named destination in the PDF. page=pagenum Specifies a numbered page in the document, using an integer value. The document’s first page has a pagenum value of 1. comment=commentID Specifies a comment on a given page in the PDF. Use the pagecommand before this command; for example: #page=1&comment=452fde0e-fd22-457c-84aa- 2cf5bed5a349
  • 6. Open Parameters for PDF PDF Open Parameters 6 PDF Open Parameters collab=setting Sets the collaboration store to be used to supply and store comments for the document. This overrides the default comment server for the review or the default preference. setting is of the form store_type@location, where valid values for store_type are: ● DAVFDF(webDAV) ● FSFDF(Network store) ● DB(ADBC) For example: #collab=DAVFDF@http://review_server/Collab/user1 For more information, see Acrobat Online Collaboration: Administration and Setup. zoom=scale zoom=scale,left,top Sets the zoom and scroll factors, using float or integer values. For example, a scale value of 100 indicates a zoom value of 100%. Scroll values left and top are in a coordinate system where 0,0 represents the top left corner of the visible page, regardless of document rotation. view=Fit view=FitH view=FitH,top view=FitV view=FitV,left view=FitB view=FitBH view=FitBH,top view=FitBV view=FitBV,left Set the view of the displayed page, using the keyword values defined in the PDF language specification. See the PDF Reference. Scroll values left and top are floats or integers in a coordinate system where 0,0 represents the top left corner of the visible page, regardless of document rotation. Use the pagecommand before this command. NOTE: Not supported on the command line. viewrect=left,top,wd,ht Sets the view rectangle using float or integer values in a coordinate system where 0,0 represents the top left corner of the visible page, regardless of document rotation. Use the pagecommand before this command. NOTE: Not supported on the command line. pagemode=bookmarks pagemode=thumbs pagemode=none(default) Displays bookmarks or thumbnails. scrollbar=1|0 Turns scrollbars on or off. Syntax Description
  • 7. PDF Open Parameters 7 Open Parameters for PDF Specifying PDF Open Parameters in a URL Specifying PDF Open Parameters in a URL You can specify multiple PDF Open parameters in a single URL. Each parameter is separated from the others with either an ampersand (&) or a pound (#) character. Actions are processed and executed from left to right as they appear on the URL command line. Because all specified actions are executed, it is possible that later actions will override the effects of previous actions, so it is important to be aware of the 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 line. search=wordList Opens the Search UI and performs a search for the specified word list in the document. Matching words are highlighted in the document. The words must be enclosed in quotes and separated by spaces; for example: #search=”word1 word2” toolbar=1|0 Turns the toolbar on or off. statusbar=1|0 Turns the status bar on or off. messages=1|0 Turns the document message bar on or off. navpanes=1|0 Turns the navigation panes and tabs on or off. highlight=lt,rt,top,btm Highlights a specified rectangle on the displayed page. (Use the pagecommand before this command.) The rectangle values are integers in a coordinate system where 0,0 represents the top left corner of the visible page, regardless of document rotation. help=index|contents|search Used only when opening a file from the command line or an Apple Event. Opens the document in the Help window, with the specified navigation panel selected. fdf=URL Specifies an FDF file to be used to populate form fields in the PDF file being opened. For example: #fdf=http://example.org/doc.fdf NOTE: The fdfparameter should be specifed last in the URL. Syntax Description
  • 8. Open Parameters for PDF Specifying PDF Open Parameters in a URL 8 PDF Open Parameters URL Examples http://example.org/doc.pdf#nameddest=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#view=fitb&nameddest=Chapter3 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/use r1 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.