Acrobat SDK User’s Guide
41
Creating PDF Documents
Creating PDF Documents from an Authoring Application
4
Automated, Silent Creation of PDF Documents from Windows
In the Acrobat 7.0.5 SDK, there is a new set of APIs that allow you to automate the silent
creation of PDF files from an external Windows application.
When you use the OLE Automation described above, the Distiller splashscreen and status
are displayed even when the process is automated. With this API, there is no interaction
with the user and no display on the screen; the printing is done “silently.”
This API allows you to specify the name and location of the output PDF. To do so, you must
make modifications to the Windows registry. See the
Distiller API Reference
for more
information on what registry modifications are required.
N
O T E
:
This procedure involves editing the registry. Adobe Systems Incorporated does not
provide support for editing the registry, which contains critical system and
application information. It is recommended that you back up the registry before
modifying it.
To check status and errors, use the Distiller API. For more information, see the
Acrobat
Distiller API Reference
and the
Acrobat SDK Samples Guide
.
Choosing an Adobe PDF Settings File
You can control the Adobe PDF settings file through the Distiller user interface, or you can
control Distiller programmatically through the various Distiller automation methods. For
details on automation methods, see
“Creating PDF Documents from an Authoring
Application” on page 39
and the
Acrobat Distiller API Reference
.
At the user interface level, you can set Distiller parameters by selecting a file of predefined
Adobe PDF settings, or by creating your own set of Adobe PDF settings. Each Distiller
settings file defines compression, font embedding, color management, PDF/X-compliance,
and many other properties for all PDF files that Distiller creates.
Distiller comes with several predefined Adobe PDF settings files, with settings defined for
common scenarios. You choose which settings file to use as a parameter to the Distiller
Automation API. For a complete list of settings, see the
Acrobat Distiller API Reference
.
Automatically Generating Advanced Acrobat Features
The most convenient place to generate advanced Acrobat features is in the authoring
application itself, since this application knows the most about the structure of the
document. Advanced PDF features are generated using the
pdfmark
PostScript operator.
The authoring application must generate a PostScript language file that contains the
appropriate pdfmark operators for the document structure desired. The resulting
PostScript language file is converted into a PDF file via Distiller. In addition, Acrobat allows
logical structure information to be added to a document. For instance, paragraphs in a
page’s contents can be associated with a structural element representing a paragraph.
For more information, see
“Creating Tagged PDF Documents” on page 43
and the
pdfmark
Reference Manual.
Содержание Acrobat 7.0.5
Страница 10: ...Contents 10 Acrobat SDK User s Guide ...
Страница 66: ...Modifying the User Interface Customizing Acrobat Help 6 66 Acrobat SDK User s Guide ...
Страница 72: ...Using Online Collaboration and Annotations Using Stamps in Approval Workflows 7 72 Acrobat SDK User s Guide ...
Страница 78: ...XML and the Acrobat SDK Managing XML based Information 8 78 Acrobat SDK User s Guide ...
Страница 100: ...Providing Document Security Document Rights 11 100 Acrobat SDK User s Guide ...
Страница 106: ...Working with Metadata Object Data 12 106 Acrobat SDK User s Guide ...
Страница 110: ...Searching and Indexing Indexing PDF Documents 13 110 Acrobat SDK User s Guide ...
Страница 118: ...Working With PDF Layers Working with Layers from a Plug in 15 118 Acrobat SDK User s Guide ...