Sponsored Content
Special Forums IP Networking Printer Sharing on a Mixed(Windows/Linux) Home Network Post 89797 by Annatar on Tuesday 15th of November 2005 11:40:15 PM
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
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
classes.conf(5) 						    Apple Inc.							   classes.conf(5)

NAME
classes.conf - class configuration file for cups DESCRIPTION
The classes.conf file defines the local printer classes that are available. It is normally located in the /etc/cups directory and is gener- ated automatically by the cupsd(8) program when printer classes are added or deleted. Each line in the file can be a configuration directive, a blank line, or a comment. Comment lines start with the # character. DIRECTIVES
<Class name> ... </Class> Defines a specific printer class. <DefaultClass name> ... </Class> Defines a default printer class. Accepting Yes Accepting No Specifies whether the printer is accepting new jobs. AllowUser [ user @group ... ] Allows specific users and groups to print to the printer. DenyUser [ user @group ... ] Prevents specific users and groups from printing to the printer. Info text Specifies human-readable text describing the printer. JobSheets banner banner Specifies the banner pages to use for the printer. KLimit number Specifies the job-k-limit value for the printer. Location text Specifies human-readable text describing the location of the printer. OpPolicy name Specifies the operation policy for the printer. PageLimit number Specifies the job-page-limit value for the printer. Printer Specifies a printer that is a member of the printer class. QuotaPeriod seconds Specifies the job-quota-period value for the printer. Shared Yes Shared No Specifies whether the printer is shared. State idle State stopped Specifies the initial state of the printer (Idle or Stopped) StateMessage text Specifies the message associated with the state. StateTime seconds Specifies the date/time associated with the state. SEE ALSO
cupsd(8), cupsd.conf(5), mime.convs(5), mime.types(5), printers.conf(5), http://localhost:631/help COPYRIGHT
Copyright 2007-2013 by Apple Inc. 29 April 2009 CUPS classes.conf(5)
All times are GMT -4. The time now is 01:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy