HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- psuedo printer
Operating System - Linux
1827400
Members
4889
Online
109965
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
06-14-2006 03:57 AM
06-14-2006 03:57 AM
psuedo printer
Sles9 SP3
CUPS printing
I need to create a psuedo printer that moves a file into a nfs mounted share. I am guessing that I can do this using "pipe" within CUPS. Any help in understanding how to accomplish this would be appreciated.
The documentation for CUPS mentions using PIPE but it is not very clear how and examples are non-exsistant. I have searched every way I know how for examples and have come up empty.
Point me to documentation that will help or explain how to, either way will be deeply appreciated.
Mark
CUPS printing
I need to create a psuedo printer that moves a file into a nfs mounted share. I am guessing that I can do this using "pipe" within CUPS. Any help in understanding how to accomplish this would be appreciated.
The documentation for CUPS mentions using PIPE but it is not very clear how and examples are non-exsistant. I have searched every way I know how for examples and have come up empty.
Point me to documentation that will help or explain how to, either way will be deeply appreciated.
Mark
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2006 04:21 PM
06-14-2006 04:21 PM
Re: psuedo printer
Mark,
Take a look at this writeup:
http://aplawrence.com/MacOSX/macosxcupstofile.html
CUPS is cups. Since you are wanting to write to a file, you don't need to use a pipe, unless you want the filename to change with each output.
Just using the syntax:
file:/path/to/filename.prn
on the printer creation should do the trick.
You could get fancy, and include a call to the date command to alter the filename.
file:/path/out.`date`.prn
If you still want to use a pipe, the writeup above has some detailed suggestions.
Take a look at this writeup:
http://aplawrence.com/MacOSX/macosxcupstofile.html
CUPS is cups. Since you are wanting to write to a file, you don't need to use a pipe, unless you want the filename to change with each output.
Just using the syntax:
file:/path/to/filename.prn
on the printer creation should do the trick.
You could get fancy, and include a call to the date command to alter the filename.
file:/path/out.`date`.prn
If you still want to use a pipe, the writeup above has some detailed suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2006 04:24 AM
06-15-2006 04:24 AM
Re: psuedo printer
Graig
The file name does need to change for each request. Is there an enviroment variable that cups uses that could be used as the name of the output file? Specifically the name of the input file. The best solution would be for the output file to be named the same as the input file.
If I have to define a name for the file is the .prn extention a requirement for this fuction?
Mark
The file name does need to change for each request. Is there an enviroment variable that cups uses that could be used as the name of the output file? Specifically the name of the input file. The best solution would be for the output file to be named the same as the input file.
If I have to define a name for the file is the .prn extention a requirement for this fuction?
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2006 04:07 AM
11-06-2006 04:07 AM
Re: psuedo printer
I have moved on to other issues....I will have to address this one again when I have time.
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP