Adobe Photoshop CS5 Object Library JS: DocumentPrintSettings

Photoshop CS5

Class

DocumentPrintSettings

 Print settings for a document.

QuickLinks

setPagePosition

Hierarchy

Object
DocumentPrintSettings

Properties

PropertyTypeAccessDescription
activePrinterstring r/wCurrently selected printer.
backgroundColorSolidColor r/wBackground color of page.
bleedWidthUnitValue r/wBleed width.
captionbool r/wDescription field from File Info.
centerCropMarksbool r/wPrint center crop marks.
colorBarsbool r/wPrint color calibration bars.
colorHandlingPrintColorHandling:
PrintColorHandling.PRINTERMANAGED
PrintColorHandling.PHOTOSHOPMANAGED
PrintColorHandling.SEPARATIONS
PrintColorHandling.NOTMANAGED
r/wColor handling.
copiesnumber r/wNumber of copies.
cornerCropMarksbool r/wPrint corner crop marks.
docPositionDocPositionStyle:
DocPositionStyle.PRINTCENTERED
DocPositionStyle.SIZETOFIT
DocPositionStyle.USERDEFINED
r/wPosition of image when printing.
flipbool r/wFlip the image horizontally.
hardProofbool r/wPrint a hard proof.
interpolatebool r/w
labelsbool r/wPrints the document title.
mapBlackbool r/wMap blacks.
negativebool r/wInvert the image colors.
parentObject readonlyThe object's container.
posXUnitValue r/wX position of image on page.
posYUnitValue r/wY position of image on page.
printBorderUnitValue r/wWidth of the print border.
printSelectedbool r/wPrint the selected area of the document.
printSpacestring r/wColor space for printer. Can be nothing (meaning same as source); 'Working RGB', 'Working CMYK', 'Working Gray', 'Lab Color' (meaning one of the working spaces or Lab color); or a string specifying a specific colorspace (default is same as source).
printers Array of string r/wList of available printers.
registrationMarksbool r/wPrint registration marks.
renderIntentIntent:
Intent.PERCEPTUAL
Intent.SATURATION
Intent.RELATIVECOLORIMETRIC
Intent.ABSOLUTECOLORIMETRIC
r/wColor conversion intent when print space is different from the source space.
scalenumber r/wScale of image on page.
typenamestring readonlyThe class name of the object.
vectorDatabool r/wInclude vector data.

Methods

Instances

void setPagePosition (docPosition: DocPositionStyle[, posX: UnitValue][, posY: UnitValue][, scale: number=100])
Set the position of the image on the page.

ParameterTypeDescription
docPositionDocPositionStyle:
DocPositionStyle.PRINTCENTERED
DocPositionStyle.SIZETOFIT
DocPositionStyle.USERDEFINED
Position of the image on page when printing. Can be centered, scale to fit, or user defined.
posXUnitValueX position of image on page. (Optional)
posYUnitValueY position of image on page. (Optional)
scalenumberPosition of the image on page when printing. Can be centered, scale to fit, or user defined. (default: 100) (Optional)

Element of

Document.printSettings

Jongware, 28-Aug-2012 v3.0.3iContents :: Index