- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- redirect lp to /dev/null
Operating System - HP-UX
1823986
Members
4166
Online
109667
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
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
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
тАО01-08-2004 07:27 PM
тАО01-08-2004 07:27 PM
I'v createt a rprinter (dummy).
All output should be redirectet to /dev/null, so that the queue is empty.
Don't want to "cancel dummy".
How to configure ?
All output should be redirectet to /dev/null, so that the queue is empty.
Don't want to "cancel dummy".
How to configure ?
BaaN IV on HP-UX
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2004 07:40 PM
тАО01-08-2004 07:40 PM
Solution
Depends on how the printer was created but this is what I would do if I wanted this:
Go to /etc/lp/interface and edit the file dummy that should be there.
By putting 'exit 0' at the second line no output will be send anywhere. Or you could put 'cat >/dev/null;exit 0' there.
Go to /etc/lp/interface and edit the file dummy that should be there.
By putting 'exit 0' at the second line no output will be send anywhere. Or you could put 'cat >/dev/null;exit 0' there.
Every problem has at least one solution. Only some solutions are harder to find.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2004 07:40 PM
тАО01-08-2004 07:40 PM
Re: redirect lp to /dev/null
You should just be able to use
lpadmin -pdummy -v/dev/null -mdumb
lpadmin -pdummy -v/dev/null -mdumb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2004 02:15 AM
тАО01-09-2004 02:15 AM
Re: redirect lp to /dev/null
I'm not sure if I understand the question. However, if your goal is to send all print request to the dummy printer you created call dummy to /dev/null. Then here is your answer.
ln -s /dev/null /var/spool/lp/request/dummy
This will symbolically link the print requests for printer dummy to /dev/null.
ln -s /dev/null /var/spool/lp/request/dummy
This will symbolically link the print requests for printer dummy to /dev/null.
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP