Linux Mint STILL Does Not Print Through the Shared Windows Printer
Linux - HardwareThis 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.
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.
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.
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.
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.
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
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.