DocumentPrintSettings

Print settings for a document.

Methods:

setPagePosition

Property Listing

Property

Type

Access

Description

activePrinter

String

read/write

Currently selected printer.

backgroundColor

SolidColor

read/write

Background color of page.

bleedWidth

UnitValue

read/write

Bleed width.

caption

Boolean

read/write

Description field from File Info.

centerCropMarks

Boolean

read/write

Print center crop marks.

colorBars

Boolean

read/write

Print color calibration bars.

colorHandling

PrintColorHandling

PrintColorHandling.PRINTERMANAGED

PrintColorHandling.PHOTOSHOPMANAGED

PrintColorHandling.SEPARATIONS

read/write

Color handling.

copies

Int

read/write

Number of copies.

cornerCropMarks

Boolean

read/write

Print corner crop marks.

docPosition

DocPositionStyle

DocPositionStyle.PRINTCENTERED

DocPositionStyle.SIZETOFIT

DocPositionStyle.USERDEFINED

readonly

Position of image when printing.

flip

Boolean

read/write

Flip the image horizontally.

hardProof

Boolean

read/write

Print a hard proof.

interpolate

Boolean

read/write

 

labels

Boolean

read/write

Prints the document title.

mapBlack

Boolean

read/write

Map blacks.

negative

Boolean

read/write

Invert the image colors.

parent

 

readonly

The object's container.

posX

UnitValue

readonly

X position of image on page.

posY

UnitValue

readonly

Y position of image on page.

printBorder

UnitValue

read/write

Width of the print border.

printSpace

String

read/write

Color space for printer. Can be nothing (meaning same as source) or a string specifying a specific color profile.

printerName

String

read/write

Name of printer.

printers

Array of String

readonly

List of available printers.

registrationMarks

Boolean

read/write

Print registration marks.

renderIntent

Intent

Intent.PERCEPTUAL

Intent.SATURATION

Intent.RELATIVECOLORIMETRIC

Intent.ABSOLUTECOLORIMETRIC

read/write

Color conversion intent when print space is different from the source space.

scale

Number

readonly

Scale of image on page.

typename

String

readonly

The class name of the object.

vectorData

Boolean

read/write

Include vector data.

Method Listing

undefined setPagePosition (docPosition:DocPositionStyle, [posX:UnitValue], [posY:UnitValue], [scale:Number=Number])

Set the position of the image on the page.

Parameter

Type

Description

docPosition

DocPositionStyle

DocPositionStyle.PRINTCENTERED

DocPositionStyle.SIZETOFIT

DocPositionStyle.USERDEFINED

Position of the image on page when printing. Can be centered, scale to fit, or user defined.

posX

UnitValue

X position of image on page.

posY

UnitValue

Y position of image on page.

scale

Number

Position of the image on page when printing. Can be centered, scale to fit, or user defined.

(default: 100)

Object of

Document.printSettings