Message-ID: <3AFE3A35.30FE9CDE@lps.u-psud.fr> Date: Sun, 13 May 2001 09:39:33 +0200 From: taupin X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Eli Zaretskii CC: djgpp AT delorie DOT com Subject: Re: Linux lpr under DJGPP? References: <3AFC4A39 DOT 620BDC3E AT lps DOT u-psud DOT fr> <3405-Sat12May2001082614+0300-eliz AT is DOT elta DOT co DOT il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > > > > > -> is there a port of lpr/lp for DJGPP, using either a port of > > GhostScript, or calling the Aladdin release I have under windows? > > You shouldn't need any lpr on DOS, just invoke Ghostscript and tell it > to output to the printer device (doesn't it do that by default?). No. By default, it displays on the screen. Thus I change my question: Has somebody a procedure to call GhostScript and tell it to print the output on a printer (specifying of course the printer resolution, the printer type (ljet4, laserjet...), the printer channel (lpt1: lpt2: etc.)? > > lpr exists on Unix because the print spool queue there is visible to > the user: you have commands to add, remove, and otherwise manage that > queue with commands like lprm, lpq, etc. When you use lpr to print a > PostScript document, it is simply sent to a queue which knows how to > process PostScript, either by sending them to a PostScript printer or > by piping them through Ghostscript. DOS doesn't need that. -- ------------------------------------------------------------------------ Daniel Taupin, 91400 ORSAY - France E-mail= mailto:taupin AT lps DOT u-psud DOT fr Home/fax: (33)1.60.10.26.44. Work: (33)1.69.15.60.79, fax (33)1.69.15.60.86