View previous topic :: View next topic |
Author |
Message |
Joseph_sys Advocate

Joined: 08 Jun 2004 Posts: 2716 Location: Edmonton, AB
|
Posted: Sat Jan 27, 2024 6:54 pm Post subject: [SOLVED] Unable to locate printer |
|
|
I have two network printers and all of a sudden when trying to print to them I get an error message in cups:
Code: | Unable to locate printer |
I restated cupsd, did not change any setting.
I can ping the printers IP, printing from Virtualbox "Windows" Prints OK
Code: | lpinfo -v
file cups-brf:/
network beh
serial serial:/dev/ttyS0?baud=115200
file cups-pdf:/
network http
network ipps
network socket
network ipp
network https
network lpd
network smb
network lpd://BRN30055C898DF9/BINARY_P1
network lpd://brother-5370/BINARY_P1
cat /etc/cups/client.conf
ServerName /run/cups/cups.sock
lpstat -t
scheduler is running
no system default destination
device for 3170-color: lpd://BRN30055C898DF9/BINARY_P1
device for 5370: lpd://brother-5370/BINARY_P1
device for L6200: lpd://BRNB42200553231/BINARY_P1
3170-color accepting requests since Sat 27 Jan 2024 11:10:13 AM MST
5370 accepting requests since Sat 27 Jan 2024 11:11:11 AM MST
L6200 accepting requests since Thu 07 Apr 2022 12:24:10 PM MDT
printer 3170-color now printing 3170-color-0. enabled since Sat 27 Jan 2024 11:10:13 AM MST
Unable to locate printer "BRN30055C898DF9".
printer 5370 now printing 5370-0. enabled since Sat 27 Jan 2024 11:11:11 AM MST
Unable to locate printer "brother-5370".
printer L6200 is idle. enabled since Thu 07 Apr 2022 12:24:10 PM MDT
|
Last edited by Joseph_sys on Sun Jan 28, 2024 1:09 am; edited 1 time in total |
|
Back to top |
|
 |
Joseph_sys Advocate

Joined: 08 Jun 2004 Posts: 2716 Location: Edmonton, AB
|
Posted: Sat Jan 27, 2024 9:50 pm Post subject: |
|
|
I was trying to follow gentoo: Driverless printing
https://wiki.gentoo.org/wiki/Driverless_printing
running: Code: | lpadmin -p foobar -E -v ipp://10.0.0.106/ipp -m everywhere |
did not create foobar.ppd
Code: | ls -al /etc/cups/ppd/
total 152
drwxr-xr-x 2 root lp 4096 Jan 27 13:48 .
drwxr-xr-x 5 root lp 4096 Jan 27 14:40 ..
-rw-r----- 1 root lp 26945 Nov 30 2020 3170-color.ppd
-rw-r----- 1 root lp 26929 Nov 30 2020 3170-color.ppd.O
-rw-r----- 1 root lp 16460 Jan 27 13:48 5370.ppd
-rw-r----- 1 root lp 25537 Jan 27 13:46 5370.ppd.O
-rw-r--r-- 1 root root 0 Dec 13 17:47 .keep_net-print_cups-0
-rw-r----- 1 root lp 16476 Apr 7 2022 L6200.ppd
-rw-r----- 1 root lp 16476 Apr 7 2022 L6200.ppd.O |
|
|
Back to top |
|
 |
grknight Retired Dev

Joined: 20 Feb 2015 Posts: 2065
|
Posted: Sat Jan 27, 2024 11:38 pm Post subject: |
|
|
While CUPS would like everyone to use driverless, it doesn't always work.
My printer, a Brother HL-2280DW, is not compatible as CUPS needs a secure ipp connection but my printer does not support the certificates.
I'm rather screwed if CUPS completely removes ppd support which I run through Gutenprint (unless some other method has a way around it). |
|
Back to top |
|
 |
Joseph_sys Advocate

Joined: 08 Jun 2004 Posts: 2716 Location: Edmonton, AB
|
Posted: Sat Jan 27, 2024 11:48 pm Post subject: |
|
|
grknight wrote: | While CUPS would like everyone to use driverless, it doesn't always work.
My printer, a Brother HL-2280DW, is not compatible as CUPS needs a secure ipp connection but my printer does not support the certificates.
I'm rather screwed if CUPS completely removes ppd support which I run through Gutenprint (unless some other method has a way around it). |
I downgraded to net-print/cups-2.4.6 but still get same error message when trying to print: Unable to locate printer
This Cups is total screw-up! |
|
Back to top |
|
 |
Joseph_sys Advocate

Joined: 08 Jun 2004 Posts: 2716 Location: Edmonton, AB
|
Posted: Sun Jan 28, 2024 1:09 am Post subject: |
|
|
Seems like some sort of name resolving failure. When I changed the printer connection,
from:
Code: | lpd://brother-5370/BINARY_P1 |
to using IP address:
Code: | lpd://10.0.0.106/BINARY_P1 |
It prints fine. |
|
Back to top |
|
 |
lyallp Veteran


Joined: 15 Jul 2004 Posts: 1610 Location: Adelaide/Australia
|
Posted: Sun Feb 16, 2025 1:52 am Post subject: |
|
|
Mine put some weird hostname in the url, I simply created an /etc/hosts entry '<ip address> brother-mfd' and used that name in my url.
(After fixing the IP Address being handed out by my local router DHCP, so the printer got the same address every startup)
Same problem however, name resolution. Well done. _________________ ...Lyall |
|
Back to top |
|
 |
|