trying to make a file-URI fails: "client-error-not-possible"
Michael Sweet
mike at easysw.com
Tue May 10 17:52:24 PDT 2005
ekkard gerlach wrote:
> I tried to generate a file backend on cups 1.1.18 and 1.1.22. Both with
> CUPS-html-tool. Both failed with: "client-error-not-possible".
>
> The I generated a CUPS queue by taking somewhat backend, e.g.
> /dev/usblp0. I edited /etc/cups/printers.conf and changed
> DeviceURI usb:/dev/usb/lp0 to DeviceURI file:/tmp/print.prn
> and it works! I can cat the print.prn to somewhat printer (e.g. a
> windows machine by using smbclient .... /tmp/print.prn) without fearing
> that cups disables the queue! And without fearing that there are several
> job in a queue so that my customers call me to clean the queue!
> Wonderful!! Hope that helps YOU to make CUPS (and linux) usable!
>
> Why is CUPS-html-config.-tool not able to create file-URI's?
Because you haven't enabled file URIs in the cupsd.conf file!
Back in CUPS 1.1.15 (or so) we added the FileDevice directive to
cupsd.conf to both prevent common security issues with file URIs
and to deprecate their use (file URIs do not behave exactly like
other devices - they are there primarily for testing purposes...)
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Publishing Software http://www.easysw.com
More information about the cups
mailing list