Message-ID: <3AFEE4FB.1B1DF4EA@lps.u-psud.fr> Date: Sun, 13 May 2001 21:48:11 +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: <3AFEA012 DOT EF9614DC AT lps DOT u-psud DOT fr> <2110-Sun13May2001183045+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 Things are not so trivial as you said: Eli Zaretskii wrote: > > > Date: Sun, 13 May 2001 16:54:10 +0200 > > From: taupin > > > > > > gs -q -dNOPAUSE -sDEVICE=ljet4 -rNNNxMMM -sOutputFile=LPT2 > > 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 ;-) Done. > > > 2. does not accept wild chars (to proceed several files) as does "lpr" Can be solved with "ls [the arguments] > @somefile and giving @somefile as an argument. > > 3. does not accept gzipped files as does "lpr". > The problem is that GS crashes if an argument is NOT postscript... > This can be handled with `find' and `xargs'. BTW: the doc is not clear about the difference between gswin32 and gswin32c: in fact gswin32c does not give back control immediately, but only when it terminated its task. Useful when gunzipping files as temporary *.ps files which should be erased ONLY when gswin32 finished its job. All this to say that, after some work, the PS printing of a series of gzipped PostScript files is possible. But the main thing I say now: this is sufficiently difficult to be worth a posted implementation. Thanks anyway for your help, Eli. -- ------------------------------------------------------------------------ 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