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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
02-08-2022, 07:38 AM
|
#1
|
Member
Registered: May 2011
Posts: 55
Rep: 
|
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.
|
|
|
02-08-2022, 08:29 AM
|
#2
|
LQ Guru
Registered: Oct 2004
Distribution: Arch
Posts: 5,359
|
|
|
1 members found this post helpful.
|
02-08-2022, 11:22 AM
|
#3
|
Member
Registered: May 2011
Posts: 55
Original Poster
Rep: 
|
Oh shoot, I even forgot to tell you that it's a HL-2140 printer!
These printers come from Brother.
|
|
|
02-08-2022, 03:17 PM
|
#4
|
Senior Member
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,456
|
oops wrong thread
Last edited by enigma9o7; 02-08-2022 at 03:19 PM.
|
|
|
02-08-2022, 03:36 PM
|
#5
|
Moderator
Registered: Aug 2002
Posts: 26,512
|
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.
|
|
|
02-08-2022, 05:00 PM
|
#6
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,465
|
Quote:
Originally Posted by RobertX
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.
|
|
|
02-08-2022, 05:24 PM
|
#7
|
Moderator
Registered: Aug 2002
Posts: 26,512
|
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.
|
02-08-2022, 05:36 PM
|
#8
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,465
|
Quote:
Originally Posted by michaelk
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.
|
|
|
02-08-2022, 10:01 PM
|
#9
|
Member
Registered: May 2011
Posts: 55
Original Poster
Rep: 
|
michaelk is smart!
I'll try going that route.
Does this work for most/all USB printers?
|
|
|
02-08-2022, 10:15 PM
|
#10
|
Moderator
Registered: Aug 2002
Posts: 26,512
|
Quote:
Originally Posted by RobertX
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?
|
|
|
02-08-2022, 10:21 PM
|
#11
|
Member
Registered: May 2011
Posts: 55
Original Poster
Rep: 
|
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.
|
|
|
02-08-2022, 10:34 PM
|
#12
|
Moderator
Registered: Aug 2002
Posts: 26,512
|
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.
|
|
|
02-08-2022, 10:43 PM
|
#13
|
Member
Registered: May 2011
Posts: 55
Original Poster
Rep: 
|
If you had doubts, then why did you say this?
Quote:
Originally Posted by michaelk
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.
|
|
|
02-09-2022, 06:51 AM
|
#14
|
Moderator
Registered: Aug 2002
Posts: 26,512
|
Sorry, I was probably distracted by other stuff.
|
|
|
02-09-2022, 10:03 AM
|
#15
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,465
|
Quote:
Originally Posted by RobertX
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.
|
|
|
All times are GMT -5. The time now is 01:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|