getPrintPosition

getPrintPosition(): Integer;

The getPrintPosition method of the Printer class returns the current pixel position to be used for the next print statement on a page. This position is initially set to zero (0) after an end-of-page condition. (The pixel position is zero-relative to the top margin of the page.) An exception is raised if this method is invoked from a server method.

This method is not relevant for direct printing (that is, when the formatOut property option is set to =direct).