lpr(1)-ing multiple files with 1.2.5

Igor Bujna igor.bujna at post.cz
Sun Apr 1 10:22:13 PDT 2007


Hello,
problem is where this port is blocked in version 1.2.2 and newer how its write in CHANGES.txt:
    - The USB backend now reports a "no such device" error
      when using the old filename-based USB URIs instead of
      the "success" error.

I think it's no good idea because every documentation where is installing usb printer in cups is this "DeviceURI usb:/dev/usb/lp0".
Or if i have raw printing to usbprinter and i everyday change printer model on usb i will must put this new printer to cups but i won't this.
I make this patch to downgrade this problem from older version....

--- backend/usb-unix.c~ 2007-02-20 14:41:07.000000000 +0100
+++ backend/usb-unix.c  2007-04-01 18:50:15.000000000 +0200
@@ -310,6 +310,7 @@
     * Do not allow direct devices anymore...
     */

+   return (open(uri + 4, O_RDWR | O_EXCL));
     errno = ENODEV;
     return (-1);
   }



> Mike Sweet wrote:
> > Not the backend, the PPD file which references the driver/filters
> > used for that printer.
> >
> > Do:
> >
> >      grep cupsFilter /etc/cups/ppd/printername.ppd
> >
> > and let me know what you see, if anything...
>
> For both the printers we have tried, no match. The one match I do find for another printer is:
>
> pp05.ppd:*%*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"
>
> and I think that this might be my mistake, as I've not (knowingly!) installed foomatic-rip.
>
> I shall experiment with a minimally configured fresh installation of 1.2.7 to see if I can find circumstances in which this problem happens.
>
> John A. Murdie
>
>





More information about the cups mailing list