HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Creating remote printers with lpadmin
Operating System - HP-UX
1833582
Members
3662
Online
110061
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
11-18-2003 06:03 AM
11-18-2003 06:03 AM
Hi guys,
I would like to create remote printers like we do in SAM, with lpadmin. I need to create remote Xerox printer queue on many system, and I would appreciate to do it in a script so it will save me time...
I would like to use the lpadmin command line to do it... but I need to specify some options like in SAM:
- Remote System Name: ex.: rprinter.test.com
- Remote Printer Name: ex.: lp
How can I do it?? And will I need to specify the Remote Cancel Model and Remote Status Model???
Thanks
Jonathan
I would like to create remote printers like we do in SAM, with lpadmin. I need to create remote Xerox printer queue on many system, and I would appreciate to do it in a script so it will save me time...
I would like to use the lpadmin command line to do it... but I need to specify some options like in SAM:
- Remote System Name: ex.: rprinter.test.com
- Remote Printer Name: ex.: lp
How can I do it?? And will I need to specify the Remote Cancel Model and Remote Status Model???
Thanks
Jonathan
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2003 06:07 AM
11-18-2003 06:07 AM
Solution
Jonathan,
I'll attach a script that I use but, basically all you need is this:
lpadmin -p$PRNTR -v/dev/null -mrmodel -g0 -ocmrcmodel -osmrsmodel -orm$LOC.holst
ein.com -orp$PRNTR"
where $PRNTR is the name of the print queue and $LOC is the name of the server to which the printer is attached.
Pete
Pete
I'll attach a script that I use but, basically all you need is this:
lpadmin -p$PRNTR -v/dev/null -mrmodel -g0 -ocmrcmodel -osmrsmodel -orm$LOC.holst
ein.com -orp$PRNTR"
where $PRNTR is the name of the print queue and $LOC is the name of the server to which the printer is attached.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2003 06:09 AM
11-18-2003 06:09 AM
Re: Creating remote printers with lpadmin
Hi Jonathan,
lpadmin -pptr_name -v/dev/null -mrmodel -ocmrcmodel -osmrsmodel -ob3 -ormhost_name -orpqueue_name -v/dev/null
This creates a local printer named ptr_name on the host host_name using it's queue name queue_name.
Not very elegant is it?
HTH,
Jeff
lpadmin -pptr_name -v/dev/null -mrmodel -ocmrcmodel -osmrsmodel -ob3 -ormhost_name -orpqueue_name -v/dev/null
This creates a local printer named ptr_name on the host host_name using it's queue name queue_name.
Not very elegant is it?
HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2003 06:32 AM
11-18-2003 06:32 AM
Re: Creating remote printers with lpadmin
Hey guys...
It worked perfectly...
Thank you both!!
ciao
Jonathan
It worked perfectly...
Thank you both!!
ciao
Jonathan
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP