- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Regarding installing a remote printer on a HP-UX s...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2008 05:03 PM
тАО04-22-2008 05:03 PM
Can anyone please help me in installing a remote printer named tsx1 on a HP-UX server by giving me the whole procedure and what commands to be used.
Thanks a lot for your help !
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2008 05:17 PM
тАО04-22-2008 05:17 PM
Re: Regarding installing a remote printer on a HP-UX server
Try this,
1)Make sure that the printer connected to remote system is pingable.
2)rlpdaemon must be running on both systems.To start rlpdaemon,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
3)When you configure your printer into the LP spooler, you must identify the printer interface script to be used. The /usr/lib/lp/model directory lists printer interface scripts from which to choose. If you do not find the exact model, you could use "dumb".
3)sam ->
Printers and Plotters ->
LP Spooler ->
Printers and Plotters ->
(Actions Menu)
Add Remote Printer/Plotter ->
< printername > ->
Remote System Name ->
Remote Printer Name ->
Best Regards,
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2008 06:33 PM
тАО04-22-2008 06:33 PM
Re: Regarding installing a remote printer on a HP-UX server
Thanks a lot for your reply. Is it necessary to use SAM, can't this be done by issuing UNIX commands.
Again thanking you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2008 07:15 PM
тАО04-22-2008 07:15 PM
Re: Regarding installing a remote printer on a HP-UX server
You can use "lpadmin" command also. But, not sure about the syntax.
I used to configure printer thru SAM.
Best Regards,
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2008 07:20 PM
тАО04-22-2008 07:20 PM
Re: Regarding installing a remote printer on a HP-UX server
adding remote printer via sam is easy
from printer menu add remote printer put your ip there and and give any printer name if you have any doubt please inform me
you can also add the printer on command line
I can send command line
Regards
Safar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2008 09:58 PM
тАО04-22-2008 09:58 PM
SolutionIf you want to do it using the command line, you would proceed as follows:
1. Setup Name/address resolution for the queue.
e.g. edit /etc/hosts and add IP address of host which will be accepting print requests and which will have the configured printer queue.
192.168.122.8 YDHOST
2. Login as root on the hp-ux server.
3. Stop the lp spooler:
# /usr/sbin/lpshut
SRV2:>/usr/sbin/lpshut
scheduler stopped
SRV2:>
4. Add the printer:
# /usr/sbin/lpadmin -pYDPRN -v/dev/null -mrmodel -ob3 -ocmrcmodel -osmrsmodel -orc -ormYDHOST -orpYDPRN
-pYDPRN YDPRN is the name of the printer as you want to call it on your system.
-ormYDHOST YDHOST is the name of the host (printer) as it appears in your name/address resolution
-orpYDPRN YDPRN is the queue name to the RIP.
5. Accept and enable the new printer:
# /usr/sbin/accept YDPRN
# /usr/bin/enable YDPRN
6. Restart the spooler:
# /usr/sbin/lpsched
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2008 10:00 PM
тАО04-22-2008 10:00 PM
Re: Regarding installing a remote printer on a HP-UX server
to test it your would of course do the following:
7. now test your setup
e.g.
# lp -dYDPRN /home/yogeeraj/.profile
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2008 08:04 AM
тАО04-23-2008 08:04 AM
Re: Regarding installing a remote printer on a HP-UX server
Thanks to Safarali too Can you please send some document or command line about which you are talking so that I can have more clear idea about adding printers.
Thanks Yogeeraj for you reply. It was really very helpful. I think this is what I wanted but I have some queries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2008 08:17 AM
тАО04-23-2008 08:17 AM
Re: Regarding installing a remote printer on a HP-UX server
/usr/sbin/lpadmin -ptsx1 -ormjnjthbafps01.ap.jnj.com -orpauto -mrmodel -v/dev/null -orc -ocmrcmodel -osmrsmodel
What the hostname jnjthbafps01.ap.jnj.com is for ? Is this my printer's hostname as per Yogeeraj's description in one of his reply which is different from hostname on which I have to install printer.
Once again thank you all for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2008 08:30 AM
тАО04-23-2008 08:30 AM
Re: Regarding installing a remote printer on a HP-UX server
> What the hostname jnjthbafps01.ap.jnj.com is for ? Is this my printer's hostname as per Yogeeraj's description in one of his reply which is different from hostname on which I have to install printer.
There are three main components to define for remote printers. The first is the *hostname* of the device on the network that will receive the output of your server. This can be another server, a printer with an inbuilt NIC (LAN) or a "netport" card which connects to a physical printer.