Why can't I connect my Linux computer to my Windows printer?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Why can't I connect my Linux computer to my Windows printer?
Hi!
I'm new to Fedora 12, so please, bear with me ... I have a computer with a wired cable connection with Windows Vista installed, and on the same connection, I have a wireless connection on another computer with Fedora 12 installed (I'm typing on it now). My Brother MFC-210C printer is connected to the computer with Windows installed. I want to know how I can get Windows computer to share the printer with the Linux computer. Is there some kind of network protocol I haven't implemented? Or, am I not supposed to share a Windows printer with a Linux computer? Please steer me in the right direction here.
I'm new to Fedora 12, so please, bear with me ... I have a computer with a wired cable connection with Windows Vista installed, and on the same connection, I have a wireless connection on another computer with Fedora 12 installed (I'm typing on it now). My Brother MFC-210C printer is connected to the computer with Windows installed. I want to know how I can get Windows computer to share the printer with the Linux computer. Is there some kind of network protocol I haven't implemented? Or, am I not supposed to share a Windows printer with a Linux computer? Please steer me in the right direction here.
Jim
on windows machine, share the printer on the network (right click on printer? i thint it was configured there).
Assuming you have cups running on the Linux host, you may also use it's built-in web interface on port 631 to administer all cups printing on the Linux host. In a browser running on the Linux host, go to the URL http://localhost:631.
--- rod.
Once you set up samba, you will likely need to set up windows vista to see your Linux system. This is what I had to do:
On vista computer:
To set up a wireless router printer [click] the Start button, [click] Control Panel, [click] Network and Internet, and then [click] Network and Sharing Center. In the left pane, click Set up a connection or network, and then click Set up a wireless router or access point, or configure if a network is already setup.
If you want to share files and printers on your network, make sure your network location type is set to Private and that network discovery, file sharing, and printer sharing are turned on. Disable the password required for the printer (if necessary). Disable file sharing (if unwanted - but may be needed if file must be loaded to the Network Computer).
To test if another computer has access to the printer:
click] the Start button, [click] Control Panel, [click] Printers and Other Hardware, and then [click] View installed printers or fax printers. Check if the printer has been added and test a page by printing a document and selecting that printer as printer device.
Start Menu> Control Panel> Hardware and Sounds> Printers> Rightclick the printer icon. Select sharing. Click to Change Sharing Options. Change the name to an easy to remember name WITHOUT ANY SPACES in the name.
Rightclick the printer icon. Select Run as administrator> Properties> Ports> (uncheck) Enable bidirectional support & [apply].
Menu> Control Panel> Programs> Uninstall a program> (in the sidebar)Turn Windows features on or off> Print Services> (check) to enable LPD Print Services. This allows Unix computers to print to Windows printers.
To connect to Samba share folders, in Vista, open the Run command and type: secpol.msc
Press "Continue" when prompted by Vista, Then...Local Policies> Security Options> then navigate to the policy "Network Security: LAN Manager authentication level" and open it.
Change "NTLMV2 responses only" to "LM and NTLM-use NTLMV2 session security if negotiated"
If Vista (some Home versions) if error message = windows cannot find "secpol.msc", then:
Open the Run command and type: regedit.
Locate and [click] HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\LSA.
[click] to open LMCompatibilityLevel.
In the Value data box, change the value (probably 3 = NTLMV2 responses only) to 1 (which is LM and NTLM-use NTLMV2 if negotiated)
Control Panel> System and Maintenance> Administrative Tools> [click] Services, [right [click] TCP/IP print server> Properties> Startup type: Automatic Service status: Started
Control Panel> Network & Internet> Network & Sharing Center> Manage network connections> [right click] the network icon> Properties> [click] Internet Protocol Version 4> Properties> Advanced> WINS> [check] Enable netBIOS over TCP/IP.
To get Windows NBT address:
Start> All Programs> Accessories> Command Prompt> ipconfig/all
IP Address (ie. IPv4 Address...192.169.69.7) NBT Name (ie. Host Name...MyNetwork) Might need: (DNS Suffix...MyNetwork) Servers: (Default Gateway...192.169.69.3, DHCP...192.169.69.3, DNS...192.169.69.3)
Of course don't use the IP addresses I have used in the parenthesis above, you will need to use the addresses your computer lists.
Last edited by Wifi-Fanatux; 12-04-2009 at 05:00 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.