I have just tried the Gtk Print API in gtk+2.10. It is quite simple and cool. An example can be found here. http://cvs.gnome.org/viewcvs/gtk%2B/tests/print-editor.c?view=markup There are two ways to impletement this in mozilla. 1. Just use the GTK Print API dialog part. http://developer.gnome.org/doc/API/2.0/gtk/GtkPrintUnixDialog.html It's maybe simple to do. But I don't think it is a right way. 2. Use the GTK Print high level API http://developer.gnome.org/doc/API/2.0/gtk/gtk-High-level-Printing-API.html It may be need a big change in mozilla.
I have just tried the Gtk Print API in gtk+2.10. cvs.gnome. org/viewcvs/ gtk%2B/ tests/print- editor. c?view= markup developer. gnome.org/ doc/API/ 2.0/gtk/ GtkPrintUnixDia log.html developer. gnome.org/ doc/API/ 2.0/gtk/ gtk-High- level-Printing- API.html
It is quite simple and cool. An example can be found here.
http://
There are two ways to impletement this in mozilla.
1. Just use the GTK Print API dialog part.
http://
It's maybe simple to do. But I don't think it is a right way.
2. Use the GTK Print high level API
http://
It may be need a big change in mozilla.