LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 11-06-2002, 02:19 PM   #1
kmccuddy
LQ Newbie
 
Registered: Oct 2000
Posts: 6

Rep: Reputation: 0
printer installation on win machine through samba


Hello all,
I am having a problem with getting a printer shared on my network. I have a linux box and a win box running win98. I have installed samba on the linux box and created a smb.conf file. Here is the contents of my smb.conf file:
[global]
workgroup = HOME
security = SHARE
printing = cups
printcap = cups

[ homes]
guest ok = yes


[printers]
comment = All Printer
path = /var/spool/samba
printable = Yes
public = yes
guest ok = yes
writable = no
browseable = no
use client driver = yes

[print$]
comment = Printer Drivers
path = /etc/samba/drivers
browseable = yes
guest ok = no
read only = yes
write list = root

All I want to do is share the printer. The printer works fine in linux, but the problem I am having is when I try to install the printer on the windows machine. I go through the process of installing a network printer. I get to the part where it asks for the installation of the driver, I put in the driver disk that came with the printer (HP deskjet 812c) and then as it tries to install the driver I get this message "This printer cannot be installed now because its driver
[You_must_use_the_supplied_setup_program_to_install_printer!] could not be loaded. The driver or the INF file may be damaged. Restart Windows, and then try again."

I can see the printer on the windows machine but getting it to install is my problem. I am pretty sure the driver disk is not corrupted. So any help would be much appreciated.

Kelly
 
Old 11-06-2002, 03:29 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,175

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
Can you tell if the computer is trying to access the floppy or CDROM drive (which ever the driver is on)?
 
Old 11-06-2002, 03:58 PM   #3
kmccuddy
LQ Newbie
 
Registered: Oct 2000
Posts: 6

Original Poster
Rep: Reputation: 0
yes I am able to access the cdrom drive and I am able to pick the INF file listed. but when I hit ok it begins to install the driver and then the error message mentioned above is displayed.
 
Old 11-07-2002, 01:05 PM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
Try installing it from the cd as a local printer first then change the port to the remote one.
Often the setup programmes will look across the network for the files, and not get anything.
 
Old 11-07-2002, 04:16 PM   #5
kmccuddy
LQ Newbie
 
Registered: Oct 2000
Posts: 6

Original Poster
Rep: Reputation: 0
thanks for the help guys. What I had to do was go through the setup program on the disk. I did that and got the drivers installed and set the port to the network port. However I sent a print request to the printer, and on the windows machine it acted as if it printed, but it didn't do anything. I also looked at the cups printer admin page and it said the printer was idle and accepting jobs but it didn't get the one I sent to it.
 
Old 11-07-2002, 05:14 PM   #6
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
Can you print a test page from the Linux box itself ok?

You can monitor the print queue remotely if you login to the Linux box and type lpq

And does your printer driver send the correct paper size to the printer?
 
Old 11-07-2002, 05:20 PM   #7
kmccuddy
LQ Newbie
 
Registered: Oct 2000
Posts: 6

Original Poster
Rep: Reputation: 0
yes I can print a test page from linux. I assume that it is sending the correct paper size, it is set to "letter" paper size.
 
Old 11-07-2002, 05:41 PM   #8
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
Next is to watch the print queue and see that the print job gets to the server spool ok
lpq via a remote login from the machine sending the print job and check the job is spooled ok...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
samba printer invisible on Win 98, not on XP gregmcavoy Linux - Software 0 06-20-2005 04:48 AM
Share Redhat 9 Printer with Win 2000 Machine Paul Mon Linux - Hardware 2 10-31-2003 12:31 PM
samba issue: connecting from win machine pratik Linux - Networking 7 08-07-2003 05:42 AM
Problem browsing a samba machine from Win c0p0n Linux - Networking 2 08-02-2003 04:26 PM
Why I can not use win printer via samba sunyang97 Linux - Hardware 0 04-04-2003 02:17 AM


All times are GMT -5. The time now is 11:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration