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


Click here to return to the 'New and enhanced version available' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
New and enhanced version available
Authored by: Thomas Kaiser on Mar 20, '03 05:59:57PM
Just in case, anyone finds this useful...

I added direct support for "PDF Enhancer" hotfolders (can be used to
optimize, encrypt, linearize, etc.) and some sort of "PlugIns". If the
backend finds executable files called "actionscript-pre" or
"actionsscript-post" in one of the watched folders, these will be executed
either before or after the PDF/PS files have been saved.

This might be useful for the following tasks:

Before saving a PS file one might want to modify the PS Code by a script
(ie. inserting custom PDFmarks that can be processed by distiller or
ghostscript)

After saving the files, they should be emailed automatically or uploaded
to ftp-servers or whatever you want.

You'll find some examples here.

The backend can be downloaded at the usual location.

Regards,

Thomas

[ Reply to This | # ]
New and enhanced version available
Authored by: FredB on Jul 22, '03 02:54:32AM

I was wondering if anyone could point me in the right direction on where to go for professional script development?



[ Reply to This | # ]
Mostly Panther compatible.
Authored by: osax on Jan 06, '04 11:00:56AM

This script seems to work in Panther. The only problem is that it somehow cannot get the Hot Folder names from the printer device URI.

This line doesn't work:
PARSED_URI=`echo ${DEVICE_URI} | perl -ple 's/%([0-9A-Fa-f]{2})/chr(hex($1))/eg'`

However, this fragment works from the shell; so i'm stumped as why it won't work from within the backend. Can anyone help?

BTW: Thanks for the great script!



[ Reply to This | # ]
Mostly Panther compatible.
Authored by: Thomas Kaiser on Apr 03, '04 11:59:21AM
Simply change the shebang line (the first line that determines the executing process/shell) from "#!/bin/sh" to "#!/bin/bash" to regain the full functionality. Details can be found in the updated docs.

Currently I'm working on a new version (supporting PSNormalizer Framework, Quartz filters, and other features as well) including a graphical installer that will do the job for you. I'll get back to here, when I'm finished.

Maybe you've feature requests? Then it's time to write them down :-)

Regards,

Thomas

[ Reply to This | # ]