[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't print to CUPS printer on my server



On 2020-12-09 12:31, Brian wrote:
On Wed 09 Dec 2020 at 11:29:28 -0500, Gary Dale wrote:

On 2020-12-09 10:25, Brian wrote:
On Wed 09 Dec 2020 at 10:04:14 -0500, Gary Dale wrote:

On 2020-12-08 13:29, Brian wrote:
     avahi-browse -art > log1
-bash: avahi-browse: command not found - for both regular user and root

on the server and post log here as an attachment. avahi-browse is in the
avahi-utils package.
How about installing avahi-utils? :)
I don't seem to need it for anything else. I'm leery of installing packages,
especially on a server, that I don't use.
I bet you have cups-browsed installed on the server. It's completely
unneeded and doesn't do anything to enhance the printing system there.
But that is BTW. :)
Perhaps I shouldn't trust package maintainers to not install unnecessary stuff? However, doesn't it actually discover network printers - they seem to be more common these days with both Wifi and versions. Not all my printers are plugged directly into the server.

= enp5s0 IPv6 HP Color LaserJet CP1215 @ TheLibrarian       Secure Internet Printer local
    hostname = [TheLibrarian.local]
    address = [fe80::feaa:14ff:fe9b:b835]
    port = [631]
    txt = ["printer-type=0x80901E" "printer-state=3" "Duplex=T" "Color=T" "TLS=1.2" "UUID=bd713eeb-c38d-39f4-40b6-a997738b33d1" "URF=DM3" "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Color LaserJet CP1215)" "priority=0" "note=family room" "adminurl=https://TheLibrarian.local.:631/printers/CP1215"; "ty=HP Color LaserJet CP1215 Foomatic/foo2hp (recommended)" "rp=printers/CP1215" "qtotal=1" "txtvers=1"]
The printer is found at TheLibrarian.local and its resource path is
printers/CP1215, giving a URI of

   ipp://TheLibrarian.local:631/printers/CP1215

At present you are relying on cups-browsed on the client to discover,
auto-setup and manage the CP1215; it appears to be having an off day.
Let's manage the print queue ourselves. Execute

   lpadmin -p <PRINT_Q_NAME> -v <URI> -E -m raw

The -p option can be anything you want, for example, cp1215.

cups-browsed seems to be having a bad week or two at least. It doesn't let me delete the erroneous path to the CP125 in addition to not detecting the correct path.

I ran the lpadmin command and CP1215 is now showing in my list of printers on my workstation. However it still isn't printing.

After a second, I remembered that is because I had to unplug the printer to set up a temporary powerline networking connection to my server yesterday (I'm finally getting around to replacing the last of my CAT-5 cable with CAT-6 and having an issue with pulling a line to this particular room). This had nothing to do with my earlier issue however.

Anyway, hopefully a new CUPS update will get things working soon.

Thanks.


Reply to: