cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/10/22:27:33

From: brennan AT news DOT rt66 DOT com (Brennan "The Rev. Bas" Underwood)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How to putput to printer?
Date: 10 Feb 1997 15:42:22 -0700
Organization: Acid Brain
Lines: 22
Distribution: world
Message-ID: <5do88e$i29$1@mack.rt66.com>
References: <19970208 DOT 045354 DOT 5118 DOT 1 DOT john DOT k DOT murphy AT juno DOT com>
NNTP-Posting-Host: mack.rt66.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


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