Date: Sat, 12 May 2001 08:26:15 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: taupin Message-Id: <3405-Sat12May2001082614+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <3AFC4A39.620BDC3E@lps.u-psud.fr> (message from taupin on Fri, 11 May 2001 22:23:21 +0200) Subject: Re: Linux lpr under DJGPP? References: <3AFC4A39 DOT 620BDC3E AT lps DOT u-psud DOT fr> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Fri, 11 May 2001 22:23:21 +0200 > From: taupin > > Question: althog I can prepare my *.ps.gz under DOS and reboot to Linux > to print them, I would appreciate doing that direcly under DOS, thus > avoiding a reboot. > > -> 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?). 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.