delorie.com/archives/browse.cgi | search |
Message-Id: | <331DB961.53FE@search.van.wa.us> |
Date: | Wed, 05 Mar 1997 10:20:17 -0800 |
From: | Ben Shadwick <ben DOT shadwick AT search DOT van DOT wa DOT us> |
Reply-To: | ben DOT shadwick AT search DOT van DOT wa DOT us |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
Subject: | Re: Output to the Printer |
> 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. Actually, it's "CON" and "PRN" (no ':'s), and "COMx:" and "LPTx:" (where 'x' is the port number, e.g. COM1: or LPT2:)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |