[cups.general] backend $6

Jerome Alet alet at librelogiciel.com
Thu Feb 16 13:14:35 PST 2006


On Thu, Feb 16, 2006 at 02:34:30PM -0500, Jim wrote:
> My backend script used to get %6 on a regular bases.
> Now it is never passed.
> 
> I can still catch it with:  cat > "$copy"
> 
> Is their some setting that controles the passing of $6 for backends?
> 
> Also, if I set: LogLevel debug (in cupsd.conf)
> It shows:
> StartJob:
> argv = "sharp-01","52","root","51","1","","/var/spool/cups/d00052-001"
> 
> from backend:
> echo "There were $# arguments on the command line.">>/tmp/log.txt
> 
> Only 5 arguments are being sent.
> 
> Any idea what is going on?

The file name argument is only set when you print in raw mode.

Otherwise it wouldn't have any signification since the backend
input comes directly from the end of the filtering chain.

hth

Jerome Alet





More information about the cups mailing list