From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: How to putput to printer? Date: Sat, 08 Feb 1997 14:42:10 -0800 Organization: Two pounds of chaos and a pinch of salt Lines: 19 Message-ID: <32FD0142.7C8F@cs.com> References: <19970208 DOT 045354 DOT 5118 DOT 1 DOT john DOT k DOT murphy AT juno DOT com> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp104.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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. | ---------------------------------------------------------------------