LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-08-2022, 06:38 AM   #1
RobertX
Member
 
Registered: May 2011
Posts: 53

Rep: Reputation: Disabled
Linux Mint STILL Does Not Print Through the Shared Windows Printer


About a year ago, I talked about how my Linux Mint printer can't print from the one connected to the Windows box. It's one year now, and it still does not print.

I guess I should be more polite and talk more succinctly.

When the problem started, I must be using the late 19s or the early 20s of Linux Mint, now it's 20.3 and the problem has still not gone away. The computer that shares the printer was replaced and that computer uses Windows 10 Pro.

See, when I try to connect to the printer that is attached and sharing by the print server, which is now Windows 10 Pro by the way, I am asked for a password. I keep asking, which login/password? The Add Printer applet is not being useful.

Now I have the knowledge that I am subjecting my 64-bit Linux Mint box to drivers that use 32-bit technologies. It even said so by the support staff.

I used the install tool from here and it works, up until the last part, and that asks me for the Device URI. I entered the [u]number[.[ and it says "bad URI" and it doesn't print. This was done through command line by the way.

I did find my model in OpenPrinting, but that solution failed; just incompatible drivers.

As per suggestions, I also downloaded ia32-iibs and libstd++, no go.

I did find an answer: install the Windows driver to a Windows VM. That worked but I don't want to do it that way.

Heaven help me.
 
Old 02-08-2022, 07:29 AM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,152
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
Put that printer on a print server on the network, give it an IP address, then the whole network can access it easily enough by IP. Or access it wirelessly.

If you are going to access a printer hooked to a windows machine, windows, windows firewall will have to be configures to allow that. Either that or turn windows firewall off for a minute. Windows firewall won't allow anything unless you configure it to.

I never do that, so you are going to have to read. Some of these may be dated.

https://www.howtogeek.com/191323/how...-on-a-network/
https://support.microsoft.com/en-us/...f-f39e5bf664c3
https://www.top-password.com/blog/sh...in-windows-10/
https://tldp.org/HOWTO/SMB-HOWTO-10.html
https://www.digitalcitizen.life/how-...rinter-ubuntu/
https://www.ocf.berkeley.edu/~reinho...nt_client.html
https://serverfault.com/questions/10...worked-printer
https://answers.microsoft.com/en-us/...5-0c0d5568c922
https://serverfault.com/questions/10...or-cups-client
https://www.printfil.com/article/lin...ws-printer.htm
 
1 members found this post helpful.
Old 02-08-2022, 10:22 AM   #3
RobertX
Member
 
Registered: May 2011
Posts: 53

Original Poster
Rep: Reputation: Disabled
Oh shoot, I even forgot to tell you that it's a HL-2140 printer!

These printers come from Brother.
 
Old 02-08-2022, 02:17 PM   #4
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,404

Rep: Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563Reputation: 563
oops wrong thread

Last edited by enigma9o7; 02-08-2022 at 02:19 PM.
 
Old 02-08-2022, 02:36 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
If I remember correctly by that point in the installer the driver is already loaded and its trying to automatically add a printer queue.
The exact URL depends on if you are using authentication i.e. name/password.

If not you can try using the URL smb://windows_IP or name/printer otherwise let it fail. You can manually add the printer using Mint's printer wizard. Select add printer, Windows printer using samba and use the URL as posted above. See if you can select the make/model number when prompted.

Otherwise I am out of ideas at the moment. The printer uses a host based GDI print driver which may be expecting a local attached printer versus something on the LAN.
 
Old 02-08-2022, 04:00 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,757

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by RobertX View Post
Oh shoot, I even forgot to tell you that it's a HL-2140 printer! These printers come from Brother.
I agree with post #2, and what teckk said...why can't you attach the printer directly to the network?? ANY computer can print directly to it, without the need for Samba, Windows firewall configuration, etc. Plugging it into your network should give you an IP address, and you configure it from there. Should easily be able to use CUPS...there's a driver on the Brother website: https://support.brother.com/g/b/down...rod=hl2140_all

Can't imagine why it's taken an entire year.
 
Old 02-08-2022, 04:24 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
The printer only has a USB port but there are linux compatible usb ethernet print servers like below if the OP was willing to spend some money. If not it probably would be easier to put the printer on the linux side.

https://www.bhphotovideo.com/c/produ...iABEgKFaPD_BwE
 
1 members found this post helpful.
Old 02-08-2022, 04:36 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,757

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by michaelk View Post
The printer only has a USB port but there are linux compatible usb ethernet print servers like below if the OP was willing to spend some money. If not it probably would be easier to put the printer on the linux side.

https://www.bhphotovideo.com/c/produ...iABEgKFaPD_BwE
Wow..just noticed that, good catch. And you're thinking of the same sort of solution I am:
https://www.amazon.com/AllAboutAdapt.../dp/B096N51QJ3

And agreed that setting it up on Linux would be FAR easier than doing it through Windows...simple Samba setup to share out a printer.
 
Old 02-08-2022, 09:01 PM   #9
RobertX
Member
 
Registered: May 2011
Posts: 53

Original Poster
Rep: Reputation: Disabled
michaelk is smart!

I'll try going that route.

Does this work for most/all USB printers?
 
Old 02-08-2022, 09:15 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
Quote:
Originally Posted by RobertX View Post
michaelk is smart!

I'll try going that route.

Does this work for most/all USB printers?
I have you fooled... to which idea are you referring when you posted does this work for USB printers?
 
Old 02-08-2022, 09:21 PM   #11
RobertX
Member
 
Registered: May 2011
Posts: 53

Original Poster
Rep: Reputation: Disabled
Like, can I use a print server device to plug old USB printers like my HL-2140 unto all computers, GNU/Linux and Windows, in my network?

That's the part I'm interested about.
 
Old 02-08-2022, 09:34 PM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
With the network print server i posted the link should work with most older USB printers. Although I have some reservations since the 2140 is a gdi device which means essentially the printers brains is the connected computer.
 
Old 02-08-2022, 09:43 PM   #13
RobertX
Member
 
Registered: May 2011
Posts: 53

Original Poster
Rep: Reputation: Disabled
If you had doubts, then why did you say this?

Quote:
Originally Posted by michaelk View Post
The printer only has a USB port but there are linux compatible usb ethernet print servers like below if the OP was willing to spend some money. If not it probably would be easier to put the printer on the linux side.

https://www.bhphotovideo.com/c/produ...iABEgKFaPD_BwE
No disrespect intended.
 
Old 02-09-2022, 05:51 AM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
Sorry, I was probably distracted by other stuff.
 
Old 02-09-2022, 09:03 AM   #15
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,757

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by RobertX View Post
If you had doubts, then why did you say this? No disrespect intended.
Because you have an old USB printer, and that's one of the cheapest options to get it on a network; their device is similar to the one I posted too.

As stated, you can plug the device into your Linux system, and share it to the network, much easier than you can with Windows:
https://wiki.samba.org/index.php/Set...a_Print_Server

Linux can print directly to the printer; Windows systems can go through SMB.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Trying to print list in terminal,print the results,not print from. ewpoppy Linux - Newbie 4 04-24-2020 07:33 AM
Can print from Windows to CUPS printer. Cannot print from Windows to Samba printer. PastorJeremyWilson Linux - Server 9 09-24-2018 02:11 PM
Shared printer does not print litlmary Linux - Server 8 07-28-2009 09:53 AM
Hp Laser Jet 5Si printer connected through a serial port on RHEL 5 does not print arphias Linux - Hardware 5 07-24-2008 08:58 AM
My HP 720c printer isn't print at all in linux but print in windows. nadavvin Linux - Hardware 9 11-12-2006 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration