Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Unable to locate printer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Sat Jan 27, 2024 6:54 pm    Post subject: [SOLVED] Unable to locate printer Reply with quote

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
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Sat Jan 27, 2024 9:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1661

PostPosted: Sat Jan 27, 2024 11:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Sat Jan 27, 2024 11:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Sun Jan 28, 2024 1:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum