<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Redirect the printer out put to seperate filesystem on hpux 11.31 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572851#M650458</link>
    <description>&amp;gt; Bill H: "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."&lt;BR /&gt;&lt;BR /&gt;yep...its not that hard to do. and once done, its cleaner to maintain</description>
    <pubDate>Fri, 29 Jan 2010 16:13:27 GMT</pubDate>
    <dc:creator>OldSchool</dc:creator>
    <dc:date>2010-01-29T16:13:27Z</dc:date>
    <item>
      <title>Redirect the printer out put to seperate filesystem on hpux 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572846#M650453</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;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).&lt;BR /&gt;&lt;BR /&gt;I appreciate your help.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Venugopal</description>
      <pubDate>Thu, 28 Jan 2010 00:09:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572846#M650453</guid>
      <dc:creator>Origin Energy</dc:creator>
      <dc:date>2010-01-28T00:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect the printer out put to seperate filesystem on hpux 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572847#M650454</link>
      <description>For Unix, usually all printer output comes from a file or pipe, so there is no need to put it back in a file.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;the output has to save as a file in rdi format&lt;BR /&gt;&lt;BR /&gt;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??&lt;BR /&gt;&lt;BR /&gt;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??</description>
      <pubDate>Thu, 28 Jan 2010 09:00:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572847#M650454</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-01-28T09:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect the printer out put to seperate filesystem on hpux 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572848#M650455</link>
      <description>&amp;gt; rdi format&lt;BR /&gt; &lt;BR /&gt;Rainfall Dependent Infiltration?&lt;BR /&gt;Recommended Daily Intake?&lt;BR /&gt;&lt;A href="http://www.acronymfinder.com/RDI.html" target="_blank"&gt;http://www.acronymfinder.com/RDI.html&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;OK, Ms. Google has provided the details: device-independent bitmap (RIFF RDIB format).&lt;BR /&gt; &lt;BR /&gt;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.&lt;BR /&gt; &lt;BR /&gt;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.</description>
      <pubDate>Fri, 29 Jan 2010 02:38:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572848#M650455</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-01-29T02:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect the printer out put to seperate filesystem on hpux 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572849#M650456</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Thank you very much for your help&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Now we are able to see the files(when we fire the print job through SAP application) in /var/spool/lp/request/&lt;PRINTER name=""&gt;/&lt;FILE name=""&gt; but these file locations needs to change it to other file system(NFS mount) so that the stream serve application will do the necessary changes on that file.&lt;BR /&gt;&lt;BR /&gt;For this, how can we change the spool directory path to other filesystem(nfs mount).&lt;BR /&gt;&lt;BR /&gt;I appreciate your help on this.&lt;BR /&gt;Regards&lt;BR /&gt;Venugopal&lt;/FILE&gt;&lt;/PRINTER&gt;</description>
      <pubDate>Fri, 29 Jan 2010 03:05:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572849#M650456</guid>
      <dc:creator>venu_panguluri</dc:creator>
      <dc:date>2010-01-29T03:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect the printer out put to seperate filesystem on hpux 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572850#M650457</link>
      <description>So SAP has done the conversion so the file sent to the printer is already converted. That's good and you are correct, the file to be printed has been copied to the request directory so you can simply disable the printer and the files will pile up. You can then use NFS or CIFS (SAMBA) to share the files with another system. Once the files have been handled, it would be a good idea to cancel each print request. Removing the files via NFS/CIFS may confuse the spooler.&lt;BR /&gt; &lt;BR /&gt;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.</description>
      <pubDate>Fri, 29 Jan 2010 04:12:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572850#M650457</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-01-29T04:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect the printer out put to seperate filesystem on hpux 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572851#M650458</link>
      <description>&amp;gt; Bill H: "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."&lt;BR /&gt;&lt;BR /&gt;yep...its not that hard to do. and once done, its cleaner to maintain</description>
      <pubDate>Fri, 29 Jan 2010 16:13:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572851#M650458</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2010-01-29T16:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect the printer out put to seperate filesystem on hpux 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572852#M650459</link>
      <description>Attached is a very basic lp script that can be used to redirect the output to another location. When the script completes with a zero exit code, the lp spooler will remove the queued print job.</description>
      <pubDate>Fri, 29 Jan 2010 16:49:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572852#M650459</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-01-29T16:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect the printer out put to seperate filesystem on hpux 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572853#M650460</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Thank you very much for your help.&lt;BR /&gt;&lt;BR /&gt;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)&lt;BR /&gt;with out copying manually becasue it will keep on generate files every second.&lt;BR /&gt;&lt;BR /&gt;I appreciate your help.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Venugopal</description>
      <pubDate>Sun, 31 Jan 2010 23:52:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572853#M650460</guid>
      <dc:creator>venu_panguluri</dc:creator>
      <dc:date>2010-01-31T23:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect the printer out put to seperate filesystem on hpux 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572854#M650461</link>
      <description>&amp;gt; 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)&lt;BR /&gt;with out copying manually becasue it will keep on generate files every second.&lt;BR /&gt; &lt;BR /&gt;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.</description>
      <pubDate>Mon, 01 Feb 2010 00:25:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572854#M650461</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-02-01T00:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect the printer out put to seperate filesystem on hpux 11.31</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572855#M650462</link>
      <description>"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)&lt;BR /&gt;with out copying manually becasue it will keep on generate files every second."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;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."&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;The script he attached is a good starting point.  substitue "cp" for "cat" (and similar changes) would be required.</description>
      <pubDate>Mon, 01 Feb 2010 16:08:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-the-printer-out-put-to-seperate-filesystem-on-hpux-11/m-p/4572855#M650462</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2010-02-01T16:08:00Z</dc:date>
    </item>
  </channel>
</rss>

