Printer Sharing on a Mixed(Windows/Linux) Home Network


 
Thread Tools Search this Thread
Special Forums IP Networking Printer Sharing on a Mixed(Windows/Linux) Home Network
# 1  
Old 11-16-2005
Question Printer Sharing on a Mixed(Windows/Linux) Home Network

Sometimes you get the tiger...but sometimes he get you and this latest home network “project” of mine has gnawed on me pretty badly. Perhaps you can offer some technical help. It will be heartily appreciated.

I have a small home network initially comprising two computers running Windows XP(Home Edition). This is a peer-to-peer network. There is a full tower PC which I have set up with an Epson 670 printer. That PC is cabled(Fast EtherNet) to a Linksys WCG-200 cable modem/switch-router/wireless access point. The printer is shared using Microsoft's “Printer and File Sharing” moiety. The only protocol running on my home network is TCP/IP, but NetBIOS via TCP has been enabled.

I have a laptop which sometimes participates in the network through its wireless(802.11g) card, but I won't mention it further, because I doubt that it is relevant to this particular problem. It can use the shared printer just fine.

As an experiment, I recently tried Mandriva Linux LE 2005 on an older full tower PC with a wireless-PCI card in it. I have loaded the Samba Client, smbclient, on this machine. This has worked out pretty well except for a maddeningly persistent problem-I can't print from the Linux machine to the printer attached to the full-tower machine running Windows XP. In particular, pinterdrake, Mandriva's printer setup program, can't “see” the shared printer.

I have two HDDs in the experimental PC and when I “disengage” the Linux disk and “engage” the Windows XP disk in it, it prints to the shared printer and “sees” the shared files on the other full tower PC just fine.

When I reverse and engage the HDD with Mandriva Linux on it, I again can see and use the Windows shares on the other machine, but I again cannot “see” the shared printer.

There is a firewall on the switch-router which controls access to the Internet, but none of the other machines, Windows or Linux, are running a firewall at this time, so I don't see how a blocked port or ports could be causing this problem.

Here are some of the things that I have tried, but none of them have affected the printing problem.

I tried swapping the wireless card for a “wired” Fast EtherNet card. The results were the same. (I could browse the shares on the Windows machine, but I couldn't “see” the shared printer.)

I tried the latest version of Mandriva Linux 2006, but the results were the same.

I rebooted both of the computers repeatedly, but this did not help.

I set a parameter in the smb.conf file to be sure that the Windows XP machine was “elected” the browse master, but this did not help.

I installed the “Print Services for Unix” moiety on the Windows XP machine and then tried to connect to the printer there as if it were an LPD server, but this did not work either. Except for this one test, I have been running CUPS and a CUPS-compatible printer driver on the Linux machine.

I ran the Linux installation both with and without the LISA daemon, but neither configuration affected the problem.

Of course, I did some obvious things, like setting the “workgroup=” parameter in smb.conf to the name of my home network, but I already knew about that beforehand.

An odd point, when I have loaded SMB4K, an graphic Internet file transfer utility on the Linux machine, I can “see” the shared printer along with the shared file directories on the Windows machine.

I have tried to manually set up the shared printer in expert mode, using both the server and network names with the share name of the printer, but this didn't help.

As a person with only moderate experience with Linux, maybe I'm missing something obvious here. Does anyone have any suggestions? Smilie
Annatar
# 2  
Old 12-13-2005
Quote:
Originally Posted by Annatar
An odd point, when I have loaded SMB4K, an graphic Internet file transfer utility on the Linux machine, I can “see” the shared printer along with the shared file directories on the Windows machine.
samba lets unix share a filesystem in a manner that windows can use it ... what you're seeing is a share that linux sees ... however, afaik samba doesn't do anything for the printing part ...


if there was a way to get your printer it's own ip address on the network like an ip printer, you would have an easier time setting this up ...

i think your best bet is to get an add-on print server to get your printer on the network without needing to attach to a computer (i've seen a linksys version) ... then you could just give the printer an ip address and all the boxes on your network can use it ... setup as regular ip printer on windows box through tcpip port and as regular print server on linux/*nix side ... good luck!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Setting up a home network for learning Linux

I am working on learning Linux, and somebody suggested setting up Linux on a separate computer, and searching for answers to whatever may be needed, on a different computer plugged in to the Internet. I have a Windows 7 PC, plugged in to a cable modem, and an old notebook, Compaq Presario R3000... (5 Replies)
Discussion started by: AdultFoundry
5 Replies

2. Red Hat

Printer sharing issue

Hi, This is what I am trying to accomplish: send printing jobs from the system printclient (RHEL 4) to the system printserver (RHEL 5.8) that connects to a network printer. Here are what I did (based on http://www.cups.org/documentation.php/doc-1.6/sharing.html): printserver# cupsctl... (0 Replies)
Discussion started by: aixlover
0 Replies

3. UNIX Desktop Questions & Answers

wt is the exact procedure to share windows printer on linux machine to print from it

hi, what is the exact procedure to to set up printer on linux machine?The printer is a network hp 3050 printer configured on windows xp machine and i want to setup it on linux fc9 machine to print from it.is samba is compulsory for that? please give the exact procedure to do the same? (1 Reply)
Discussion started by: pankajd
1 Replies

4. UNIX for Dummies Questions & Answers

Using Linux on/in a home network

I recently received an e-mail from "the faculty" at Unix-dot-Com and I was reminded of this notable resource for folks learning about Unix and its clone, Linux. I hadn't posted anything in two years and during that time, I have been working, in my spare time, on a home network combining two Linux... (2 Replies)
Discussion started by: Annatar
2 Replies

5. UNIX for Dummies Questions & Answers

sharing a printer

i have made a network between 2 computers and with 1 of the computers i have added a printer. how can get the other computer to be shared so he can use the printer. i am using unix fedora btw. thanks very much ppl. (0 Replies)
Discussion started by: king_jon85
0 Replies

6. Linux

Sharing Printer Linux + XP (cups/samba)

I keep getting a access denied error when I install from the XP wizard my Linux shared printer. CUPS CONFIGURATION FILE <Location /admin> # # You definitely will want to limit access to the administration functions. # The default configuration requires a local connection from a user who #... (2 Replies)
Discussion started by: Alux
2 Replies

7. Linux

Linux on Windows network

Hey all. I want to connect my Linux box on the work network (I'm on-site support, so I'm allowed to :) ). I can login as root (or any other user) and get my IP which I want, browse the web as I've set the box up for that. But what I want to do now is authenticate myself on the network so I... (3 Replies)
Discussion started by: woofie
3 Replies

8. UNIX for Dummies Questions & Answers

Sharing printer with windows via cups and samba

I want to use my linux box as a print server for my hp printer. I downloaded the linux driver for the printer and installed it. I also configured CUPS and printed a test page with it. Samba is allowing my windows machine to see and install the printer, but when i try to print to it, nothing... (1 Reply)
Discussion started by: Spetnik
1 Replies

9. UNIX for Dummies Questions & Answers

Linux workstation in a Windows network

HI: I'm having some serious trouble setting up a Linux Workstation to operate in a Windows network. I'm running Red Hat 7.1 and I've connected the machine to a network running an NT server. I just want to be able to access the internet and the network. There is a basically a router that connects... (1 Reply)
Discussion started by: mirzabhai
1 Replies
Login or Register to Ask a Question