PrintPreference
Print preferences.
Go to Property Listing | Method Listing
Methods:
addEventListener, getElements, removeEventListener, toSource, toSpecifier
Objects:
Boolean, ColorOutputModes, ColorRenderingDictionary, DataFormat, EventListeners, Events, File, Flip, FontDownloading, ImageDataTypes, MarkLineWeight, MarkTypes, Number, Object, PPDValues, PagePositions, PageRange, PaperSize, PaperSizes, PostScriptLevels, PrintLayerOptions, PrintPageOrientation, Printer, PrinterPreset, PrinterPresetTypes, Profile, RenderingIntent, ScaleModes, Screeening, Sequences, SourceSpaces, String, ThumbsPerPage, TilingTypes, Trapping,
Hierarchy:
Superclass: Preference
Class: PrintPreference
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
read/write |
The current printer preset type. Can return: PrinterPresetTypes enumerator or PrinterPreset. |
||
read/write |
If true, prints all printer marks. If false, prints specified printer marks. |
||
read/write |
If true, uses bitmap printing. |
||
Number (range 72 - 1200) |
read/write |
The resolution for bitmap printing. (Range: 72 to 1200) Note: Valid when bitmap printing is true. |
|
Number (range 0 - 360) |
read/write |
The angle override for black ink. (Range: 0 to 360) |
|
Number (range 1 - 500) |
read/write |
The frequency override for black ink. (Range: 1 to 500) |
|
read/write |
The height of the bleed area at the bottom of the page. Note: Valid only when use document bleed to print is true. |
||
read/write |
If true, forces all bleed area settings to be the same, using the most recent bleed measurement setting. If false, allows bleed top, bleed bottom, bleed inside, and bleed outside to have different measurements. |
||
read/write |
The width of the bleed area at the inside of the page. Note: Valid only when use document bleed to print is true. |
||
read/write |
If true, print bleed marks. |
||
read/write |
The width of the bleed area at the outside of the page. Note: Valid only when use document bleed to print is true. |
||
read/write |
The height of the bleed area at the top of the page. Note: Valid only when use document bleed to print is true. |
||
read/write |
If true, collate printed copies. |
||
read/write |
If true, add small squares of color representing the CMYK inks and tints of gray in 10% increments. |
||
read/write |
The color output mode for composites. Note: Not valid when a device-independent PPD is specified. |
||
Number (range 0 - 360) |
read/write |
The screen angle to use when printing composites. (Range: 0 to 360) Note: Valid only for PostScript or PDF files that use custom screening. |
|
Number (range 1 - 500) |
read/write |
The screen frequency to use when printing composites. (Range: 1 to 500) Note: Valid only for PostScript or PDF files that use custom screening. |
|
read/write |
The number of copies to print. Note: Not valid when printer is PostScript File. |
||
read/write |
The color-rendering dictionary (CRD), specified as a CRD name or an enumeration value. Note: Valid only when use color management is true. Can return: ColorRenderingDictionary enumerator or String. |
||
read/write |
Prints crop marks that define where the page should be trimmed. |
||
Number (range 0 - 360) |
read/write |
The angle override for cyan ink. (Range: 0 to 360) |
|
Number (range 1 - 500) |
read/write |
The frequency override for cyan ink. (Range: 1 to 500) |
|
read/write |
The format in which to send image data to the printer. |
||
read/write |
If true, downloads all fonts listed in the selected PPD. Valid only when font downloading is complete or subset. |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
read/write |
The name of the transparency flattener preset. |
||
read/write |
The direction in which to flip the printed image. |
||
read/write |
Controls how fonts are downloaded to the printer. |
||
read/write |
If true, ignores flattener spread overrides. |
||
read/write |
If true, includes the slug area in the printed document. |
||
read/write |
The rendering intent. Note: Valid only when use color management is true. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
Number (range 0 - 360) |
read/write |
The angle override for magenta ink. (Range: 0 to 360) |
|
Number (range 1 - 500) |
read/write |
The frequency override for magenta ink. (Range: 1 to 500) |
|
read/write |
The stroke weight (in points) for printer marks. |
||
read/write |
The distance to offset the page marks from the edge of the page. |
||
read/write |
The type of printer marks, either an enum value or the name of a custom marks file. Can return: MarkTypes enumerator or String. |
||
read/write |
If true, prints the document as a negative. |
||
read/write |
If true, replaces bitmap images with OPI links. |
||
read/write |
If true, replaces EPS images with OPI links. |
||
read/write |
If true, replaces PDF images with OPI links. |
||
read/write |
If true, prints graphics that are either OPI comments stored in imported EPS files or linked using OPI comments. For information on linking files using OPI comments, see omit EPS, omit PDF, or omit bitmaps. |
||
read/write |
If true, prints the filename, page number, current date and time, and color separation name. |
||
read/write |
The position of the page on the printing medium. Note: Valid only when tile is false. |
||
read/write |
The pages to print, specified either as an enumeration or a string. To specify a range, separate page numbers in the string with a hyphen (-). To specify separate pages, separate page numbers in the string with a comma (,). Can return: PageRange enumerator or String. |
||
read/write |
The space between document pages on the printing medium. |
||
Unit |
read/write |
The paper height. Note: Valid only when paper size is custom or scale mode is scale width height. Can return: PaperSize enumerator or Unit. |
|
read/write |
The amount of space to offset the page from the left edge of the imageable area. |
||
read/write |
The paper size, specified as either a string or an enumeration. For information on paper size names, see paper size list. Can return: PaperSizes enumerator or String. |
||
readonly |
A list of the available paper sizes. |
||
read/write |
If true, uses transverse orientation. |
||
Unit |
read/write |
The paper width. Note: Valid only when paper size is custom or scale mode is scale width height. Can return: PaperSize enumerator or Unit. |
|
readonly |
The parent of the PrintPreference (a Book or Document). |
||
readonly |
If true, doing pdf passthrough. |
||
read/write |
The PostScript level of the printer. |
||
read/write |
The PPD, specified as a PPD name or an enumeration. Can return: PPDValues enumerator or String. |
||
readonly |
Available PPDs. |
||
read/write |
If true, preserves uncalibrated color numbers. |
||
read/write |
If true, prints the black ink. Note: Valid only when trapping is off. |
||
read/write |
If true, prints blank pages. Note: Valid only when trapping is off. |
||
read/write |
If true, prints the cyan ink. Note: Valid only when trapping is off. |
||
read/write |
The PostScript file to print to. Note: Valid only when the current printer is defined as postscript file. |
||
read/write |
If true, prints visible guides and baseline grids. Note: Valid only when trapping is off. |
||
read/write |
The layers to print. |
||
read/write |
If true, prints the magenta ink. Note: Valid only when trapping is off. |
||
read/write |
If true, prints master pages. |
||
read/write |
If true, prints non-printing objects. Note: Valid only when trapping is off. |
||
read/write |
The orientation of the printed page. |
||
read/write |
If true, prints each spread with all spread pages on a single sheet. If false, prints spread pages as separate pages. |
||
read/write |
If true, prints the yellow ink. Note: Valid only when trapping is off. |
||
read/write |
The current printer. Can return: Printer enumerator or String. |
||
readonly |
Available printers. |
||
read/write |
The color profile. Can return: Profile enumerator or String. |
||
read/write |
A property that allows setting of several properties at the same time. |
||
read/write |
If true, prints small targets outside the page area for aligning color separations. |
||
read/write |
If true, prints pages in reverse order. |
||
Number (range 0 - 1000) |
read/write |
The amount (as a percentage) that the page height is scaled during printing. (Range: 0 to 1000) Note: Valid only when scale mode is scale width height. |
|
read/write |
The policy for scaling the page. Note: Valid only when printing from Layout view. |
||
read/write |
If true, constrains the proportions of the scaling; uses the most recent value for either scale width or scale height to define both values. Note: Valid only when scale mode is scale width height. |
||
Number (range 0 - 1000) |
read/write |
The amount (as a percentage) that the page width is scaled during printing. (Range: 0 to 1000) Note: Valid only when scale mode is scale width height. |
|
read/write |
The ink screening settings for composite gray output in PostScript or PDF format. . Can return: Screeening enumerator or String. |
||
readonly |
Lists the ink screenings available in the PPD. Note: Valid only when color output is separations or in rip separations. |
||
read/write |
The image data sent to the printer or file. |
||
read/write |
The sequence of pages to print. |
||
read/write |
If true, simulates the effects of overprinting spot inks with different neutral density values by converting spot colors to process colors for printing. Note: Not valid when the color output mode is defined to leave color profiles unchanged. |
||
read/write |
The source of the color management system. Note: Valid only when use color management is true. |
||
read/write |
If true, prints all text as black unless text has the color None or Paper or a color value that equals white. If false, prints colored text, such as blue hyperlinks, in halftone patterns. Note: Valid only when trapping is off. |
||
read/write |
If true, prints thumbnails. Note: Valid only when trapping is off and tile is false. |
||
read/write |
The number of thumbnails per page. |
||
read/write |
If true, tiles pages. |
||
read/write |
The amount of tiling overlap. Note: Valid only when tiling is true and tiling type is not manual. |
||
read/write |
The tiling type. Note: Valid only when tiling is true. |
||
read/write |
The type of trapping. |
||
read/write |
If true, uses the bleed area set for the document. |
||
Number (range 0 - 360) |
read/write |
The angle override for yellow ink. (Range: 0 to 360) |
|
Number (range 1 - 500) |
read/write |
The frequency override for yellow ink. (Range: 1 to 500) |
Method Listing
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
PrintPreference getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the PrintPreference.
String toSpecifier ()
Retrieves the object specifier.
Object of
Document.printPreferences
Book.printPreferences
Event.parent
EventListener.parent
MutationEvent.parent