HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Printing to /dev/null
Operating System - HP-UX
1833903
Members
1866
Online
110063
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
12-07-1999 12:23 PM
12-07-1999 12:23 PM
Printing to /dev/null
I was wondering what the easiest way is to setup a phantom printer to print to
/dev/null. We want a certain application to print to an existing printer but
we don't care about the output and want it to disappear into the ether..
Thanks in adv,
AG
/dev/null. We want a certain application to print to an existing printer but
we don't care about the output and want it to disappear into the ether..
Thanks in adv,
AG
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-1999 03:21 AM
12-08-1999 03:21 AM
Re: Printing to /dev/null
I believe you can create a local printer using any model script with /dev/null
as the device file.
SAM can do this.
as the device file.
SAM can do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-1999 03:58 AM
12-08-1999 03:58 AM
Re: Printing to /dev/null
Not a problem: edit the /etc/lp/member file to print to /dev/null. This
assumes that the /etc/lp/interface file is printing to your device somewhere.
assumes that the /etc/lp/interface file is printing to your device somewhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-1999 07:07 AM
12-08-1999 07:07 AM
Re: Printing to /dev/null
Thanks for to all those who replied but the best way seemed to be something
like
# lpadmin -ptestprt -v/dev/null -mdumb
here are all the steps for completeness.
# lpshut
scheduler stopped
# lpadmin -ptestprt -v/dev/null -mdumb
# lpsched
scheduler is running
# enable testprt
printer "testprt" now enabled
# accept testprt
destination "testprt" now accepting requests
(Thanks to Michael Horan from HP)
like
# lpadmin -ptestprt -v/dev/null -mdumb
here are all the steps for completeness.
# lpshut
scheduler stopped
# lpadmin -ptestprt -v/dev/null -mdumb
# lpsched
scheduler is running
# enable testprt
printer "testprt" now enabled
# accept testprt
destination "testprt" now accepting requests
(Thanks to Michael Horan from HP)
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