Date: Sun, 9 Feb 1997 08:30:25 +0200 (IST) From: Eli Zaretskii To: John K Murphy cc: djgpp AT delorie DOT com Subject: Re: How to putput to printer? In-Reply-To: <19970208.045354.5118.1.john.k.murphy@juno.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 8 Feb 1997, John K Murphy wrote: > Has anyone tried to output to the printer with either the standard > fprintf() or cout stream? Just say fprintf (stdprn, ....whatever...) and it will go to the printer. > 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) The type and make of the printer makes no difference. Laser printers usually need a FormFeed ('\f') to actually output the last page, but that's all there is to it.