delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/05/03:14:13

From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Output to the Printer
Date: 5 Mar 1997 05:48:36 GMT
Organization: The National Capital FreeNet
Lines: 15
Message-ID: <5fj1fk$d8i@freenet-news.carleton.ca>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970303131925 DOT 9009J-100000 AT is>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet5.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) writes:
> On 3 Mar 1997, Paul Derbyshire wrote:
> 
>>   printer=fopen("PRN:","w");
> 
> Did you actually try this?  AFAIK, it should be "PRN", not "PRN:".

All my DOS manuals call the device PRN:. Same for all the COM, LPT, and CON.

--
    .*.  Where feelings are concerned, answers are rarely simple [GeneDeWeese]
 -()  <  When I go to the theater, I always go straight to the "bag and mix"
    `*'  bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh

- Raw text -


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