in reply to Gtk2::PrintOperation problem
Hi
I also great fan of perl GTK2. But the perl Gtk2's documentation is not complete and not good to refer.
Since, perl gtk2 maintains the APIs as close to its underlaying C APIs, we can just refer the PyGtk's documentation, which is really good and complete. Once you know about the API, you can then write it in perl
Coming to your issue, try use, ,
'GTK_PRINT_OPERATION_ACTION_EXPORT' instead of exportyou can read some info about this printoperation class here
http://www.pygtk.org/docs/pygtk/class-gtkprintoperation.html#method-gt +kprintoperation--run http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/PrintOperation.html#enum +_Gtk2_PrintOpera
i dont not have printer to try myself, I will try this code and update you.
-Bakki http://code.google.com/p/saaral-soft-search-spider/ - A perl Gtk2 project
|
---|
In Section
Seekers of Perl Wisdom