LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-11-2010, 05:40 AM   #1
noony123
Member
 
Registered: Oct 2010
Posts: 167

Rep: Reputation: 0
Print Server in linux


Hi all.

I have an office environment with 10 Windows XP pcs. Right now i am totally blank as how network print server setup works, i was just thinking about the following steps

1) Deploy a central print server in linux so that clients (windows XP) dont need to install any drivers of printer on their machines.
2) How will i add clients on print server ? based on username or IPs ? in either case, can i set quota in number of pages that each account is allowed to print ?

Kindly point me in right direction

I had following distributions in mind for above setup

Fedora 13
Centos 5

Last edited by noony123; 12-11-2010 at 05:42 AM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 12-11-2010, 06:05 AM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,433

Rep: Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353
Your requirements can be met by setting up your Linux server with CUPS (Common Unix Printing System) and Samba to serve your XP clients.
You can setup Samba to keep client drivers so that the network printers can be made available by using the Windows "Add Printer" wizard. It is generally best to have native Windows printer drivers on the client machines as that is what Windows software expects. When a Windows client prints, the formatted print output is then directed to a CUPS raw print queue and on to the printer.
For full detail see http://www.samba.org/samba/docs/man/...lprinting.html
With some googling you should find a guide that suits you.

I have not tried setting up quotas, but this link looks useful. http://printing.kde.org/documentatio...als/quotas.php
 
Old 12-11-2010, 06:12 AM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Hello noony123,

the most reliable setup for windows clients and linux printserver I ever had was with cups and samba.

Install the printer with cups and share it in the network. Configure samba.

Configuring the Windowsclients for the printserver: the fast way, open the explorer and in the adressbar insert
Code:
\\xxx.xxx.xxx.xxx
where xxx.xxx.xxx.xxx is the IP-adress of the printserver. This should show all shares on the server, including the printer. Then doubleclick on the printer and you will be asked if you want to connect.

There is another way via "Start"->"Printers" and then "add Printer" and so on.

Also one may share the printer without using Samba, Windows as well as cups can deal with the ipp-printingprotocol, but I once faild to install such a setup.

Markus
 
Old 12-11-2010, 07:17 AM   #4
noony123
Member
 
Registered: Oct 2010
Posts: 167

Original Poster
Rep: Reputation: 0
Dear Sir,

Is it possible to setup SAMBA or CUPS without installing drivers on XP machines ? i am asking this out of curiosity that is it possible to configure windows XP in such a way that it simply sends its request to print server without having any printer drivers installed ??

Kindly guide me
 
Old 12-11-2010, 07:52 AM   #5
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,433

Rep: Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353
It is possible to do this for simple text streams i.e have XP print to a generic text printer that then is passed to a CUPS queue with an associated PPD file that will accept the text stream and format for the printer.
The problem comes with more complex documents (e.g containing images or even special print characters).

Why do you have a problem with installing printer drivers on the XP clients? XP comes with many printer drivers already available. You only need to add a printer driver if your printer model is not included.
 
Old 12-11-2010, 09:13 AM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Quote:
Is it possible to setup SAMBA or CUPS without installing drivers on XP machines ?
Note: in a pure Windows Network, when connecting a Windowsclient to a Windowsprintserver, the drivers are copied automatically from the server to the client (unless there are already apropriate drivers installed on the client).

Markus
 
Old 12-11-2010, 10:15 AM   #7
noony123
Member
 
Registered: Oct 2010
Posts: 167

Original Poster
Rep: Reputation: 0
Dear Sir,

So you mean that if i use SAMBA or CUPS, in that case i do need to install drivers on windows machine. Basically i was thinking from the point of view, that in order to make it almost seemless for windows users, it would be better that they simply dont have to install anything like drivers etc.

So to end this post, can you kindly confirm that there is no way for the clients to access the print server for any type of printout (including images) without installing the driver ?

Thanks alot in advance
 
Old 12-11-2010, 10:24 AM   #8
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
Well, a user who wants to install a printerdriver on a Windowsmachine will need administrator-permissions.
It is usual, that on a Windowsmachine a user which is member of the administrator-group connects the printer to the server, this is done once.
Afterwards every user is permitted to print.

I don't know exactly how cups and samba handle the issue of the driver for windows.

Which printer do you use?

Markus

Last edited by markush; 12-11-2010 at 10:24 AM. Reason: typo
 
Old 12-11-2010, 11:27 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,961

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
Yes, a driver must be associated with a printer for anything meaningful to be printed on the page. If the drivers do not already exist for that make / model on the client they must be manually installed or as already stated you can configure samba to automatically download the drivers when adding the printer.

http://www.samba.org/samba/docs/man/...html#id2626650
 
2 members found this post helpful.
Old 12-11-2010, 12:22 PM   #10
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Quote:
Originally Posted by michaelk View Post
Yes, a driver must be associated with a printer for anything meaningful to be printed on the page. If the drivers do not already exist for that make / model on the client they must be manually installed or as already stated you can configure samba to automatically download the drivers when adding the printer.

http://www.samba.org/samba/docs/man/...html#id2626650
to further what everyone is saying, yes a driver WILL have to be installed on each machine, BUT it is a one time install by the sysadmin of the it department (which probably means you) not the end user of the workstation, once the driver is in place it wont have to be installed again until the unit is reformatted
 
  


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
CUPS Print Queue Manager for Print Server Matir Linux - Software 11 03-30-2016 03:14 AM
instant print from pop3 mail server ie emulate ipad print to hp printers PDock Linux - Software 2 12-08-2010 04:45 PM
print from a print server to a windows client printer turbo_acura Linux - Software 1 03-07-2008 05:05 AM
Print jobs repeat infinetly on lpd printer attached to axis print server linux-who? Linux - Hardware 0 03-28-2006 12:24 PM
Can a Linux print server be set up on a Microsoft server network? crenshawmarc Mandriva 3 09-29-2003 08:40 AM


All times are GMT -5. The time now is 05:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration