Date: Sun, 13 May 2001 18:30:46 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: taupin AT lps DOT u-psud DOT fr Message-Id: <2110-Sun13May2001183045+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: <3AFEA012.EF9614DC@lps.u-psud.fr> (message from taupin on Sun, 13 May 2001 16:54:10 +0200) Subject: Re: Linux lpr under DJGPP? References: <3AFEA012 DOT EF9614DC 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: Sun, 13 May 2001 16:54:10 +0200 > From: taupin > > > > gs -q -dNOPAUSE -sDEVICE=ljet4 -rNNNxMMM -sOutputFile=LPT2 > > > > You will have to figure out the NNNxMMM arguments (the resolution) > > yourself, using the Ghostscript docs and your printer's manual. It's > > probably 600xSOMETHING. > > Works but with 3 drawbacks: > 1. does not close the window at end (I mut type "quit") Add -dBATCH to the switches. (I refuse to be an efficient replacement for reading the docs ;-) > 2. does not accept wild chars (to proceed several files) as does "lpr" > 3. does not accept gzipped files as does "lpr". This can be handled with `find' and `xargs'.