5
Print Production
Print Production
Print Production
Since printing involves sending pages to an output device, there are many options that can
affect print quality. Acrobat JavaScript can be used to enhance and automate the use of
these options in print production workflows, primarily through the use of the
printParams
object, whose properties and methods are described below in
Table 5.1:
T
ABLE
5.1
PrintParams Properties
Property
Description
Binary printer channel is supported
DPI used for bitmaps or rasterizing transparency
Uses color override settings
Color profile based on available color spaces
Wrapper object for
printParams
constants
binaryOK
bitmapDPI
colorOverride
colorProfile
constants
downloadFarEastFonts
Sends Far East fonts to the printer
fileName
firstPage
flags
fontPolicy
gradientDPI
interactive
lastPage
pageHandling
pageSubset
printAsImage
printContent
printerName
psLevel
rasterFlags
Filename is used when printing to a file instead of a
printer
The first zero-based page to be printed
A bit field of flags to control printing options
Used to determine when fonts are emitted
The DPI used for rasterizing gradients
Sets the level of interaction for the user
The last zero-based page to be printed
How pages will be handled (fit, shrink, or tiled)
Even, odd, or all pages are printed
Sends pages as large bitmaps
Determines whether form fields and comments will be
printed
The name of the destination printer
The level of PostScript emitted to the printer
A bit field of flags for outlines, clips, and overprint
78
Acrobat JavaScript Scripting Guide