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


Click here to return to the 'Mostly Panther compatible.' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
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 | # ]