HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to make printer alias?
Operating System - HP-UX
1833420
Members
2876
Online
110052
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
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
07-17-2006 08:03 AM
07-17-2006 08:03 AM
how to make printer alias?
From HPUX 11.0, I have several printers that need to be available (using lp -d) under two different names. Is there a way to do this besides using SAM to create two printers for each? Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 08:45 AM
07-17-2006 08:45 AM
Re: how to make printer alias?
Well, it's a bit unorthodox but you could create a class that has but one member and submit some of the jobs using the class name and others using the printername.
Let's suppose that you have an existing printer (or queue) 'jekyl'.
Now let's create a class 'hyde'.
1) lpshut
2) lpadmin -pjekyl -chyde
3) accept hyde
4) lpsched
Now submits jobs as usual:
ls -l /tmp | lp -djekyl
ls -l /tmp | lp -dhyde
By the way, if you at some point want to remove this class then:
lpshut
lpadmin -xhyde
lpsched
Let's suppose that you have an existing printer (or queue) 'jekyl'.
Now let's create a class 'hyde'.
1) lpshut
2) lpadmin -pjekyl -chyde
3) accept hyde
4) lpsched
Now submits jobs as usual:
ls -l /tmp | lp -djekyl
ls -l /tmp | lp -dhyde
By the way, if you at some point want to remove this class then:
lpshut
lpadmin -xhyde
lpsched
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 02:49 PM
07-17-2006 02:49 PM
Re: how to make printer alias?
Using a class name as an alias works just fine. However, for HP JetDirect LAN cards, you can define the same printer over and over again with different names. addqueue is a great way to do this.
Bill Hassell, sysadmin
Bill Hassell, sysadmin
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