Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-06-2004, 11:51 PM   #1
Echo Kilo
Registered: Jul 2004
Distribution: Ubuntu - Debian Based
Posts: 242

Rep: Reputation: 30
Linux Print Server with Windows Clients

What are the steps to setting up a linux print server to be available for Windows clients?

Specifically, what additional software needs to be on the linux server (Samba? Cups? Etc?) and what are the settings for the windows clients?

Old 08-07-2004, 04:07 AM   #2
Registered: Dec 2003
Location: munich
Distribution: Fedora Core 4
Posts: 141

Rep: Reputation: 15
hi, we at our studentresidence use cups as print server.

googling cups tutorial, i found this:

it's a nice mini links-collection abbout cups.

have a while,

Old 08-07-2004, 12:18 PM   #3
Echo Kilo
Registered: Jul 2004
Distribution: Ubuntu - Debian Based
Posts: 242

Original Poster
Rep: Reputation: 30
Thank you. That site is informative, however it covers printing from linux to windows.

How do I configure a windows client to send printing information to the linux print server? What are the settings in samba? CUPs? And on the Windows box?
Old 02-01-2007, 09:45 AM   #4
Earl Parker II
Registered: Jan 2002
Location: Shelby, NC, US
Distribution: Slackware 12.2
Posts: 127

Rep: Reputation: 17
Echo Kilo,

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):

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


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
Centralizedd Linux Antivirus Server for Windows XP Clients Khawk Linux - Security 7 08-18-2005 12:12 AM
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 server with Windows clients on a LAN Tiger-Striped Linux - Networking 12 09-15-2003 08:57 PM
Linux app-server to server StarOffice to Windows Clients: Need advice biosx Linux - Networking 3 08-14-2002 10:14 AM

All times are GMT -5. The time now is 10:37 AM.

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