LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 07-23-2003, 05:13 PM   #1
jhayes
Member
 
Registered: Jul 2003
Posts: 33

Rep: Reputation: 15
add windows drivers to linux print server


hi i have linux server 9, and i am running samba. i installed a printer but when i try to install it from windows it says i need the windows driver, can some one give me a hand on how to add the windows driver on linux?

thanks,
 
Old 07-23-2003, 06:49 PM   #2
verigoth
Member
 
Registered: May 2002
Posts: 179

Rep: Reputation: Disabled
install a generic raw driver or download the driver for your printer for windows (if it's not already included). if the printer works from linux, the driver obviously works so a generic raw driver will work fine.

verigoth
 
Old 07-23-2003, 08:22 PM   #3
Niro
LQ Newbie
 
Registered: Jul 2003
Posts: 4

Rep: Reputation: 0
you mean you have the printer connected to your linux box and its working and you want to connect your windows machine to the network and then get your window box to use the linux servers printer ????? please explain some more as i am a Mcse and know heaps on the subject of windows os configuring andam learning linux at the moment could probably help you .
 
Old 07-24-2003, 09:11 AM   #4
jhayes
Member
 
Registered: Jul 2003
Posts: 33

Original Poster
Rep: Reputation: 15
yes that is exactly what i want to do.
 
Old 07-24-2003, 03:02 PM   #5
member57
Member
 
Registered: Jul 2003
Location: Texas
Distribution: Mandrake
Posts: 65

Rep: Reputation: 15
Quote:
Originally posted by Niro
you mean you have the printer connected to your linux box and its working and you want to connect your windows machine to the network and then get your window box to use the linux servers printer ????? please explain some more as i am a Mcse and know heaps on the subject of windows os configuring andam learning linux at the moment could probably help you .
I really hope that was an attempt at sarcasm...
 
Old 02-01-2007, 09:42 AM   #6
Earl Parker II
Member
 
Registered: Jan 2002
Location: Shelby, NC, US
Distribution: Slackware 12.2
Posts: 127

Rep: Reputation: 17
jhayes,

What you want to do shouldn't be too complicated (famous last words) and you'll use Samba server to do it.

First, you'll need to make sure that Samba server is running. Next, locate the smb.conf file and open it in your favorite editor. The smb.conf file has two major sections, global settings and share definitions. In the global settings section you need to configure things to establish basic connectivity and make sure the Windows machine(s) can see the Linux box. The share definitions section is where you'll configure things to share your printer. Below is a basic printer share lifted from my smb.conf (of course, you'll need to change certain lines):

Code:
[Printers]
   comment = HPLaserJet1300
   path = /var/spool/samba
   printer = HPLJ1300
   browseable = no
   guest ok = yes 
   writable = no
   printable = yes
   use client driver = yes
While all the lines above are important the last one, use client driver = yes, is especially so as it greatly simplifies the driver install issue. Including that line will make sure that you are prompted to install the Windows driver on the Windows machine when you add the printer on the Linux box to your Windows machine. When you're doing configuring, run testparm from the command line to see if you have any problems then restart Samba server and check the results.

I realize the above is very general and lacks detail but it should get you going. The smb.conf files vary from distro to distro- in Slackware 11.0 the documentation withing smb.conf practically walks you through the process, while in other distros you get very little in the way of help.

An excellent source of information is www.samba.org. While Samba configuration can be immensely complicated a basic configuration is actually pretty simple. If you've never worked with Samba before I'd advise going with a simple configuration to begin with then playing with it as your knowledge grows. Hint: make a copy of the current smb.conf before changing anything- that way, if things go south, you always the original smb.conf to start over with.

If you have trouble just come back here and we'll help you through it.
 
  


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
Linux Print Server with Windows Clients Echo Kilo Linux - Networking 3 02-01-2007 09:45 AM
How to add a windows print server to Linux? jon_k Linux - General 3 12-01-2005 02:22 PM
Linux Print Server for Windows Clients ericpolanco Linux - Wireless Networking 2 02-24-2005 11:57 AM
Linux Print Server for Windows Clients ericpolanco Linux - Networking 1 02-23-2005 05:43 PM
Linux Print Server in Windows Domain fuzz141 Linux - Networking 0 09-11-2002 10:49 PM


All times are GMT -5. The time now is 04:05 AM.

Main Menu
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