print a drawing area



Hi,
I'm making a program and I need to print a drawing area.
I have 2 options:
    -Save the drawingarea to a jpeg file and print it with a system
command
or
    -Print directlly from the program

I must say that I can't use gtk2, I only can use gtk1.2. Maybe if I
install a modern gdk-pixbuf package I would have the gdk_pixbuf_save
instruction.....
The other option is maybe with gnome-print..... I don't find the api
reference or any example....

The best would be can write jpeg, and can print with gnome-print too, it
would be fantastic!!

What can I do???


Thanks to all!!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]