www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/09/01:42:13

Date: Sun, 9 Feb 1997 08:30:25 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: John K Murphy <john DOT k DOT murphy AT juno DOT com>
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: <Pine.SUN.3.91.970209082816.405G-100000@is>
MIME-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019