GtkPrintJob {RGtk2} | R Documentation |
Represents a print job
GObject +----GtkPrintJob
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 GtkPrintUnixDialog
API.
Use gtk\Print\Job\Get\Surface()
to obtain the cairo surface
onto which the pages must be drawn. Use gtk\Print\Job\Send()
to send the finished job to the printer. If you don't use cairo
GtkPrintJob
also supports printing of manually generated postscript,
via gtk\Print\Job\Set\Source\File()
.
Printing support was added in GTK+ 2.10.
GtkPrintJobCompleteFunc(print.job, user.data, error)
gtk\Print\Job\Send()
.
It is called when the print job has been completely sent.
print.job
GtkPrintJob
user.data
gtk\Print\Job\Send()
error
GError
] a GError
that contains error information if the sending
of the print job failed, otherwise NULL
status-changed(job, user.data)
gtk\Print\Job\Get\Status()
to obtain the new status.
Since 2.10
job
GtkPrintJob
object on which the signal was emitteduser.data
page-setup
[GtkPageSetup
: Read / Write / Construct Only]Page Setup.
printer
[GtkPrinter
: Read / Write / Construct Only]Printer to print the job to.
settings
[GtkPrintSettings
: Read / Write / Construct Only]Printer settings.
title
[character : Read / Write / Construct Only]Title of the print job. Default value: NULL
track-print-status
[logical : 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
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/GtkPrintJob.html