declare namespace java {
    namespace awt {
        namespace print {
            // @ts-ignore
            interface PrinterGraphics {
                /**
                 * Returns the <code>PrinterJob</code> that is controlling the
                 * current rendering request.
                 */
                // @ts-ignore
                 getPrinterJob(): java.awt.print.PrinterJob;
            }
        }
    }
}
