Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
more useful options
 
PerlMonks  

Re: Gtk2::PrintOperation problem

by sam_bakki (Monk)
on Jan 28, 2012 at 13:05 UTC ( #950511=note: print w/ replies, xml ) Need Help??


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 export

you 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


Comment on Re: Gtk2::PrintOperation problem
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://950511]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (15)
As of 2014-04-16 20:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (433 votes), past polls