Connect Linux Computer to Windows Computer's Printer

Hello to all – I’m a newbie so please bear with me. I can see my Windows XP computers on my Linux computer, but cannot get windows computers to see Linux computer. I would like to use my windows computer printers on my linux machine. I do not have “network” printers tho. Can I connect to use my windows computer printers on the Linux machine or is this too complicated a path? I have asked my Linux experts and they don’t know a way to do this. Thanks and be gentle, I really am enjoying learning and setting up Linux!

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I guess the first question, then, is do you have the printer shared? I
believe this is fairly easy to do though don’t have a windows box myself
on which to test so let’s start with pure windows-land. Make sure when
you view your printer in windows that it has a little hand icon under it
to indicate it is shared. If it does not right-click and see if you have
an option for ‘Sharing’ or ‘Sharing and Security’ or something. If you do
not then go to your network properties in windows and right-click on your
network connection icon (‘Local Area Connection’ or something like that)
and go to Properties. In the list of protocols you will hopefully find a
way to click a checkbox to enable windows file/printer sharing. You want
that on so that you can do the sharing stuff mentioned earlier. Make sure
you don’t have a firewall blocking your SMB ports (135, 137-139 I believe).

Once you have your printer shared with a good name (‘windozePrinter’) I
would do the following on my (SUSE Linux Enterprise Desktop (SLED) 11,
which is based on OpenSUSE 11.1) system. Go to the Computer menu (I’m
using Gnome, so that’s the ‘Start’ button equivalent for windows types)
and select ‘More Applications’. From here I just type ‘print’ or search
for something that is named ‘Printers’ or ‘Printing’ under System or Tools
or something fairly intuitive. In the dialog that comes up I click ‘New’
in the taskbar and am given types of printers to add including one device
type of ‘Windows Printer via SAMBA’. I am them prompted to enter data in
the following format:

smb://[workgroup/]server:port]/printer

So I would probably put:

windozeBoxName/windozePrinter

Good luck.

jane93 wrote:
> Hello to all – I’m a newbie so please bear with me. I can see my
> Windows XP computers on my Linux computer, but cannot get windows
> computers to see Linux computer. I would like to use my windows
> computer printers on my linux machine. I do not have “network” printers
> tho. Can I connect to use my windows computer printers on the Linux
> machine or is this too complicated a path? I have asked my Linux
> experts and they don’t know a way to do this. Thanks and be gentle, I
> really am enjoying learning and setting up Linux!
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBAgAGBQJKKplJAAoJEF+XTK08PnB5hbsP/1bHtxdjIFI0HagWJHpRI4PG
GEHl2PGPw9hZcillW7xmRMjSTjNv7KQ5oefsKWpJUiW473VqF9CbbQpjCmug5NVC
z/ut2jQQO0uXYuBjlOBiNTS7P8NufSxJyBx6otlNVhuhhIs77mx3yFI3tIQc2Lod
oAAZCiykXpGD/hH489/zZi88VhQCXnDNrAuweJc+gYjtalrN2Zv5QFLvzjNimlGz
0hhQFeeE2ZePnZPE8GAAQq6YjXqSqgxz/+1ftz0S68coK0oEoLnh9QIh9rfx7tYw
A7o3wpSVnIS2u8u8gItghtsBeXnXHwzOS/ye+tm2t5zePV4WUmDilvVs0I4AAH9p
I7jERPbPy4VcbewxN1WqWCUKXVNVodJSZl880T6pLFH0mVz7wnZiRsPizqPq2WZE
W3+MCdEglw90Vgxt80t1GuasQ7TTL28sN8swJWjMyAca1RS+AjYU/9zuIB00R8o0
1Z2avvF9scWOgi3cM3LOyAdXhM5MJmROCHxOj6xiYFAYR2Oq6O+Bbo9X9mNCUMrr
HNvSnpulipA0JLr0xE/AOveprlRP+2c2V2dxP/GFOGAoJhL4cmRkBTobGHXahl9R
Yd+P5Xj3Y9HrjFu9EH7tBY5A4pdnT14C5ymlKgoJRxgXsz0edjhjTBunqy/HwxVr
sLktgQyNOe6A5nfERSfi
=rOxH
-----END PGP SIGNATURE-----

Hi. In win xp you’ll have to install kind of a printer addon. It’s somewhere in systemsettings - software - add/remove windows components. Then you should be able to access the printer via ipp or sth. the like. Good luck!

You can fairly easily use the SMB protocol (commonly used by windows computers, also known as Samba) or the LPD protocol (commonly used in Linux). There was a third protocol called IPP which ceased to be supported by microsoft when they released vista, so probably better not to try that one.

Here’s a tutorial with screenshots, showing how to do it using LPD or Samba:
Printer Sharing: Windows Print Server for Suse/openSUSE Linux Clients [Samba and LPD]

If you simply can’t decide which to use (LPD or Samba) flip a coin, neither is better than the other.

And PS: welcome to the openSUSE Forums :slight_smile: