Re: [cups] Fwd: Re: Problem with lpadmin
Till Kamppeter <[email protected]> Mon, 21 Feb 2022 21:54:38 +0100
| Newsgroups | gmane.comp.printing.cups.general |
|---|---|
| Message-ID | <[email protected]> |
On 21/02/2022 21:43, Ken Wright wrote:
>
> $ lpadmin -p LaserJet_M15a -E -D "White Printer" -L "On Dad's desk" -m
> everywhere -o printer-is-shared=true -v usb://HP/LaserJet%20m14-
> M17?serial=VNBR14066
> lpadmin: Unable to connect to "HP:0": Name or service not known
> $ lpadmin -p LaserJet_M15a -E -D "White Printer" -L "On Dad's desk" -m
> everywhere -o printer-is-shared=true -v hp:/usb/HP_LaserJet_M14-
> M17?serial=VNBR14066
> lpadmin: Unable to connect to ":0": Name or service not known
>
> Both the connection strings return "unable to connect" messages.
>
You cannot do driverless printing (IPP Everywhere) through a classic USB
interface (usb:/... or hp:/...). You need an IPP network interface or
IPP-over-USB.
Either connect your printer via the network (Ethernet or Wi-Fi) or make
sure that ipp-usb is installed, the ipp-usb package of your
distribution, the ipp-usb Snap (https://snapcraft.io/ipp-usb) or ipp-usb
from source (https://github.com/OpenPrinting/ipp-usb).
Done that, run the command
driverless
You get one or more URIs then. Only these URIs can be used with "-m
everywhere", as these use the IPP protocol. Any other URI will not work.
If no URI is listed (or none for the printer you want to set up), you
either did something wrong or you are out of luck (old-fashioned printer
which NEEDS a driver). If a URI for your printer is listed, use it and
you get a working print queue.
Till
_______________________________________________
cups mailing list
[email protected]
https://lists.cups.org/mailman/listinfo/cups