|There's more than one way to do things|
Gtk2::PrintOperation problemby mst3000 (Novice)
|on Jan 26, 2012 at 06:30 UTC||Need Help??|
mst3000 has asked for the
wisdom of the Perl Monks concerning the following question:
Hopefully one of the Monks can help with this one...I'm under a deadline and can't get this working properly at all.
I found this code somewhere online (tried to find it in my history but I'm frazzled and can't find it right now)
Okay...it loads up the html file PERFECTLY. However, afterwards, the program begins churning out a PDF file that will fill the disk. Looking at the PDF file in a text editor, it's just blank page after blank page.
After doing some troubleshooting, I realized that if I do $op->run('export',undef); this results in exactly the same thing.
However, $window is definitely assigned. So, what is the problem with this? Google has been no help whatsoever, as I can find next to nothing usable concerning Gtk's PrintOperation
Any help would be VERY appreciated!!