Mail Archives: djgpp/1997/02/10/22:27:33
In article <19970208 DOT 045354 DOT 5118 DOT 1 DOT john DOT k DOT murphy AT juno DOT com>,
John K Murphy <john DOT k DOT murphy AT juno DOT com> 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)
>
>I have a Packard Bell Pentium running Win95 if this is important.
You should be fine, but the printer may be expecting PostScript or JCL
or something.
When you print to it, use "\r\n" at the end of your lines and send
a formfeed at the end of the page '^L' or decimal 12 since it probably
wants to assemble the entire page before it prints.
Brennan
--
brennan AT rt66 DOT com | vi rules.
Riomhchlaraitheoir|
Rasterfarian | <http://brennan.home.ml.org> -O
- Raw text -