Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Modify for use without distiller' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Modify for use without distiller
Authored by: stormer on Mar 06, '03 04:57:14AM

I am wondering if this script can be modified to work even without distiller.

For some purposes it would be nice to be able to just print a Postscript file for other uses. I notice that the script looks for a folder.joboptions file, can this be made optional?

Also, people should be aware that they need to make this script executable in order for it to work (or at least i had to) chmod +x should do the trick.

Thanks for a great script.



[ Reply to This | # ]
Modify for use without distiller
Authored by: Thomas Kaiser on Mar 06, '03 10:12:40AM
> I am wondering if this script can be modified to work even without
> distiller.

Sure. Just set the $DISTILLER variable to FALSE and specify via the
'device URI' where to store the postscript files as relative path to
$TARGET_BASEDIR.

So in case, you set $TARGET_BASEDIR to e.g. /Users/tk/Shared/ and
want to store the ps files in /Users/tk/Shared/ps-files/ then you should
set

    postscriptfile://ps-files

as 'device URI' in either PrintCenter or the CUPS web frontend.

> [...]
> Also, people should be aware that they need to make this script
> executable in order for it to work (or at least i had to) chmod +x
> should do the trick.

Hmm... seems to be a problem related to the decompression software.
Using curl & gunzip, the script should have proper permissions. I'm
thinking about providing a .dmg file with a small AppleScript based
installer instead when I finished some enhancements to the current
version...

Regards,

Thomas

[ Reply to This | # ]