Re: switch printer tray during printing
- From: Adam Tauno Williams <awilliam whitemice org>
- To: gtk-app-devel-list gnome org
- Subject: Re: switch printer tray during printing
- Date: Mon, 11 Mar 2013 16:46:45 -0400
On Thu, 2013-02-21 at 14:51 -0600, Michael Cronenworth wrote:
Michael Cronenworth wrote:
Does anyone know if GTK allows switching print trays in the middle of a
GtkPrintOperation?
I tried setting the source to Tray 2 in the "request-page-setup" signal
for the second page, but this did not work. The second page printed to
Tray 1 (default).
Old message, but I still wanted to reply for the Google archives.
I cannot get GTK to change tray during a print job. I had to break the
print job into two jobs and manually call
gtk_print_settings_set_default_source() inbetween jobs.
Ideally GTK should be able to change tray *and* paper orientation/size
during a print job. There doesn't seem to be an RFE for this, but I
think it would be a good feature.
I'm not sure this is even possible. Tray select, duplex, etc... are
often encoded in either the PCL preamble of a print job or in a PJL
envelope [common for Postscript]. They really are attributes of the
*job*.
I'd guess that Gtk/GNOME would have to 'emulate' this behavior by
splitting the ob silently into multiple jobs. That could get wierd.
--
Adam Tauno Williams GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]