Solved

Moving a Print Server from Solaris to Linux

Posted on 2004-09-08
7
732 Views
Last Modified: 2013-12-15
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
Comment
Question by:MrAhmad
  • 3
  • 2
7 Comments
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
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
 
LVL 3

Author Comment

by:MrAhmad
Comment Utility
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
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
What printers have you defined and where are they?

What printer was the client rying to print to?
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 3

Author Comment

by:MrAhmad
Comment Utility
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
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
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
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
Comment Utility
Please read entire thread.  Asker solved or content important.
Closed, 250 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Suggested Solutions

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now