Thank you Paiz,
I know about cups-lpd but the problem it doesn't work !!
I setuped it and I started xinet daemon and in the client side I put
in /etc/printcap :
optrac710: <---- PRINTER NAME
:mx#0:
:sh:
:sd=/var/spool/lpd/optrac710:
:rm=tlc5: <---- MY PRINT SERVER
:rp=optrac710:
now when I try to print anything :
$ lpq -P optrac710
$
$ lpq -P optrac710
Printer: optrac710@Linux_Client221 (dest optrac710@localhost)
Queue: 5 printable jobs
Server: pid 2331 active
Unspooler: pid 11526 active
Status: sending control file 'cfA082Linux_Client221' to
optrac710@localhost at 14:41:24.390
Rank Owner/ID Pr/Class Job Files Size Time
active root@Linux_Client221+258 A 82 /etc/printcap
121 14:41:24
2 root@Linux_Client221+62 A 616 /etc/printcap
126 14:41:24
3 raqaha@Linux_Client221+320 A 657 /etc/fstab
937 14:41:24
4 root@Linux_Client221+514 A 167 /etc/fstab
937 14:41:24
5 raqaha@Linux_Client221+171 A 127 /etc/fstab
937 14:41:24
done raqaha@Linux_Client221+171 A 126 /etc/fstab
937 14:41:24
Error: loop in printcap- optrac710@Linux_Client221 -> optrac710@localhost
and I don't get any message in the server side
note: even if I do that in the server it doesn't work !!
----- Original Message -----
From: Rodolfo J. Paiz <rpaiz(a)simpaticus.com>
Date: Wed, 08 Sep 2004 05:35:54 -0600
Subject: Re: Moving a Print Server from Solaris to Linux
To: regatta <regatta(a)gmail.com>, For users of Fedora Core releases
<fedora-list(a)redhat.com>
On Wed, 2004-09-08 at 05:21, regatta wrote:
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
CUPS does provide an interface for submission of print jobs via LPR;
you should be able to do what you want without much trouble. Check out
the "cups-lpd" service in the CUPS documentation, or "man cups-lpd"
to
get started.
Cheers,
--
Rodolfo J. Paiz <rpaiz(a)simpaticus.com>
Simpaticus.com
--
Best Regards,
--------------------
-*- If Linux doesn't have the solution, you have the wrong problem -*-