Hello,

My program let's the user print some stuff, which works fine.
But I would like to go from:
gtk.PrintOperation(gtk.PRINT_OPERATION_ACTION_PRINT_DIALOG, parent)
to:
gtk.PrintOperation(gtk.PRINT_OPERATION_ACTION_PRINT, parent)

So I can eliminate the extra dialog, because I set every option somewhere
else in my program.

Actually, I want exactly what the following gives:
print_settings = gtk.PrintSettings()
gtk.print_run_page_setup_dialog(None, None, print_settings)

I would use this dialog, but the user shouldn't be able to select the paper
orientation, like said above, the user sets and saves this in my preferences
dialog. So I only need the printer choice combo.

I was thinking about looking through the source before asking here, but I
don't even know where to start.

Cheers,
Timo
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to