- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to make lpmove run automatically?
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
06-27-2003 10:49 AM
06-27-2003 10:49 AM
We bought 4 new LJ4600dtn color printers last month to alleviate our end of month reporting delays. The application prints everything to the system default printer LJ4600A using lp. I would like to add a cronjob that does an lpstat and if LJ4600A is busy then automatically do an lpmove to 4600B, 4600C, or 4600D. Right now I do this manually but I would like an automatic method.
Does anyone have a similar problem and maybe a script that I can modify?
TIA,
Derek
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2003 10:56 AM
06-27-2003 10:56 AM
SolutionYou need to rethink your problem and define a printer class, like LJ4600 and make the CLASS the default printer. You then make your 4 printers members of this class and you are done!!!
1) Make a new class
lpadmin -p LJ4600A -c LJ4600
2) add the remaining printers
lpadmin -p LJ4600B -c LJ4600
lpadmin -p LJ4600C -c LJ4600
lpadmin -p LJ4600D -c LJ4600
3) Make the class the system default
lpadmin -dLJ4600
You may need to issue an accept and enable command for the class (I can't remember) but that's the gist of the solution.
Man lpadmin for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2003 11:00 AM
06-27-2003 11:00 AM
Re: How to make lpmove run automatically?
By the way, you can also use lpadmix -x LJ4600 to remove the class just as if it were a printer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2003 11:01 AM
06-27-2003 11:01 AM
Re: How to make lpmove run automatically?
install jetadmin interface download :
http://productfinder.support.hp.com/tps/ProductFinder?h_lang=en&h_tool=software&h_query=jetadmin
Administration menu for jetadmin and printers
# ./jetadmin
*************************************************
* MAIN MENU *
* HP JetAdmin Utility for UNIX (Rev. D.06.21) *
*************************************************
1) Configuration (super-user only):
- configure printer, add printer to spooler
2) Diagnostics:
- diagnose printing problems
3) Administration (super-user only):
- manage HP printer, JetDirect
4) Administration (super-user only):
- manage JetAdmin
5) Printer Status:
- show printer status, location, and contact
?) Help q) Quit
Please enter a selection (q - quit):
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2003 11:06 AM
06-27-2003 11:06 AM
Re: How to make lpmove run automatically?
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&con=/hpux/onlinedocs/B2355-90742/00/00/18-con.html&toc=/hpux/onlinedocs/B2355-90742/00/00/18-toc.html&searchterms=class%7cprinter&queryid=20030627-130002
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2003 11:20 AM
06-27-2003 11:20 AM
Re: How to make lpmove run automatically?
It would appear that you certainly already have the JetDirect (or JetAdmin) software installed since you ARE able to print just not to a class. The class modifications simply require the standard lp commands and are not related to JetDirect (or JetAdmin).
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2003 11:39 AM
06-27-2003 11:39 AM
Re: How to make lpmove run automatically?
Thanks very much!!! I am already finished. The "class" was just what I needed!! I was already using the latest jetdirect software because the older software did not list my newer printers.
Thanks again,
Derek