Package: gtk
Class gtk-printer
Superclassesg-object, common-lisp:standard-object, common-lisp:t Documented Subclasses
None
Direct Slotsaccepting-jobs The accepting-jobs property of type :boolean (Read) This property is 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) 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) Name of the printer. Default value: "" paused The paused property of type :boolean (Read) This property is 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) String giving the current state of the printer. Default value: "" Details A 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. A 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, a gtk-printer object can be used to create a gtk-print-job object, which lets you print to the printer. Signal DetailsThe "details-acquired" signallambda (printer success) :run-lastGets 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.
| Slot Access FunctionsInherited Slot Access FunctionsSee also |
2021-12-25