[cups.general] Cups modelscript setup information

Michael Sweet msweet at apple.com
Wed Mar 14 13:09:12 PDT 2012


What version of CUPS?

What OS/Linux distribution?

What messages, if any, appear in the CUPS error_log file when you print?

What messages, if any, appear in the system log(s) when you print?


On Mar 14, 2012, at 12:35 PM, csarid wrote:

> Hello,
> 
> I am trying to use a script that does some conversion on the file sent to the printer via the "lp -d" command. I have setup the script and placed in the "/usr/lib/cups/backend" directory. However, the file is never processed by the script. Instead, I see the file in the "/var/spool/cups" and is never processed.
> 
> I created the shell script which simply does some file conversions and takes the finalfile and does an "lp -dmyprinter finalfilename".
> 
> Also, I created the printer using the following lpadmin command:
> "lpadmin -pmyprinter -v scriptname:/dev/null"
> 
> Can anyone please provide any insites or information on this? Is there a better way to intercept the file being sent to the specific print queue?
> 
> Thanks in advance,
> 
> C.
> 
> 
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair





More information about the cups mailing list