Ten thousand and one apologies if this is off-topic (hard to tell
with this group), but,
How do you print out to a printer stream in c?
You do whatever is necessary on your system to make the printer
appear as a text stream. That part is off-topic here, being system
dependant. Having done so, you will have a suitable <name> to
use. You can then:
FILE *f = fopen(<name>, "w");
if (f) goaheadandwriteto(f);
--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <
http://cfaj.freeshell.org/google/>