1836362 Members
2564 Online
110100 Solutions
New Discussion

Printers

 
Sharon Bi_4
Occasional Advisor

Printers

Hi,

Question 1: How do I configure a " remote " printer? ( I know how to install
a remote printer from other machines. But as for that machine which the
printer is hooked up, how do I make it to be able to share the printer?

Question 2: Similar to Question 1, if I want this machine to be a printer
server ( other machines can access the printer using " network printer" ), how
do I do ?

Best regards and thanks in advance!!
1 REPLY 1
Atif Malik_2
Frequent Advisor

Re: Printers

To setup the Remote printer:
============================

On the server the printer is attached to:

1) Make sure the printer is working when you issue the lp command

2) Add following entry in /etc/services file
printer 515/tcp spooler

3) Add the following entry in the /etc/inetd.conf file:
printer stream tcp nowait root /usr/lib/rlpdaemon rlpdaemon -i -l

4) inetd -c #command

On the local server:
====================

1) Shutdown print spooler
/usr/lib/lpshut

2) Use SAM to add the remote printer or you can use the lpadmin command

/usr/lib/lpadmin -pLOCAL_NAME -v/dev/null -mrmodel-ocmrcmodel -osmrsmodel
-ormREMOTE_HOSTNAME -orpREMOTE_NAME

3) Issue the following commands:
# /usr/lib/accept LOCAL_NAME
# /usr/lib/enable LOCAL_NAME
# /usr/lib/lpsched

Make sure the /etc/inetd.conf and /etc/services have the appropriate entries in
the local server.

To setup the Network Printer:
There's a jetadmin software from HP that makes it very simple to install the
network printers.

Thanks,
Atif