Mickael, Inkscape does it as it has a wrapper over printing code. Under the wrapper it uses native windows APIs for printing on windows. It has been sometime since I had a look at the code, so please don't blame me if that has changed.:)
A good printing support is expected with Cairo, till then you can look at the Inkscape source to get an idea of how to do it. Not a very clean way, but works.:) Ram On 4/5/06, Mickael DREAN <[EMAIL PROTECTED]> wrote: > I don't understand because software "inkscape" can do it, even export to > a bitmap (which also interest me). What do they use. As it's a quite big > software, i didn't search in sources at that moment but maybe one of the > inkscape' team could say it how they have done? I'm sure it will > interest lots of people. > > Bye > Mick > > > Murray Cumming a écrit : > > On Tue, 2006-04-04 at 19:22 +0200, Mickael DREAN wrote: > > > >> Nobody has an idea of how to print? even if it's not a complete solution > >> but just a searching way! > >> > >> I'm sure i'm not the fist who want to print. Just say me what you used, > >> please. > >> > > > > On Windows, you should probably use Windows APIs. I don't think that > > libgnomeprint* are much tested on Windows. > > > > This is something that should be much much better in GTK+ 2.10: > > http://mail.gnome.org/archives/gtk-devel-list/2006-March/msg00019.html > > > > For now, for Glom, I am just creating HTML output and letting the > > browser print it. > > > > > _______________________________________________ > gtkmm-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gtkmm-list > _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
