Ask Your Question
1

Printing via LAN on a printer connected to a Windows 10 PC

asked 2018-11-27 09:33:01 -0600

freeride gravatar image

updated 2018-12-06 08:00:30 -0600

Hi, I have F29 installed with KDE. I want to be able to print via the LAN on a Brother printer, which is connected to a Windows 10 PC via USB. Other Windows PCs on the network print on it fine, however, when I try to install it, it doesn’t work.

If I browse to the shares on the Windows PC in Dolphin (“smb://'IP_address'”), I get prompted for username and password, enter anything and then I see the shared directories, but not the printer.

If I open the “Printers – System Settings Module” and then click Add printer →Windows printer via SAMBA, enter the address “smb://'IP_address'/Brother HL-L2300D series” and put any combination of username and password (say, “123” and “456”), on the next “Pick a driver” dialog I get the error “Failed to search for a recommended driver: 'Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.”

Then from the “Choose the driver from the list” menu I choose the make and model of the printer and click Next, give it a name and click Finish. No new printer appears in the printers list.

Any ideas how I can make this work or is this actually feasible? Thanks in advance.

EDIT: Here is a Wireshark capture when I browse to the shared directories, where the printer should appear too (sorry I have to paste it here, I can't upload files yet). I also made a capture while I try to add the printer with the "Printers" dialog box, but there weren't any instances of my IP or the other PC's IP in it, so I don't add it here. My IP is 192.168.30.174. Windows 10 PC's IP is 192.168.30.18. I use username 123 and password 456 (anything will do actually). There are are a bunch of messages that suggest failed login attempt (STATUS_ACCESS_DENIED), but then why am I able to see the shared dirs? Also there are no username and password set up to access the printer, so why am I prompted for them?

Capture:

"No.","Time","Source","Destination","Protocol","Length","Info"
"1","0.000000000","Cisco_f0:ac:21","Spanning-tree-(for-bridges)_00","STP","60","Conf. Root = 32768/0/88:5a:92:86:6d:9b  Cost = 0  Port = 0x800c"
"2","1.560828129","192.168.30.24","239.255.255.250","SSDP","179","M-SEARCH * HTTP/1.1 "
"3","2.150479157","Cisco_f0:ac:21","Spanning-tree-(for-bridges)_00","STP","60","Conf. Root = 32768/0/88:5a:92:86:6d:9b  Cost = 0  Port = 0x800c"
"4","4.140923439","Cisco_f0:ac:21","Spanning-tree-(for-bridges)_00","STP","60","Conf. Root = 32768/0/88:5a:92:86:6d:9b  Cost = 0  Port = 0x800c"
"5","4.528326782","192.168.30.24","239.255.255.250","SSDP","179","M-SEARCH * HTTP/1.1 "
"6","4.948954420","QuantaCo_d2:90:b9","Broadcast","ARP","42","Who ...
(more)
edit retag flag offensive close merge delete

Comments

Can you try using wireshark to see what is happening?

MettaCrawler gravatar imageMettaCrawler ( 2018-11-28 06:34:07 -0600 )edit

I will try tomorrow, when I go to work.

freeride gravatar imagefreeride ( 2018-11-28 12:34:07 -0600 )edit

You ask why there is a username and password. The answer is Windows is using them, not the printer. Can you try with a working username/password combination?

MettaCrawler gravatar imageMettaCrawler ( 2018-11-29 08:39:51 -0600 )edit

On Windows there is only a username for the account, I tried it in the beginning with no password and it doesn't work. Also other Windows PCs connect to the printer without any username or password.

freeride gravatar imagefreeride ( 2018-11-29 09:30:08 -0600 )edit

What does wireshark show when a Windows PC successfully uses the printer?

MettaCrawler gravatar imageMettaCrawler ( 2018-12-03 07:49:48 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2018-12-07 14:02:43 -0600

simmon gravatar image

updated 2018-12-10 08:23:43 -0600

  1. printer driver install for your Fedora29 system..

  2. install driver for brother HL-L2300D series...Linux support driver.. and pinter system...cups's user for search...add

  1. system settting and cups....add printer for your system...
  1. smb connection

    • smb://server/printer
    • smb://workgroup/server/printer
    • smb://username:password@server/printer
    • smb://username:password@workgroup/server/printer

    have a nice day.......written by simmon

edit flag offensive delete link more

Comments

I installed the driver via the Driver Install Tool (linux-brprinter-installer-2.2.1-1.gz). At the end, when it asks for URI, I enter "8: smb". Then in CUPS I choose "Windows printer via SAMBA" and then smb://192.168.30.18/Brother HL-L2300D series (is it a problem that the address has spaces?). Then in CUPS I get "Add Printer Brother Error - Unable to add printer: Success."

The printer is added in the Printers list, but when I try to print, it says "Waiting for printer to become available" and nothing happens.

freeride gravatar imagefreeride ( 2018-12-10 05:07:20 -0600 )edit

P.S. Also tried with manually adding the driver file (brother-HLL2300D-cups-en.ppd) in CUPS, but then I get an error "Unable to add printer: Bad device-uri "smb://192.168.30.18/Brother HL-L2300D series".

freeride gravatar imagefreeride ( 2018-12-10 05:15:19 -0600 )edit

did you set username:password for smb user?

simmon gravatar imagesimmon ( 2018-12-10 07:10:07 -0600 )edit

I hadn't, I set it up now. I also changed the name of printer to "Brother_HL-L2300D" so it doesn't have spaces. The printer gets added in CUPS, but when I try to print, I get an error "Tree connect failed (NT_STATUS_BAD_NETWORK_NAME)"

I think of leaving it as it is, I have another printer I can print on so it's not of extreme importance to install this one. It would've been nice to be able to print on it too, but it seems too much of a headache to set it up.

freeride gravatar imagefreeride ( 2018-12-10 08:21:51 -0600 )edit

i see...now printer price low...so, choose more better with a network support printer. have a nice day freeride...!! wirtten by simmon

simmon gravatar imagesimmon ( 2018-12-10 08:35:48 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-11-27 09:33:01 -0600

Seen: 86 times

Last updated: Dec 10