<?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: Remote Printing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482208#M798901</link>
    <description>Hmmmm......The problem is, I don't think it is possible to create a device file for a network or remote printer.  &lt;BR /&gt;&lt;BR /&gt;Could you not send the output to lp from you stored procedure?  I would think that this would be possible.</description>
    <pubDate>Fri, 12 Jan 2001 20:50:14 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2001-01-12T20:50:14Z</dc:date>
    <item>
      <title>Remote Printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482204#M798897</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would like to know How I can I create a device (/dev/printer_name) for a remote or network printer as you know the device assign is (/dev/null).&lt;BR /&gt;&lt;BR /&gt;Does anybody know?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 12 Jan 2001 12:06:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482204#M798897</guid>
      <dc:creator>Juan Pena_1</dc:creator>
      <dc:date>2001-01-12T12:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Remote Printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482205#M798898</link>
      <description>Is the question -&lt;BR /&gt;&lt;BR /&gt;How do I add a Remote Printer?&lt;BR /&gt;or&lt;BR /&gt;How do I add a Device File?&lt;BR /&gt;&lt;BR /&gt;Are you adding a unix PS printer or&lt;BR /&gt;a Netware, NT network printer?&lt;BR /&gt;&lt;BR /&gt;I do not know how to answer your question.</description>
      <pubDate>Fri, 12 Jan 2001 14:19:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482205#M798898</guid>
      <dc:creator>Tony Willis_1</dc:creator>
      <dc:date>2001-01-12T14:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Remote Printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482206#M798899</link>
      <description>If you are trying to set up a remote printer or network printer in HP-UX then you do not need a file in /dev for each printer.  /dev/null is normal for these remote or network printers.  The only time a printer needs a device file is if it is a printer that is attached directly to the machine via a serial or parallel interface.&lt;BR /&gt;&lt;BR /&gt;Otherwise, to create a remote printer, you can just go through the printer setup in SAM and point to the correct remote system and remote printer name.  If you are adding a network printer then just go through the JetAdmin software and it will do all of the appropriate set up for you.</description>
      <pubDate>Fri, 12 Jan 2001 14:51:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482206#M798899</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-01-12T14:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Remote Printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482207#M798900</link>
      <description>I've created my remote printer and it work fine with lp -dprintername, but I need to assign a device (/dev/printername) so I can write directly to device from a Stored Procedure that I have on my oracle 8 database.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 12 Jan 2001 20:37:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482207#M798900</guid>
      <dc:creator>Juan Pena_1</dc:creator>
      <dc:date>2001-01-12T20:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Remote Printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482208#M798901</link>
      <description>Hmmmm......The problem is, I don't think it is possible to create a device file for a network or remote printer.  &lt;BR /&gt;&lt;BR /&gt;Could you not send the output to lp from you stored procedure?  I would think that this would be possible.</description>
      <pubDate>Fri, 12 Jan 2001 20:50:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482208#M798901</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-01-12T20:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Remote Printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482209#M798902</link>
      <description>I can't execute an OS command from a stored procedure en Oracle (lp -dprintername filename). This would have solved all my problems but I can't. If I could only open the remote printer so I can write directly to it, this would solve all my problems.</description>
      <pubDate>Fri, 12 Jan 2001 21:00:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482209#M798902</guid>
      <dc:creator>Juan Pena_1</dc:creator>
      <dc:date>2001-01-12T21:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Remote Printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482210#M798903</link>
      <description>This could be a wild guess !  but is it not possible to create a link /dev/printername to the file /dev/null? &lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 12 Jan 2001 21:11:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482210#M798903</guid>
      <dc:creator>Ajitkumar Rane</dc:creator>
      <dc:date>2001-01-12T21:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remote Printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482211#M798904</link>
      <description>The lp spooler has a classic format that expects a device file, but a remote printer cannot use a device file for the LAN as special software is needed to address the remote system and process the print job.  Thus, /dev/null is just used as a placeholder...nothing is sent to the /dev/null file.&lt;BR /&gt;&lt;BR /&gt;The solution is to use a FIFO file.  This is a little known but very clever way to connect things together in Unix.  Here are the steps, followed by an explanation:&lt;BR /&gt;&lt;BR /&gt;mkfifo myprinter&lt;BR /&gt;cat myprinter | lp -d&lt;SOMEPRINTER&gt; options &amp;amp;&lt;BR /&gt;&lt;BR /&gt;Then run your program and specify the file called myprinter (use a full pathname to myprinter). When the device is closed by the program, the job will be printed.  You can test it by simply cat'ing a file to myprinter as in:&lt;BR /&gt;&lt;BR /&gt;cat /etc/profile &amp;gt; myprinter&lt;BR /&gt;&lt;BR /&gt;What a fifo does is to act as a destination as well as a source.  The command string:&lt;BR /&gt;&lt;BR /&gt;cat myprinter | lp -d&lt;SOME_PRINTER&gt; &amp;amp;&lt;BR /&gt;&lt;BR /&gt;starts a read on the FIFO file and it will hang there waiting for data. Now anyone (with permissions to write to this file) can send data to myprinter and when it is done, the FIFO signals the read side that the end of the file has been seen and closes output to the lp command.  The &amp;amp; puts all this in the background.  You can script this to take place automatically.&lt;/SOME_PRINTER&gt;&lt;/SOMEPRINTER&gt;</description>
      <pubDate>Sat, 13 Jan 2001 00:37:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482211#M798904</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-01-13T00:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Remote Printing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482212#M798905</link>
      <description>Bill Hassell your recommendation worked, but when I try to send a second output to the fifo file it hangs.&lt;BR /&gt;&lt;BR /&gt;These are the steps I took :&lt;BR /&gt;&lt;BR /&gt;1) mkfifo epson880&lt;BR /&gt;2) cat epson880 | lp -dprt1 &amp;amp;&lt;BR /&gt;&lt;BR /&gt;What am I doing wrong?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jan 2001 13:41:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remote-printing/m-p/2482212#M798905</guid>
      <dc:creator>Juan Pena_1</dc:creator>
      <dc:date>2001-01-15T13:41:52Z</dc:date>
    </item>
  </channel>
</rss>

