| GtkPrinter {RGtk2} | R Documentation |
Represents a printer
GObject +----GtkPrinter GObject +----GtkPrintBackend
A GtkPrinter object represents a printer. You only need to
deal directly with printers if you use the non-portable
GtkPrintUnixDialog API.
GtkPrinter GtkPrinter GtkPrintUnixDialog GtkPrintUnixDialog
A GtkPrinter allows to get status information about the printer,
such as its description, its location, the number of queued jobs,
etc. Most importantly, a GtkPrinter object can be used to create
a GtkPrintJob object, which lets you print to the printer.
GtkPrinter GtkPrinter GtkPrinter GtkPrinter GtkPrintJob GtkPrintJob
Printing support was added in GTK+ 2.10.
GtkPrinterFunc(printer, data)gtk\Enumerate\Printers().
Note that you need to ref printer, if you want to keep
a reference to it after the function has returned.
printerGtkPrinterdatagtk\Enumerate\Printers()
details-acquired(printer, success, user.data)success parameter
indicates if the information was actually obtained.
Since 2.10
printerGtkPrinter on which the signal is emittedsuccessTRUE if the details were successfully acquireduser.data
accepts-pdf [logical : Read / Write / Construct Only]TRUE if this printer can accept PDF. Default value: TRUE
accepts-ps [logical : Read / Write / Construct Only]TRUE if this printer can accept PostScript. Default value: TRUE
backend [GtkPrintBackend : Read / Write / Construct Only]Backend for the printer.
icon-name [character : Read]The icon name to use for the printer. Default value: NULL
is-virtual [logical : Read / Write / Construct Only]FALSE if this represents a real hardware printer. Default value: FALSE
job-count [integer : Read]Number of jobs queued in the printer. Allowed values: >= 0 Default value: 0
location [character : Read]The location of the printer. Default value: NULL
name [character : Read / Write / Construct Only]Name of the printer. Default value: NULL
state-message [character : Read]String giving the current state of the printer. Default value: NULL
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/GtkPrinter.html