Re: CUPS on Bullseye and Bookworm
On Mon, 15 May 2023 12:18:56 -0400
gene heskett <gheskett@shentel.net> wrote:
> this is interesting Brian, but how do I adapt it to my brother
> printers? All I can get by substituting the queue name M234 is
> "printer or class does not exist".
Right. M234 is the name assigned previously. You get the URI(s) of
available printer(s) by running the program driverless. E.g.:
root@dragon:~# driverless
ipps://HP%20LaserJet%20MFP%20M234sdw%20(C0FB67)._ipps._tcp.local/
root@dragon:~#
Then feed that into:
lpadmin -p M234 -v "URI" -E -m everywhere
But edit in a better (for you) name for the printer than M234.
You might get away with something like:
lpadmin -p heskett.printer -v "$(driverless)" -E -m everywhere
but I haven't experimented with that.
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/
Reply to: