[SOLVED] 20.1 - "no suitable destination host found by cups-browsed"

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Black Square
Level 1
Level 1
Posts: 42
Joined: Thu Nov 05, 2020 2:09 pm

[SOLVED] 20.1 - "no suitable destination host found by cups-browsed"

Post by Black Square »

The last time I used Mint on this machine was 2 years ago on version 19 and my printer worked just fine.

Now I'm on 20.1 (Cinnamon) and I get the message when sending a file to print "no suitable destination host found by cups-browsed"

It's an HP LaserJet Pro 400 Color M451nw.

Weirdly, Gimp has it's own drivers and lets me print with some sort of 'separate printer' simply named something like g216tw8261 with limited features. But that's Gimp being clever, how do I get the printer to work everywhere else as normal on 20.1? Has anyone else had problems?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
brian_p
Level 9
Level 9
Posts: 2609
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: 20.1 - "no suitable destination host found by cups-browsed"

Post by brian_p »

Black Square wrote: Fri Mar 05, 2021 2:51 pm The last time I used Mint on this machine was 2 years ago on version 19 and my printer worked just fine.

Now I'm on 20.1 (Cinnamon) and I get the message when sending a file to print "no suitable destination host found by cups-browsed"

It's an HP LaserJet Pro 400 Color M451nw.
I do not intend fighting cups-browsed so we will take a different approach. Is the device USB or wireless connected? I would prefer to do wireless.
--
Brian.
Black Square
Level 1
Level 1
Posts: 42
Joined: Thu Nov 05, 2020 2:09 pm

Re: 20.1 - "no suitable destination host found by cups-browsed"

Post by Black Square »

brian_p wrote: Sat Mar 06, 2021 8:59 am
Black Square wrote: Fri Mar 05, 2021 2:51 pm The last time I used Mint on this machine was 2 years ago on version 19 and my printer worked just fine.

Now I'm on 20.1 (Cinnamon) and I get the message when sending a file to print "no suitable destination host found by cups-browsed"

It's an HP LaserJet Pro 400 Color M451nw.
I do not intend fighting cups-browsed so we will take a different approach. Is the device USB or wireless connected? I would prefer to do wireless.
Yes it's wireless.
brian_p
Level 9
Level 9
Posts: 2609
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: 20.1 - "no suitable destination host found by cups-browsed"

Post by brian_p »

Please give the outputs of

Code: Select all

avahi-browse -rt _ipp._tcp

Code: Select all

avahi-browse -rt _uscan._tcp

Code: Select all

driverless
--
Brian.
Black Square
Level 1
Level 1
Posts: 42
Joined: Thu Nov 05, 2020 2:09 pm

Re: 20.1 - "no suitable destination host found by cups-browsed"

Post by Black Square »

Outputs for "avahi-browse -rt _ipp._tcp":

Code: Select all

+ wlx000f0035c418 IPv6 HP LaserJet 400 color M451nw (E8AB2B)         Internet Printer     local
+ wlx000f0035c418 IPv4 HP LaserJet 400 color M451nw (E8AB2B)         Internet Printer     local
= wlx000f0035c418 IPv6 HP LaserJet 400 color M451nw (E8AB2B)         Internet Printer     local
   hostname = [NPIE8AB2B.local]
   address = [fe80::864b:f5ff:fe28:7105]
   port = [631]
   txt = ["mac=88:51:fb:e8:ab:2b" "usb_MDL=HP LaserJet 400 color M451nw" "usb_MFG=Hewlett-Packard" "UUID=434e4646-3830-3133-3930-8851fbe8ab2b" "Scan=F" "Duplex=F" "Color=T" "note=" "adminurl=http://NPIE8AB2B.local." "priority=10" "product=(HP LaserJet 400 color M451nw)" "ty=HP LaserJet 400 color M451nw" "URF=CP99,W8,OB10,PQ3-4-5,ADOBERGB24,DEVRGB24,DEVW8,SRGB24,IS1-2-4,MT1-2-3-5-12,MT1-2-3-5-12,RS600" "rp=ipp/printer" "pdl=application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,application/pdf,application/PCLm,image/urf" "qtotal=1" "txtvers=1"]
