I was wondering if there was a good portable way to send information to a printer? Using fstreams will not work with my setup (windows xp and an ink jet printer) and the only other way I know of is with windows api's which (correct me if I am wrong) will only work on a windows OS.
I have been playing with pdCurses and I like it so far. I would like to start using it on a regular basis but I have not seen anything on printer functions for it and I would hate to have to #include <windows.h> just so that I can send text to the printer.