On Thu, Jan 24, 2002 at 09:52:16AM -0500, Dave Lovelace wrote:

> [EMAIL PROTECTED] wrote, in part:
> > # create a new tmp-file
> > touch pdf.tmp
> > # read from STDIN and write into the tmp-file
> > cat >> pdf.tmp
> > # call the pdf2ps converter binary to convert the tmp-file and write the
> > result to STDOUT
> > /usr/local/bin/pdf2ps pdf.tmp -
> > # delete the tmp-file
> > rm pdf.tmp
> > 
> Hmm.  I really don't know as much as I should about these things, so I could
> be wrong, but doesn't this allow for two jobs (perhaps for two different
> printers) to be doing this at the same time?  You might want to generate
> a unique name for your temp file & use that.

Or use '/dev/stdin'.

Tim.
*/

Attachment: msg03382/pgp00000.pgp
Description: PGP signature

Reply via email to