- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Redirect the printer out put to seperate files...
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
Discussions
Discussions
Forums
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
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-2010 04:09 PM
тАО01-27-2010 04:09 PM
Redirect the printer out put to seperate filesystem on hpux 11.31
We have configured the printer on hpux11.31 and we need to redirect the out put to a separate file system Ex: In widows word "Print to a file") and the ouput has to save as a file in rdi format on that file system becasue we need to send these files to other location for chaning the logos and billing information(Customizing the bill).
I appreciate your help.
Thanks & Regards
Venugopal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 01:00 AM
тАО01-28-2010 01:00 AM
Re: Redirect the printer out put to seperate filesystem on hpux 11.31
>the output has to save as a file in rdi format
Do you have a program to convert text to this rdi format? You may want to invoke this program directly, rather than deal with a printer at all??
So it seems you want a pseudo printer with a model script that first converts it into rdi format and then moves it do another filesystem to act as a staging area??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 06:38 PM
тАО01-28-2010 06:38 PM
Re: Redirect the printer out put to seperate filesystem on hpux 11.31
Rainfall Dependent Infiltration?
Recommended Daily Intake?
http://www.acronymfinder.com/RDI.html
OK, Ms. Google has provided the details: device-independent bitmap (RIFF RDIB format).
This is a very specialized file format and there is nothing in HP-UX that can do the conversion. It is especially complicated because the original data must be converted into a raster (bitmap) format, similar to the Windows GDI standard.
So you can create a custom script in HP-UX to send the output for a printer to a file but now you have to convert it, and for that you'll need a Windows box with the specialized software needed to convert this unusual format.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 07:05 PM
тАО01-28-2010 07:05 PM
Re: Redirect the printer out put to seperate filesystem on hpux 11.31
Thank you very much for your help
The senarios is we need to take a Customer Invoice print out (RDI format - as file) from SAP Application and then we need to send this file to stream serve application for changes in invoice(Logo of company, billing address ...etc). For this we have configured the local printer on HPUX 11.31 but there is no physical printer which should be attached to the server.
Now we are able to see the files(when we fire the print job through SAP application) in /var/spool/lp/request/
For this, how can we change the spool directory path to other filesystem(nfs mount).
I appreciate your help on this.
Regards
Venugopal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 08:12 PM
тАО01-28-2010 08:12 PM
Re: Redirect the printer out put to seperate filesystem on hpux 11.31
Or you can simply write a printer script that copies the file to a specific location (your NFS/CIFS location) and by ending normally, the spooler will treat the file as printed.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 08:13 AM
тАО01-29-2010 08:13 AM
Re: Redirect the printer out put to seperate filesystem on hpux 11.31
yep...its not that hard to do. and once done, its cleaner to maintain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 08:49 AM
тАО01-29-2010 08:49 AM
Re: Redirect the printer out put to seperate filesystem on hpux 11.31
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2010 03:52 PM
тАО01-31-2010 03:52 PM
Re: Redirect the printer out put to seperate filesystem on hpux 11.31
Thank you very much for your help.
Is there any way to copy print files directly to another file system (it means change the spool directory when we are creating the printer - direct nfs filesystem)
with out copying manually becasue it will keep on generate files every second.
I appreciate your help.
Regards
Venugopal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2010 04:25 PM
тАО01-31-2010 04:25 PM
Re: Redirect the printer out put to seperate filesystem on hpux 11.31
with out copying manually becasue it will keep on generate files every second.
Just create an NFS mountpoint at /var/spool/lp/request. Note that NFS can be a major bottleneck unless you have a fast link (1000Mbit) between both computers and your client is very fast. If your HP-UX system is busy with other printers, it would be wise to set the mountpoint to /var/spool/lp/request/rdi_printer_name.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 08:08 AM
тАО02-01-2010 08:08 AM
Re: Redirect the printer out put to seperate filesystem on hpux 11.31
with out copying manually becasue it will keep on generate files every second."
I think you missed Bill H's original point. "Or you can simply write a printer script that copies the file to a specific location (your NFS/CIFS location) and by ending normally, the spooler will treat the file as printed."
there is no "manual" copying involve. lp, when the job is sent to the appropriat printer, will copy the file specified (instead of actually printing it.
The script he attached is a good starting point. substitue "cp" for "cat" (and similar changes) would be required.