At least for gnome. Should work on unix/gtk too. Gotta work out a bug where --to and --print don't shutdown the app afterwords, but that can be fixed easily.
--print=file.ps will print to a file. --print=|lpr will print to the unix printer. All non-argument code is XP. AP_Convert->print() is the function you want to call. Pass it your printer graphics context and the incoming filename. CVS: ---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: unix/ap_UnixApp.cpp unix/gnome/ap_UnixGnomeApp.cpp CVS: xp/ap_Convert.cpp xp/ap_Convert.h CVS: ---------------------------------------------------------------------- Dom
