Message-Id: <331DB961.53FE@search.van.wa.us> Date: Wed, 05 Mar 1997 10:20:17 -0800 From: Ben Shadwick 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > 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:)