Hi all, I have been working with PyGTK since 2 years ago (in linux), and
now Im working on a program that must run on Win32 and linux. But, Im
having  a problem, Im trying to hide the print dialog but it always
shows it. Besides, using gtk.PrintSettings.set_printer() to the default
printer isn't working, if I don't select a printer cairo cries about
invalid driver. But, if I select another and get back to the default
printer and send to print everything goes fine.

I have been looking a lot in google for some days, finding nothing. Not
even the way to get the default printer with GTK (Why it doesn't have a
get_default_printer function??

Anyway, Im getting the printername using ctypes, and using
gtk.PrinterSettings.set_printer() with the default printer name doesn't
seems to work.

For those who cares, Im using Gtk 2.10.11 and PyGTK version 2.10.4 over
Windows XP.

Thank you for your help.
-- 
<--Linux... Because I'm Free-->
Marco Antonio Islas Cruz
"Markuz"
Linux User #280229
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.islascruz.org
http://sourceforge.net/projects/gpkg/
http://www.linuxpozarica.com

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to