Mail Archives: djgpp/2001/05/13/16:04:05
Things are not so trivial as you said:
Eli Zaretskii wrote:
>
> > Date: Sun, 13 May 2001 16:54:10 +0200
> > From: taupin <taupin AT lps DOT u-psud DOT fr>
> > >
> > > 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
- Raw text -