- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Redirect print requests from 1 printer to another
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
Forums
Discussions
Discussions
Discussions
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
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
08-17-2006 02:53 AM
08-17-2006 02:53 AM
Redirect print requests from 1 printer to another
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 03:07 AM
08-17-2006 03:07 AM
Re: Redirect print requests from 1 printer to another
Let's say that we have three printer p1, p2, and p3 and we want to create a new class, class1.
lpadmin -p p1 -c class1 # if the class does already exist, it is created
lpadmin -p p2 -c class1 # add p2 to the class
lpadmin -p p3 -c class1 # add p3 to the class
accept class1
lp -dclass1 myfile
Now, when you use a class the first available printer will be used. If a member of a class is disabled, the jobs are automatically sent to the remaining functional members of the class.
Note: You can still specify a printer for a particular job even if that printer is also a member of a class but in that case there would be no automatic failover.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 03:23 AM
08-17-2006 03:23 AM
Re: Redirect print requests from 1 printer to another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 03:29 AM
08-17-2006 03:29 AM
Re: Redirect print requests from 1 printer to another
The obvious solution (after you have applied the baseball bat for future reference) is to remove the hard-coded printer from lp and add the printer back with another name. Next you create a new class with the name of your hard-coded printer and put as many printers into the class as you wish. Now the applications won't have a clue that they are really printing to a class rather than a printer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 03:30 AM
08-17-2006 03:30 AM
Re: Redirect print requests from 1 printer to another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 03:32 AM
08-17-2006 03:32 AM
Re: Redirect print requests from 1 printer to another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 03:34 AM
08-17-2006 03:34 AM
Re: Redirect print requests from 1 printer to another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 04:08 AM
08-17-2006 04:08 AM