Package: gtk

Class gtk:printer

Superclasses

gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

accepting-jobs
The accepting-jobs property of type :boolean (Read)
True if the printer is accepting jobs.
Default value: true
accepts-pdf
The accepts-pdf property of type :boolean (Read / Write / Construct Only)
True if the printer can accept PDF.
Default value: false
accepts-ps
The accepts-ps property of type :boolean (Read / Write / Construct Only)
True if the printer can accept PostScript.
Default value: true
backend
The backend property of type gtk:print-backend (Read / Write / Construct Only)
Backend for the printer.
icon-name
The icon-name property of type :string (Read)
The icon name to use for the printer.
Default value: ""
is-virtual
The is-virtual property of type :boolean (Read / Write / Construct)
False if this represents a real hardware printer.
Default value: false
job-count
The job-count property of type :int (Read)
The number of jobs queued in the printer.
Allowed values: >= 0
Default value: 0
location
The location property of type :string (Read)
The location of the printer.
Default value: ""
name
The name property of type :string (Read / Write / Construct)
The name of the printer.
Default value: ""
paused
The paused property of type :boolean (Read)
True if this printer is paused. A paused printer still accepts jobs, but it does not print them.
Default value: false
state-message
The state-message property of type :string (Read)
The string giving the current state of the printer.
Default value: ""

Details

The gtk:printer object represents a printer. You only need to deal directly with printers if you use the non-portable gtk:print-unix-dialog API.

The gtk:printer object allows to get status information about the printer, such as its description, its location, the number of queued jobs, etc. Most importantly, the gtk:printer object can be used to create a gtk:print-job object, which lets you print to the printer.

Signal Details

The "details-acquired" signal
lambda (printer success)    :run-last      
printer
The gtk:printer object on which the signal is emitted.
success
True if the details were successfully acquired.
Gets emitted in response to a request for detailed information about a printer from the print backend. The success parameter indicates if the information was actually obtained.
 

Returned by

Slot Access Functions

Inherited Slot Access Functions

See also

2024-7-6