= wlx000f0035c418 IPv4 HP LaserJet 400 color M451nw (E8AB2B)         Internet Printer     local
   hostname = [NPIE8AB2B.local]
   address = [192.168.0.34]
   port = [631]
   txt = ["mac=88:51:fb:e8:ab:2b" "usb_MDL=HP LaserJet 400 color M451nw" "usb_MFG=Hewlett-Packard" "UUID=434e4646-3830-3133-3930-8851fbe8ab2b" "Scan=F" "Duplex=F" "Color=T" "note=" "adminurl=http://NPIE8AB2B.local." "priority=10" "product=(HP LaserJet 400 color M451nw)" "ty=HP LaserJet 400 color M451nw" "URF=CP99,W8,OB10,PQ3-4-5,ADOBERGB24,DEVRGB24,DEVW8,SRGB24,IS1-2-4,MT1-2-3-5-12,MT1-2-3-5-12,RS600" "rp=ipp/printer" "pdl=application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,application/pdf,application/PCLm,image/urf" "qtotal=1" "txtvers=1"]
Outputs for "avahi-browse -rt _uscan._tcp": Nothing - it just goes to the next line.

Outputs for "driverless":

Code: Select all

ipp://HP%20LaserJet%20400%20color%20M451nw%20(E8AB2B)._ipp._tcp.local/
brian_p
Level 9
Level 9
Posts: 2609
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: 20.1 - "no suitable destination host found by cups-browsed"

Post by brian_p »

Black Square wrote: Sat Mar 06, 2021 10:03 am
Outputs for "avahi-browse -rt _uscan._tcp": Nothing - it just goes to the next line.
That's ok; the device does not have a scanner.
Outputs for "driverless":

Code: Select all

ipp://HP%20LaserJet%20400%20color%20M451nw%20(E8AB2B)._ipp._tcp.local/
This is a URI. Substitute for it in

Code: Select all

lpadmin -p PRINTER_NAME -v "URI" -E -m everywhere
PRINTER_NAME can be anything that makes sense to you; for example, laserjet400. Test the print queue with

Code: Select all

lp -d PRINTER_NAME /etc/nsswitch.conf
This is a manual queue. cups-browsed sets up with

Code: Select all

lpadmin -p PRINTER_NAME -v "URI" -E -m driverless:"URI"
This manual queue does not give you all that much more than the previous one.
--
Brian.
Black Square
Level 1
Level 1
Posts: 42
Joined: Thu Nov 05, 2020 2:09 pm

Re: 20.1 - "no suitable destination host found by cups-browsed"

Post by Black Square »

brian_p wrote: Sat Mar 06, 2021 10:20 am This is a URI. Substitute for it in

Code: Select all

lpadmin -p PRINTER_NAME -v "URI" -E -m everywhere
PRINTER_NAME can be anything that makes sense to you; for example, laserjet400. Test the print queue with

Code: Select all

lp -d PRINTER_NAME /etc/nsswitch.conf
This is a manual queue. cups-browsed sets up with

Code: Select all

lpadmin -p PRINTER_NAME -v "URI" -E -m driverless:"URI"
This manual queue does not give you all that much more than the previous one.
Okay I've gone through these. Changing the URI brings up:

Code: Select all

lpadmin -p LASERJET400 -v "URI" -E -m everywhere lpadmin: Bad printer URI "URI".
When I try to test the print queue with the old URI, I get:

Code: Select all

request id is HP_LaserJet_400_color_M451nw_E8AB2B_-25 (1 file(s))
...but I still get the print job pop up but the printer stays idle and the status stays on held, even when I right-click -> Release. The printer works on Windows so no problems with the printer itself.
brian_p
Level 9
Level 9
Posts: 2609
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: 20.1 - "no suitable destination host found by cups-browsed"

Post by brian_p »

Black Square wrote: Sat Mar 06, 2021 11:04 am
Okay I've gone through these. Changing the URI brings up:

Code: Select all

