- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: setting up a dummy printer
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
01-27-2004 01:14 AM
01-27-2004 01:14 AM
requests but does not actually print anything -- maybe sends it to /dev/null. I have an application that requires a print queue be active; however, we have no need to print.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 01:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 01:24 AM
01-27-2004 01:24 AM
Re: setting up a dummy printer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 01:35 AM
01-27-2004 01:35 AM
Re: setting up a dummy printer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 01:39 AM
01-27-2004 01:39 AM
Re: setting up a dummy printer
lpadmin will though.
Also, this /dev/null printer is handy for when you have many print jobs to delete.
rather than using cancel, you can lpmove the failed jobs to this bogus printer to dispose of them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 05:28 AM
01-27-2004 05:28 AM
Re: setting up a dummy printer
lpadmin -pdevnullprinter -esome_existing_printer_script -v/dev/null
However, all jobs sent to it queue
even after accpet and enable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 06:44 AM
01-27-2004 06:44 AM
Re: setting up a dummy printer
This should create printer bogus that will send print jobs to dev/null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 07:09 AM
01-27-2004 07:09 AM
Re: setting up a dummy printer
It appears that your existing model / interface script disables your printer when it gets a non zero return code after the job attempts to print.
( If enable printername can be run twice in a row, and the second time you do not get an already enabled messege, this is likely whats happening.) This causes the jobs to stay in the queue.
the above lpadmin -pbogus -i/dev/null -v/dev/null works. I guess we never error when reading /dev/null as an interface input?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 07:25 AM
01-27-2004 07:25 AM
Re: setting up a dummy printer
lpshut
lpadmin -pdevnullprinter -mdumb -v/dev/null
lpsched
accept
enable