Package org.gnome.gtk

Class PrintJob

java.lang.Object
All Implemented Interfaces:
Proxy

@Generated("io.github.jwharm.JavaGI") public class PrintJob extends GObject
A GtkPrintJob object represents a job that is sent to a printer.

You only need to deal directly with print jobs if you use the non-portable PrintUnixDialog API.

Use getSurface() to obtain the cairo surface onto which the pages must be drawn. Use send(org.gnome.gtk.PrintJobCompleteFunc) to send the finished job to the printer. If you don’t use cairo GtkPrintJob also supports printing of manually generated PostScript, via setSourceFile(java.lang.String).