Package: gtk

Class gtk-print-job

Superclasses

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

Documented Subclasses

None

Direct Slots

page-setup
The page-setup property of type gtk-page-setup (Read / Write / Construct Only)
Page Setup.
printer
The printer property of type gtk-printer (Read / Write / Construct Only)
Printer to print the job to.
settings
The settings property of type gtk-print-settings (Read / Write / Construct Only)
Printer settings.
title
The title property of type :string (Read / Write / Construct Only)
Title of the print job.
Default value: nil
track-print-status
The track-print-status property of type :boolean (Read / Write)
True if the print job will continue to emit "status-changed" signals after the print data has been sent to the printer or print server.
Default value: false

Details

A gtk-print-job 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 gtk-print-unix-dialog API.

Use the gtk-print-job-surface function to obtain the Cairo surface onto which the pages must be drawn. Use the gtk-print-job-send function to send the finished job to the printer. If you do not use Cairo the gtk-print-job object also supports printing of manually generated PostScript, via the gtk-print-job-set-source-file function.

Signal Details

The "status-changed" signal
 lambda (job)    :run-last      
Gets emitted when the status of a job changes. The signal handler can use the gtk-print-job-status function to obtain the new status.
job
The gtk-print-job object on which the signal was emitted.
 

Slot Access Functions

Inherited Slot Access Functions

See also

2021-12-25