The PDF list is a service provided by PDFzone.com | http://www.pdfzone.com __________________________________________________________________

Hi Thomas

This does work. but if I select one of the Quartz filters I created to be used in the PDf services, the PDF gets saved to the private tmp area which is invisible for the regular user.

peter

Am 17.12.2003 um 16:31 schrieb Thomas Kaiser:


The PDF list is a service provided by PDFzone.com | http://www.pdfzone.com
__________________________________________________________________


Hi Peter,

I have the option active, but the problem is that the pdf's are then
stored in a temporary path where a regual user can not find it
afterwards.

Just out of curiosity: does the following script work for you (saved as executable and named eg. "~/Library/PDF Services/Save to Desktop")?

----------------------------------- 8< -----------------------------------
#!/bin/sh
# $1 --> Title -- 10.3.x seems to be buggy in this regard
# $2 --> Printing Setup Record
# $3 --> Path to PDF


FinalPDF="${HOME}/Desktop/$1"

Counter=0
while true; do
Target="${FinalPDF}${Suffix}"
if [ -f "${Target}.pdf" -o -d "${Target}.pdf" ]; then
Counter=`expr ${Counter} + 1`
Suffix=".${Counter}"
else
break
fi
done
mv "$3" "${Target}.pdf"
----------------------------------- >8 -----------------------------------


Regards,

Thomas


To change your subscription: http://www.pdfzone.com/discussions/lists-pdf.html




To change your subscription:
http://www.pdfzone.com/discussions/lists-pdf.html



Reply via email to