[cups] Fwd: Re: Problem with lpadmin
Jörg Thümmler
listen at vordruckleitverlag.de
Tue Feb 22 23:01:57 PST 2022
Am 23.02.22 um 04:30 schrieb Ken Wright:
> On Mon, 2022-02-21 at 21:54 +0100, Till Kamppeter wrote:
>> You cannot do driverless printing (IPP Everywhere) through a classic
>> USB 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).
>
> Okay, I installed the Snap.
>
>> 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.
>
> I tried the following command:
>
> $ lpadmin -p LaserJet_M15a -E -D "White Printer" -L "On Dad's desk" -m
> everywhere -o printer-is-shared=true -v
> ipp://HP%20LaserJet%20M15a%20(103F7B)%20(USB)._ipp._tcp.local/
>
> and got the response:
>
> -bash: syntax error near unexpected token `('
>
> Did I misenter the command?
>
> Ken
>
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://lists.cups.org/mailman/listinfo/cups
>
Hi,
i think, you have to quote this with single quotation marks ('). And i
don't think, there is an deviceURI ending with a "/"...
What i don't understand is why you don't do this using webinterface
http://localhost:631 . This will be a lot easier as it - if printer is
connected and online - will find the deviceURI correctly with all these
%20 etc. for you. And you can also test some HP drivers, if you don't
find the exactly "M15a".
--
cu
jth
More information about the cups
mailing list