Class
Print settings for a document.
setPagePosition
DocumentPrintSettings
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
activePrinter | string | r/w | Currently selected printer. |
backgroundColor | SolidColor | r/w | Background color of page. |
bleedWidth | UnitValue | r/w | Bleed width. |
caption | bool | r/w | Description field from File Info. |
centerCropMarks | bool | r/w | Print center crop marks. |
colorBars | bool | r/w | Print color calibration bars. |
colorHandling | PrintColorHandling: PrintColorHandling.PRINTERMANAGED PrintColorHandling.PHOTOSHOPMANAGED PrintColorHandling.SEPARATIONS PrintColorHandling.NOTMANAGED |
r/w | Color handling. |
copies | number | r/w | Number of copies. |
cornerCropMarks | bool | r/w | Print corner crop marks. |
docPosition | DocPositionStyle: DocPositionStyle.PRINTCENTERED DocPositionStyle.SIZETOFIT DocPositionStyle.USERDEFINED |
r/w | Position of image when printing. |
flip | bool | r/w | Flip the image horizontally. |
hardProof | bool | r/w | Print a hard proof. |
interpolate | bool | r/w | |
labels | bool | r/w | Prints the document title. |
mapBlack | bool | r/w | Map blacks. |
negative | bool | r/w | Invert the image colors. |
parent | Object | readonly | The object's container. |
posX | UnitValue | r/w | X position of image on page. |
posY | UnitValue | r/w | Y position of image on page. |
printBorder | UnitValue | r/w | Width of the print border. |
printSelected | bool | r/w | Print the selected area of the document. |
printSpace | string | r/w | Color 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/w | List of available printers. |
registrationMarks | bool | r/w | Print registration marks. |
renderIntent | Intent: Intent.PERCEPTUAL Intent.SATURATION Intent.RELATIVECOLORIMETRIC Intent.ABSOLUTECOLORIMETRIC |
r/w | Color conversion intent when print space is different from the source space. |
scale | number | r/w | Scale of image on page. |
typename | string | readonly | The class name of the object. |
vectorData | bool | r/w | Include vector data. |
Methods
Instances
void setPagePosition (docPosition:
DocPositionStyle[, posX:
UnitValue][, posY:
UnitValue][, scale:
number=100])
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. (Optional) |
posY | UnitValue | Y position of image on page. (Optional) |
scale | number | Position 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.3i | Contents :: Index |