Operating System - HP-UX
1834602 Members
4322 Online
110069 Solutions
New Discussion

Re: local printer sharing

 
Darren Murray_1
Frequent Advisor

local printer sharing

Hi all,

If I have a hp-ux server with a local printer attached to it is it possible to share that printer to another server...ie a linux server.
If so could someone help me out
6 REPLIES 6
Rajeev  Shukla
Honored Contributor

Re: local printer sharing

Yes you could share the printer connected locally on HPUX with a Linux server.
Configure a remote printer on linux using this command
lpadmin -p$printer -or -orp$printer -mrmodel -v/dev/null -ocmrcmodel -osmrsmodel

Cheers
Rajeev
Rajeev  Shukla
Honored Contributor

Re: local printer sharing

Hi Dont use the lpadmin command given above, instead configure a remote printer using the GUI interface in Linux, Networked Unix(LPD) printer with the server name
Steven E. Protter
Exalted Contributor

Re: local printer sharing

I would suggest Samba, known in the hp world as CIFS/9000.

Server for hp-ux
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA

client for hp-ux
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8724AA

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Darren Murray_1
Frequent Advisor

Re: local printer sharing

So nothing has to happen to the hpux server?The server has a local printer connected via a mux called prt45 and the server name is rex.
Rajeev  Shukla
Honored Contributor

Re: local printer sharing

yes you dont have to do anything on the HPUX server
bhavin asokan
Honored Contributor

Re: local printer sharing

hi,

i think rlpdaemon should be running on your hp server.see the manpage for rlpdaemon
man rlpdaemon

rlpdaemon is a line printer daemon (spool area handler) for remote
spool requests. rlpdaemon is normally invoked at boot time from the
/sbin/rc file or started by inetd(1M), when necessary. rlpdaemon runs
on a system that receives requests to be printed. rlpdaemon transfers
files to the spooling area, displays the queue, or removes jobs from
the queue.


The following entry should exist in /etc/services for remote spooling:

printer 515/tcp spooler

To start rlpdaemon from /sbin/rc, invoke the command:

/usr/sbin/rlpdaemon

To start rlpdaemon from inetd, the following line should be included
in the file /etc/inetd.conf:

printer stream tcp nowait root /usr/sbin/rlpdaemon rlpdaemon -i

If the remote system is the same as the local system and rlpdaemon was
not started by inetd(1M), the local system name must be included in
file /etc/hosts.equiv.


regds,