Mail Archives: djgpp/1997/02/08/22:16:36
John K Murphy wrote:
>
> Has anyone tried to output to the printer with either the standard
> fprintf() or cout stream? I've been told this is only works if you have
> a really old line printer. If this is true, how do you output to the
> printer (HP DeskJet 560c, if it must be specific)
AFAIK, most non-line printers will still accept plain text sent to them
just like a standard line printer; you just have to make sure to issue a
form feed ('\f') to tell it to commence printing. It's possible that
this won't work with all printers, though.
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com |
| "Starting flamewars since 1993" | http://www.cs.com/fighteer |
| *** NOTICE *** This .signature is generated randomly. |
| If you don't like it, sue my computer. |
---------------------------------------------------------------------
- Raw text -