[cups.general] raw printers cannot use file: devices

Jerome Alet alet at librelogiciel.com
Thu Sep 28 00:16:00 PDT 2006


On Thu, Sep 28, 2006 at 02:18:42AM -0400, Binh Nguyen wrote:
> Hi all
> I'm having problems getting cups(1.2.4) to work on Solaris 10 x86.
> using raw printer via backend script
> 
> I setup a printer called email and the uri for it is a script that will encode the file and email to me.
> 
> lpadmin -p email -m raw  -v file:/email.sh
> the printer configure ok but when I come to use it, i got this error

What about doing this instead :

        mv email.sh /usr/lib/cups/backend/
        
        then restart CUPS, then :
        
        lpadmin -p email -m raw -v email.sh://
        
Then ensure your shell script conforms to CUPS' backend 
specifications (man backend). NB : you should probably
ensure it works as a backend **before** putting it in
/usr/lib/cups/backend/

hth

Jerome Alet





More information about the cups mailing list