backend $6

Michael Sweet mike at easysw.com
Thu Feb 16 12:14:56 PST 2006


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?

"man backend"

You will only get the filename in $6 if there are no upstream filters.
ALL backends MUST be able to handle printing from stdin OR from a file
on the command-line.  There are NO exceptions!

> 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?
> 
> 


-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups mailing list