- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to setup a fake printing queue in HP-UX so all...
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
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
03-27-2008 10:35 AM
03-27-2008 10:35 AM
Is it possible to setup a "network printer" and have all the jobs in its queue written onto disk as files. These files can be processed / printed out later.
thanks
Lorne
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2008 10:48 AM
03-27-2008 10:48 AM
Re: how to setup a fake printing queue in HP-UX so all jobs go to disk
Just a thought,
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2008 10:49 AM
03-27-2008 10:49 AM
Re: how to setup a fake printing queue in HP-UX so all jobs go to disk
and have all the jobs go into a job queue (i.e. held on disk) until it is released by an operator to print.
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2008 11:30 AM
03-27-2008 11:30 AM
Solutionidea 2) printer interface files are just scripts. you can do anything you want in them
Give us more info on what the end result should be and we will give you better ideas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2008 08:29 PM
03-27-2008 08:29 PM
Re: how to setup a fake printing queue in HP-UX so all jobs go to disk
> "network printer"
Queueing of jobs is not really affected by the fact that the printer maybe remote or local. They are treated similarly.
So, as mentioned by TOM above, you can just disable the queue ("disable
hope this helps too!
kind regards yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2008 12:20 PM
03-28-2008 12:20 PM
Re: how to setup a fake printing queue in HP-UX so all jobs go to disk
Will keep you posted.
have a good weekend!
Lorne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2008 08:12 PM
03-28-2008 08:12 PM
Re: how to setup a fake printing queue in HP-UX so all jobs go to disk
If scripting is a problem, just create a dummy print queue, then disable it. All print jobs will store the print files in /var/spool/lp/request by printer name. And since it is disabled, the print jobs are already stored on disk. There will be a small control file along with the data file.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2008 09:53 AM
04-14-2008 09:53 AM
Re: how to setup a fake printing queue in HP-UX so all jobs go to disk
I am looking into editing printer interface files and want to write all printing jobs onto disk to form 1 big file per day.
If you can provide some expertise on how to edit interface file, I'd very much appreciate.
thanks
Lorne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2008 02:14 PM
04-14-2008 02:14 PM
Re: how to setup a fake printing queue in HP-UX so all jobs go to disk
You can try that but an easier approach would be to write a script that runs after midnight and goes in the "request" area of the disabled queue and picks all the data files within the 24-hour period and cat-s them one by one and as it is cat-ing them it cancels the print jobm so that they are removed from the queue. You can put separator text blocks between each job too as you cat them.
I assume you only have pure text in your print jobs and no postscript etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2008 02:27 PM
04-14-2008 02:27 PM
Re: how to setup a fake printing queue in HP-UX so all jobs go to disk
I used the script from Bill Hassell and edited it to fit my environment. It works just fine. (use it as a printer model script)
Bill, if you could reply and I would like to reward you with more points.
When I finishes my script, I will wrap this thread up.
thanks,
Lorne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2008 02:56 PM
04-14-2008 02:56 PM
Re: how to setup a fake printing queue in HP-UX so all jobs go to disk
Bill Hassell, sysadmin