• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 751
  • Last Modified:

Moving a Print Server from Solaris to Linux

Hi

We have a Solaris print server that serve more than 2000 Unix
workstation (Sun,SGI,Linux...) and we use LPD System to print

Right now we want to move from Solaris server to linux and we want to
use CUP system and we don't want our user to change there way to print
(lpr -P Prs12 /etc/fstab ) because they have many scripts that use the
command lpr

My question is there any how-to or a book that can help me so I can be
able to Setup CUPs to allow anyone to send a job to it and allow it to
receive LPD jobs

Thank you
0
MrAhmad
Asked:
MrAhmad
  • 3
  • 2
1 Solution
 
jlevieCommented:
As of CUPS 1.1 the LPD protocol is supported allowing legacy print services to send jobs to a CUPS print serer. So this should be just a matter of enabling client access to CUPS and pointing the clients at the CUPS server. Generally, CUPS will default to accept print jobs from anywhere/anyone, but a specific OS implementationmight restrict jobs to be from only the local machine.
0
 
MrAhmadAuthor Commented:
I started the servie cup-lpd in the server but when I try to print from the client using lpd  I got :

Error: loop in printcap- optrac710@lnx3c022 -> optrac710@localhost


Note ( the host : lnx3c022 is the  client host name not the server)

I don't now what is the problem
0
 
jlevieCommented:
What printers have you defined and where are they?

What printer was the client rying to print to?
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
MrAhmadAuthor Commented:
Ok now I am able to print without any problem using Linux (the problem was that I have to restart the LPD daemon to be able to use the new printers :) )

And I found a very good how-to at

http://wfasfm.com/LPRng/LPRng-HOWTO.html 
http://docs.kde.org/en_GB/HEAD/kdebase/kdeprint/troubleshooting-cups.html
http://www.cups.org/documentation.php
0
 
jlevieCommented:
Any time you add or remove a printer it is necessary to restart the scheduler since it only reads its config files at startup. The Gui interface to CUPS and the Gui printer management interfaces on Linux will either do this automatically, or give you and option to do so. If you do direct manipulation of the config you just need to restart CUPS.
0
 
ee_ai_constructCommented:
Please read entire thread.  Asker solved or content important.
Closed, 250 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now