[pygtk] Printing inquiries

Bertrand Son Kintanar b3rxkintanar at gmail.com
Tue Feb 24 20:51:23 WST 2009


On Tue, Feb 24, 2009 at 11:23 AM, Peter Gill <peter.m.gill at gmail.com> wrote:

>
> I have attached a small sample program that I know works on ubuntu 8.04
> and 8.10.  The program lets you select a text file and gives you four
> options; you can have the print dialog display, print immediately,
> export to pdf, or have a print preview. All that you would have to do is
> supply the PrintExample class the data (as a string) from your database
> and the type of action you want it to take.  The draw_page callback that
> is in the attachment is shown here.
>

Thanks Peter! it worked on my end. I'll try to implement it in my program.

Cheers!


-- 
b3rx

"Don't be trapped by dogma - which is living with the results of other
people's thinking. - Steve Jobs"

`There are only 10 types of people in the world — those who understand
binary, and those who don't.'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20090224/a84da9a0/attachment.htm 


More information about the pygtk mailing list