[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.
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 1
- Posts: 42
- Joined: Thu Nov 05, 2020 2:09 pm
[SOLVED] 20.1 - "no suitable destination host found by cups-browsed"
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?
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.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: 20.1 - "no suitable destination host found by cups-browsed"
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.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.
--
Brian.
Brian.
-
- Level 1
- Posts: 42
- Joined: Thu Nov 05, 2020 2:09 pm
Re: 20.1 - "no suitable destination host found by cups-browsed"
Yes it's wireless.brian_p wrote: ⤴Sat Mar 06, 2021 8:59 amI 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.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.
Re: 20.1 - "no suitable destination host found by cups-browsed"
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.
Brian.
-
- Level 1
- Posts: 42
- Joined: Thu Nov 05, 2020 2:09 pm
Re: 20.1 - "no suitable destination host found by cups-browsed"
Outputs for "avahi-browse -rt _ipp._tcp":
Outputs for "avahi-browse -rt _uscan._tcp": Nothing - it just goes to the next line.
Outputs for "driverless":
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 "driverless":
Code: Select all
ipp://HP%20LaserJet%20400%20color%20M451nw%20(E8AB2B)._ipp._tcp.local/
Re: 20.1 - "no suitable destination host found by cups-browsed"
That's ok; the device does not have a scanner.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.
This is a URI. Substitute for it inOutputs for "driverless":
Code: Select all
ipp://HP%20LaserJet%20400%20color%20M451nw%20(E8AB2B)._ipp._tcp.local/
Code: Select all
lpadmin -p PRINTER_NAME -v "URI" -E -m everywhere
Code: Select all
lp -d PRINTER_NAME /etc/nsswitch.conf
Code: Select all
lpadmin -p PRINTER_NAME -v "URI" -E -m driverless:"URI"
--
Brian.
Brian.
-
- Level 1
- Posts: 42
- Joined: Thu Nov 05, 2020 2:09 pm
Re: 20.1 - "no suitable destination host found by cups-browsed"
Okay I've gone through these. Changing the URI brings up:brian_p wrote: ⤴Sat Mar 06, 2021 10:20 am This is a URI. Substitute for it inPRINTER_NAME can be anything that makes sense to you; for example, laserjet400. Test the print queue withCode: Select all
lpadmin -p PRINTER_NAME -v "URI" -E -m everywhere
This is a manual queue. cups-browsed sets up withCode: Select all
lp -d PRINTER_NAME /etc/nsswitch.conf
This manual queue does not give you all that much more than the previous one.Code: Select all
lpadmin -p PRINTER_NAME -v "URI" -E -m driverless:"URI"
Code: Select all
lpadmin -p LASERJET400 -v "URI" -E -m everywhere lpadmin: Bad printer URI "URI".
Code: Select all
request id is HP_LaserJet_400_color_M451nw_E8AB2B_-25 (1 file(s))
Re: 20.1 - "no suitable destination host found by cups-browsed"
You did not substiute for the URI as advisedBlack 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".

--
Brian.
Brian.
-
- Level 1
- Posts: 42
- Joined: Thu Nov 05, 2020 2:09 pm
Re: 20.1 - "no suitable destination host found by cups-browsed"
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 wrote: ⤴Sat Mar 06, 2021 11:14 amYou did not substiute for the URI as advisedBlack 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 substitute what the driverless command gives you.
Re: 20.1 - "no suitable destination host found by cups-browsed"
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.
Brian.
-
- Level 1
- Posts: 42
- Joined: Thu Nov 05, 2020 2:09 pm
Re: 20.1 - "no suitable destination host found by cups-browsed"
Okay, I tried that too actually but thought I was still doing it wrong because I get back this:brian_p wrote: ⤴Sat Mar 06, 2021 11:48 am The command isCode: Select all
lpadmin -p PRINTER_NAME -v "ipp://HP%20LaserJet%20400%20color%20M451nw%20(E8AB2B)._ipp._tcp.local/" -E -m everywhere
Code: Select all
lpadmin: Unable to connect to "NPIE8AB2B.local:631": Name or service not known
Re: 20.1 - "no suitable destination host found by cups-browsed"
That's a network issue, not a printing issue. For the URI use this: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
Code: Select all
ipp://192.168.0.34/ipp/printer
--
Brian.
Brian.
-
- Level 1
- Posts: 42
- Joined: Thu Nov 05, 2020 2:09 pm
Re: 20.1 - "no suitable destination host found by cups-browsed"
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!
So does cups-browsed have bugs in 20.1? Linux is usually famed for super easy printer installations.
Thanks again!
Re: 20.1 - "no suitable destination host found by cups-browsed"
Good. Don't forget to edit the subject header to have [SOLVED].
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.
So does cups-browsed have bugs in 20.1? Linux is usually famed for super easy printer installations.
Thanks again!
Your printer will continue to work provided its IP address foes not change.
--
Brian.
Brian.
Re: [SOLVED] 20.1 - "no suitable destination host found by cups-browsed"
This thread helped me find the problem, I never would have thought about cupsd proposing a non-working uri. Thanks to everyone!