DocumentPrintSettings.setPagePosition

void setPagePosition (DocPositionStyle docPosition, UnitValue posX, UnitValue posY, Number scale)

Parameters

docPosition Position of the image on page when printing. Can be centered, scale to fit, or user defined.
posX X position of image on page.
posY Y position of image on page.
scale Position of the image on page when printing. Can be centered, scale to fit, or user defined.

Description

Set the position of the image on the page.