PostScriptDevice.printWindow

void printWindow(Window window, int deltaX = 0, int deltaY = 0)

Prints a window and all its contents to the PostScript output.

Parameters

windowThe window to print
deltaXX offset from origin
deltaYY offset from origin