lpadmin -p LASERJET400 -v "URI" -E -m everywhere lpadmin: Bad printer URI "URI".
You did not substiute for the URI as advised :(. You substitute what the driverless command gives you.
--
Brian.
Black Square
Level 1
Level 1
Posts: 42
Joined: Thu Nov 05, 2020 2:09 pm

Re: 20.1 - "no suitable destination host found by cups-browsed"

Post by Black Square »

brian_p wrote: Sat Mar 06, 2021 11:14 am
Black Square wrote: Sat Mar 06, 2021 11:04 am
Okay I've gone through these. Changing the URI brings up:

Code: Select all

lpadmin -p LASERJET400 -v "URI" -E -m everywhere lpadmin: Bad printer URI "URI".
You did not substiute for the URI as advised :(. You substitute what the driverless command gives you.
Sorry if I'm having a blond moment, I thought I should substitute PRINTER_NAME with my new chosen name for the printer. The driverless command gave me that long printer name. What should I substitute in the "lpadmin -p PRINTER_NAME -v "URI" -E -m everywhere" line, or am I looking in the wrong place?
brian_p
Level 9
Level 9
Posts: 2609
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: 20.1 - "no suitable destination host found by cups-browsed"

Post by brian_p »

The command is

Code: Select all

lpadmin -p PRINTER_NAME -v "ipp://HP%20LaserJet%20400%20color%20M451nw%20(E8AB2B)._ipp._tcp.local/" -E -m everywhere
--
Brian.
Black Square
Level 1
Level 1
Posts: 42
Joined: Thu Nov 05, 2020 2:09 pm

Re: 20.1 - "no suitable destination host found by cups-browsed"

Post by Black Square »

brian_p wrote: Sat Mar 06, 2021 11:48 am The command is

Code: Select all

lpadmin -p PRINTER_NAME -v "ipp://HP%20LaserJet%20400%20color%20M451nw%20(E8AB2B)._ipp._tcp.local/" -E -m everywhere
Okay, I tried that too actually but thought I was still doing it wrong because I get back this:

Code: Select all

lpadmin: Unable to connect to "NPIE8AB2B.local:631": Name or service not known
brian_p
Level 9
Level 9
Posts: 2609
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: 20.1 - "no suitable destination host found by cups-browsed"

Post by brian_p »

Black Square wrote: Sat Mar 06, 2021 12:09 pm
Okay, I tried that too actually but thought I was still doing it wrong because I get back this:

Code: Select all

lpadmin: Unable to connect to "NPIE8AB2B.local:631": Name or service not known
That's a network issue, not a printing issue. For the URI use this:

Code: Select all

ipp://192.168.0.34/ipp/printer
(NPIE8AB2B.local should resolve to 192.168.0.34).
--
Brian.
Black Square
Level 1
Level 1
Posts: 42
Joined: Thu Nov 05, 2020 2:09 pm

Re: 20.1 - "no suitable destination host found by cups-browsed"

Post by Black Square »

Yes I have a working printer now, thank you!

So does cups-browsed have bugs in 20.1? Linux is usually famed for super easy printer installations.

Thanks again!
brian_p
Level 9
Level 9
Posts: 2609
Joined: Thu Jan 17, 2019 9:20 am
Location: UK

Re: 20.1 - "no suitable destination host found by cups-browsed"

Post by brian_p »

Black Square wrote: Sat Mar 06, 2021 12:54 pm Yes I have a working printer now, thank you!
Good. Don't forget to edit the subject header to have [SOLVED].

So does cups-browsed have bugs in 20.1? Linux is usually famed for super easy printer installations.

Thanks again!
cups-browsed should indeed give super easy auto-setup. I have seen your issue with it occasionally. OTOH, the failure of your system to resolve NPIE8AB2B.local may be a factor.

Your printer will continue to work provided its IP address foes not change.
--
Brian.
GamesBond
Level 1
Level 1
Posts: 13
Joined: Sun Dec 15, 2013 4:22 am

Re: [SOLVED] 20.1 - "no suitable destination host found by cups-browsed"

Post by GamesBond »

This thread helped me find the problem, I never would have thought about cupsd proposing a non-working uri. Thanks to everyone!
Locked

Return to “Printers & Scanners”