[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.
-- - Dave Lovelace [EMAIL PROTECTED] [EMAIL PROTECTED] ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
