Re: [cups] Fwd: Re: Problem with lpadmin
Zdenek Dohnal <[email protected]> Wed, 23 Feb 2022 10:33:05 +0100
| Newsgroups | gmane.comp.printing.cups.general |
|---|---|
| Message-ID | <[email protected]> |
On 2/23/22 04:30, Ken Wright wrote:
> 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?
Hi Ken,
bash takes () as subshell invocation, so you need to pass the uri
covered in quotes, or convert the brackets into
'%its_hexadec_num_from_ascii_table' characters.
>
> Ken
>
> _______________________________________________
> cups mailing list
> [email protected]
> https://lists.cups.org/mailman/listinfo/cups
--
Zdenek Dohnal
Software Engineer
Red Hat, BRQ-TPBC
_______________________________________________
cups mailing list
[email protected]
https://lists.cups.org/mailman/listinfo/cups