LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 01-16-2010, 04:15 AM   #1
salimshahzad
Member
 
Registered: Dec 2009
Posts: 200

Rep: Reputation: 15
linux print server setup step by step


dear gurus, seniors, hello good day to you

i am newbie in this area. we want to get the rid out of windows 2003 print servers. we become sick of restart printer spooler services everyday when printing hang,halth,jam on printer. as admin we have to go to server and restart print services.

now let us continue,

1)if using rhel installation time, what customer packages,binaries i should install it.

2) is cup is the print server name in linux world?

3) we are having all windows xp,2000,2003,vista,win7 client

4) where our all printers having ip based, 99% they r network ip based printers

5) currently we open print share area on windows and all os(windows related) drivers r inside v right click and connect printers

6) in linux will it stored drivers for windows for client?

7) for ip base hp printers, do i need to download drivers from hp website or it will recongize detect over network all ip printers

8) any chance of hanging printing similar to windows machines encounter then we have to go to restart "print spooler" services. as no alternate provide from microsoft

keeping above scenario what step should i follow and start practicing.

kind regareds
 
Old 01-16-2010, 04:40 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Hello,

You'll find all of the answers on the site of CUPS (Common Unix Printing System). CUPS is widely used in the Linux/Unix world.

Kind regards,

Eric
 
Old 01-16-2010, 06:01 AM   #3
salimshahzad
Member
 
Registered: Dec 2009
Posts: 200

Original Poster
Rep: Reputation: 15
dear eric and all

as i said i am begiiner in linux printing world, still my questions are pending. is cup is like package we need to install to rhel or any linux flavour?

then cup will take care everything?

regards
 
Old 01-16-2010, 07:02 AM   #4
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Hello,

Normally CUPS is already integrated/installed in your distro. Check with:
Code:
rpm -q cups
if it's installed on your RHEL. If it's installed you can check if it's running:
Code:
ps -ef |grep cups
If it is running you can access it's administration webpage by typing:
Code:
http://localhost:631
and administer almost anything from there.

Kind regards,

Eric
 
Old 01-16-2010, 12:25 PM   #5
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,220

Rep: Reputation: 231Reputation: 231Reputation: 231
salimshahzad,

The print server is not a problem in the linux world, we have better one, CUPS itself can publish your printer services with a properly configured ip, can spool jobs, authorize exclusive users, or you can do just anything commonly useful for a printer in the network.

The usual problem is this: see to it that your printer is supported with a linux driver. Canon has notoriously more number of printer models still in want of good driver although the condition is now improving. Printer manufacturers still have that "secretive proprietary" hangover that they don't open up their codes to the free software community, resulting in hacking obstacles that only rendered their products less useful to us.

Hope this helps.
 
Old 02-16-2010, 03:52 PM   #6
codecrank
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
Well lucky you, I just migrated my windows 2000 print services to a RHEL3 box. Here's how. I'll assume your windows domain is called foo.com, netbios FOO , and your print server is called jojo. And that you want to the main domain administrator account for setting up printers


1) setup cups
Code:
yum install cups
2) configure cups as a print server ( minimum /etc/cups/cupsd.conf )

Code:
ServerName jojo

LogLevel info

MaxLogSize 0

Printcap /etc/printcap

<Location /admin>

AuthType Basic
AuthClass System

Order Deny,Allow
Deny From All
Allow From 127.0.0.1

</Location>

<Location />
</Location>
Browsing On
BrowseProtocols cups
Listen *:631
3) add printers, use kprinters, etc , plenty of docs out there, in general, you want to configure them as postscript printers, pick a particular model if avaiable, go hunt down a ppd file for your model, or pick "generic post script". I'm assuming your network printers all support postscript.

4) install samba
Code:
yum install samba
5) configure to share print queues

Code:
[global]

   workgroup = FOO

   server string = "acme print server"

    printcap name = /etc/printcap
    load printers = yes

  cups options = raw
  printer admin = administrator

  log file = /var/log/samba/%m.log

   max log size = 50

   security = domain

   password server = *

  encrypt passwords = yes

   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

   dns proxy = no

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   write list = administrator

[print$]
   path = /var/spool/samba/drivers
   guest ok = yes
   browseable = yes
   read only = yes
   write list = administrator

6) make your samba server join your domain
Code:
net join -U foo.com/administrator
7) restart cups and samba
Code:
/etc/init.d/smb restart
/etc/init.d/cups restart
8) create unix user called "administrator", default uid is fine

9) setup point and click driver install for windows.

create directory /var/spool/samba/drivers/W32X86 owned by "administrator"

10) log in a windows box as FOO/administrator , access \\jojo\printers and Faxes , right click on a printer, do properties. Say no when prompted to install a printer driver. Go to the advanced tab, and click new printer. point it to your print driver inf file, and install as usual. for other printer of the same model, just pick the model from the combo box.


taaa-daaaah

enjoy
 
Old 02-16-2010, 05:51 PM   #7
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
RHEL3 is already in Phase 3 support and will have none after October this yr. Are you sure you can't use 5.4 ?
 
  


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
LXer: Step By Step Ubuntu 9.10 (Karmic) LAMP Server Setup LXer Syndicated Linux News 0 12-24-2009 07:50 PM
LXer: Step By Step Ubuntu 9.04 (Jaunty) LAMP Server Setup LXer Syndicated Linux News 0 05-12-2009 10:40 PM
LXer: Step-by-Step IPP based Print Server using CUPS LXer Syndicated Linux News 0 11-29-2006 02:54 PM
Step-by-step to set up a RedHat Linux box for use as a Windows Server? Hercules Linux - Software 2 11-17-2003 12:16 AM
A complete step by step guidens needed to setup isp hitesh_linux Linux - Networking 4 04-04-2002 01:34 AM


All times are GMT -5. The time now is 02:58 AM.

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