1844080 Members
4521 Online
110227 Solutions
New Discussion

Remote Printer Setup

 
Dipo Adeyinka
Occasional Contributor

Remote Printer Setup

Could anyone tell me how to configure a remote printer on an HP9000 server. There are two clustered hosts. An HP Laserjet 4si printer has been configured on one as a local printer and users have now requested for the facility to print to the same printer from the other host. I have tried to use HP Jetadmin but there isn't much explanation on how to configure this. I would appreciate any thoughts or suggestions.
Thanks
4 REPLIES 4
Kurtkarl
Frequent Advisor

Re: Remote Printer Setup

The easiest way to add a remote printer is to run SAM. If you want it from command line here goes.
- check for remote printer daemon "rlpdaemon" if it's running. if not remove the "#" sign from /etc/inetd.conf file under the file #printer stream tcp nowait root /usr/sbin/rlpdaemon rlpdaemon -i"
- check also the /etc/services and look for #printer 515/tcp spooler and remove the "#" sign.
- run inetd -c. Also check /var/adm/inetd.sec of remote that restrict systems from printing.
- then finally run this command to add remote printer to your local host
"lpadmin -p -v/dev/null -mrmodel -orm -orp -ocmrcmodel -osmrsmodel"

long command ha! so would suggest use sam.
jose
Just starting to learn thru this forum
Rita C Workman
Honored Contributor

Re: Remote Printer Setup

Well if this printer has a jet direct card installed, is connected to a network, and the assigned 'static' IP address of the printer (along with it's alias name if used) is included in the /etc/hosts file of both systems...You could via jetadmin
Select:
#1 - Configuration
#3 - Add printer to spooler
Complete the information and then make sure your queue is set to the name of the printer and save it by hitting a 0.
That's a pretty simplistic explanation....hope it helps,
Rick Garland
Honored Contributor

Re: Remote Printer Setup

As a setup option, you could have systemA be the local print server for all the printers. Additional servers (B - whatever) that need to access a particular printer could be told to "remote print" to the serverA which would then spool out the job.

This can be accomplished through SAM of via the command line as stated in the post by Jose.
Bill Hassell
Honored Contributor

Re: Remote Printer Setup

Actually, the task is quite a bit simpler for JetAdmin now. For the last couple of revs of JetDirect software, two commands: addqueue and removequeue can be used to add or delete a printer:

addqueue -h IP-or-hostname -q queue-name

Note that queue-name can be the same (ideally) as the hostname of the printer. Try man addqueue. If not present, downloaad the latest JetDirect software for your version of HP-UX.


Bill Hassell, sysadmin