Code Sample |
$ gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="/home/dsl/test.pdf" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f /home/dsl/test.ps [works OK] $ gs -q -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="/var/spool/cups-pdf/dsl/test.pdf" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f /home/dsl/test.ps **** Unable to open the initial device, quitting. $ ls -l /var/spool drwx--x--- 3 root staff 80 Apr 8 16:28 cups drwxr-xr-x 5 root root 120 Apr 8 16:36 cups-pdf $ ls -l /var/spool/cups-pdf drwxr-x--x 2 root staff 60 Apr 8 16:41 SPOOL drwx------ 2 dsl staff 60 Apr 8 16:36 dsl drwx------ 2 root root 60 Apr 8 16:31 root |
Quote |
but I guess you found a way to specify it |
Quote |
earlier versions of DSL had /tmp point to /var/tmp |
Quote |
- since dsl uses /tmp, it might be better that /var/tmp -> /tmp? |