<?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 printer queue to print to a file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-queue-to-print-to-a-file/m-p/3295179#M182848</link>
    <description>Is it possilbe to setup a printer queue that will print directly to a file rather than a printer.  We are using hpux 11.0.&lt;BR /&gt;&lt;BR /&gt;Any tips on doing this?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Jon</description>
    <pubDate>Thu, 03 Jun 2004 10:04:21 GMT</pubDate>
    <dc:creator>Unix Administrator_5</dc:creator>
    <dc:date>2004-06-03T10:04:21Z</dc:date>
    <item>
      <title>printer queue to print to a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-queue-to-print-to-a-file/m-p/3295179#M182848</link>
      <description>Is it possilbe to setup a printer queue that will print directly to a file rather than a printer.  We are using hpux 11.0.&lt;BR /&gt;&lt;BR /&gt;Any tips on doing this?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Jon</description>
      <pubDate>Thu, 03 Jun 2004 10:04:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-queue-to-print-to-a-file/m-p/3295179#M182848</guid>
      <dc:creator>Unix Administrator_5</dc:creator>
      <dc:date>2004-06-03T10:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: printer queue to print to a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-queue-to-print-to-a-file/m-p/3295180#M182849</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;setup the printer device as a file:&lt;BR /&gt;&lt;BR /&gt;lpadmin -pprinter -v/tmp/file -m&lt;MODEL script=""&gt;&lt;/MODEL&gt;&lt;BR /&gt;this will print the contents to this file.&lt;BR /&gt;&lt;BR /&gt;manish.</description>
      <pubDate>Thu, 03 Jun 2004 10:15:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-queue-to-print-to-a-file/m-p/3295180#M182849</guid>
      <dc:creator>Manish Srivastava</dc:creator>
      <dc:date>2004-06-03T10:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: printer queue to print to a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-queue-to-print-to-a-file/m-p/3295181#M182850</link>
      <description>You can set the printer name as a &lt;FILENAME&gt;. Doing this, lp will print to the file.&lt;BR /&gt;&lt;BR /&gt;BTW, you can use cat(1) to do the same :-).&lt;BR /&gt;&lt;BR /&gt;Anshu&lt;/FILENAME&gt;</description>
      <pubDate>Thu, 03 Jun 2004 10:16:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-queue-to-print-to-a-file/m-p/3295181#M182850</guid>
      <dc:creator>Anupam Anshu_1</dc:creator>
      <dc:date>2004-06-03T10:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: printer queue to print to a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-queue-to-print-to-a-file/m-p/3295182#M182851</link>
      <description>Use lpadmin with option -v&lt;BR /&gt;&lt;BR /&gt;(-vdevice   associates a new device with printer P.  Device is the pathname of a file that is writable by lp).&lt;BR /&gt;&lt;BR /&gt;Bruno&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jun 2004 10:22:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-queue-to-print-to-a-file/m-p/3295182#M182851</guid>
      <dc:creator>Bruno Ganino</dc:creator>
      <dc:date>2004-06-03T10:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: printer queue to print to a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-queue-to-print-to-a-file/m-p/3295183#M182852</link>
      <description>/etc/lp/interface should hv some shell scripts (backends for printing). Edit that and change it accordingly so that it wrintes to a file rather than printing&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Thu, 03 Jun 2004 10:24:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-queue-to-print-to-a-file/m-p/3295183#M182852</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-06-03T10:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: printer queue to print to a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-queue-to-print-to-a-file/m-p/3295184#M182853</link>
      <description>The printer has to be a defined queue.  A program will be sending to it.  &lt;BR /&gt;&lt;BR /&gt;The reason I need this is we have an application that sends pintjobs to various remote printers that run a certain printing software.  It seems that the output at times is garbled.  The tech. people of the printing software want to see the data as it comes out of the sending application.  So, the best that we have come up with is to have a queue that will direct it's output to a file.  &lt;BR /&gt;&lt;BR /&gt;Thanks for the ideas so far. -- Jon</description>
      <pubDate>Thu, 03 Jun 2004 10:57:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-queue-to-print-to-a-file/m-p/3295184#M182853</guid>
      <dc:creator>Unix Administrator_5</dc:creator>
      <dc:date>2004-06-03T10:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: printer queue to print to a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-queue-to-print-to-a-file/m-p/3295185#M182854</link>
      <description>Hi Jon,&lt;BR /&gt;&lt;BR /&gt;May be this idea looks crazy but think about it like an alternative.&lt;BR /&gt;&lt;BR /&gt;All printer request go to a corresponding spool directory placed into /var/spool/lp/request/&lt;SPOOL&gt;&lt;BR /&gt;&lt;BR /&gt;Always two files are generated by each request. One of them is a header file (begin with c*) an other is data file (begin with d*). Both of then are associated by job-id.&lt;BR /&gt;So if you have a printer, always disabled, you can develop a script file that handle this files according with you criteria. Take note about that all data files (d*) are plain text, no scape sequences are included.&lt;BR /&gt;&lt;BR /&gt;Rgds.&lt;/SPOOL&gt;</description>
      <pubDate>Thu, 03 Jun 2004 11:00:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-queue-to-print-to-a-file/m-p/3295185#M182854</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2004-06-03T11:00:44Z</dc:date>
    </item>
  </channel>
</rss>

