Acrobat SDK User’s Guide
57
Working with PDF Documents
Working with Embedded Fonts
5
To set more specific parameters for printing without a user interface, you must use the
AVDocPrintPagesWithParams
method. Among the parameters that you can set with
this method are:
●
The printer to be used
●
Output file name (path and filename)
●
Whether to embed the output in a bounding rectangle on the screen
●
Whether to print the document as an image
●
Whether to tile the output
●
Output transparency level
Printing from an External Application
Using the IAC APIs, you can print a PDF file from an external application. On Windows, the
IAC API’s
AVDoc
object has several methods for printing.
In AppleScript, the
document
object’s
print pages
method prints a specified range of
pages without displaying a print dialog box.
For more information, see the
Acrobat Interapplication Communication Overview
.
Working with Embedded Fonts
This section discusses embedded font-related operations using the Acrobat SDK. Acrobat
Distiller and the PDF Library add font embedding information to fonts that are embedded
in PDF files. With the inclusion of this information, your code can determine how an
embedded font can be used. The operations discussed in this section also largely apply to
code used with the PDF Library SDK.
Acrobat plug-in developers can remove and embed fonts within an existing PDF
document. They can also use fonts that are already embedded in a PDF document for
preview and printing, as well as editing. However, allowing editing using embedded fonts is
not recommended, and in some cases it is impractical. For example, CJK fonts potentially
include thousands of glyphs, so applications must subset these fonts when embedding
them in a PDF file. This precludes embedded CJK fonts from being used for editing by a
plug-in.
PDF Library users can perform all of the above operations using an existing PDF document,
or create a PDF document from scratch that includes embedded fonts. Creating a
document from scratch cannot be performed by a plug-in, but it can be done by using PDF
library calls from within a compiled application that includes the PDF Library.
Summary of Contents for Acrobat 7.0.5
Page 10: ...Contents 10 Acrobat SDK User s Guide ...
Page 66: ...Modifying the User Interface Customizing Acrobat Help 6 66 Acrobat SDK User s Guide ...
Page 78: ...XML and the Acrobat SDK Managing XML based Information 8 78 Acrobat SDK User s Guide ...
Page 100: ...Providing Document Security Document Rights 11 100 Acrobat SDK User s Guide ...
Page 106: ...Working with Metadata Object Data 12 106 Acrobat SDK User s Guide ...
Page 110: ...Searching and Indexing Indexing PDF Documents 13 110 Acrobat SDK User s Guide ...
Page 118: ...Working With PDF Layers Working with Layers from a Plug in 15 118 Acrobat SDK User s Guide ...