<?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: Local Printer Problems - HP-Ux in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496017#M215801</link>
    <description>Well, the interface file = 0 is definitely wrong. The lp -d (ain fact, ALL options to lp) must *not* have a space. It is the only subsystem in the SysV colletion that has this oddity. lp -dpr0 /etc/hosts should work OK. The **** pattern is the banner page from the dumb model script. And since the ***** pattern prints, then the Centronics interface and the printer are indeed working. The script errors are a bit strange since these dumb scripts have been around for years. The errors look like shell interpreter problems.&lt;BR /&gt; &lt;BR /&gt;I would start with a check of the lp subsystem sofware using swverify. Someone may have tried to 'improve' HP-UX permissions and ownerships.&lt;BR /&gt; &lt;BR /&gt;As far as a local parallel printer in with all the other printers, that's fine. Use lpstat -v to show all the printers and lpstat -t to report on more details. Try printing direct to the parallel device file using ux2dos as in:&lt;BR /&gt; &lt;BR /&gt;dos2ux /etc/hosts &amp;gt; /dev/&lt;WHATEVER&gt;&lt;BR /&gt; &lt;BR /&gt;If all that works, then delete and re-add the Printronix printer.&lt;/WHATEVER&gt;</description>
    <pubDate>Fri, 04 Mar 2005 17:19:54 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2005-03-04T17:19:54Z</dc:date>
    <item>
      <title>Local Printer Problems - HP-Ux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496009#M215793</link>
      <description>While I can otherwise print ok from my [UniVerse-Pick] database, the local printer is not in the main print queue and the command "lp -d pr0 print.test" causes merely a form feed.  The file "print.test" is a vanilla file containing merely one page of ASCII text.  Sending print.test to a laser printer with jet direct works fine.  The printer is a legacy Printronix P300.&lt;BR /&gt;&lt;BR /&gt;It is not clear to me why printer pr0 is not in our main print queue.  It bothers me that the lp -d command does not work.  Because I do not want to whack anything, I do not want to add it to the queue if a local printer does not belong there.&lt;BR /&gt;&lt;BR /&gt;This box is an HP-9000 E45 running HP-Ux v10.01.&lt;BR /&gt;&lt;BR /&gt;Suggestions would be appreciated.</description>
      <pubDate>Wed, 02 Mar 2005 10:09:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496009#M215793</guid>
      <dc:creator>Bill Brutzman</dc:creator>
      <dc:date>2005-03-02T10:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Local Printer Problems - HP-Ux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496010#M215794</link>
      <description>Was it setup with JetDirect or lpadmin or sam?&lt;BR /&gt;&lt;BR /&gt;Look at the script in /etc/lp/interfaces/pr0&lt;BR /&gt;&lt;BR /&gt;What does "lpstat pr0" give you.&lt;BR /&gt;&lt;BR /&gt;What is listed with&lt;BR /&gt;&lt;BR /&gt;find /etc/lp -name pr0&lt;BR /&gt;&lt;BR /&gt;Can the printer pr0 be listed within hppi?&lt;BR /&gt;&lt;BR /&gt;If it was setup with Jetdirect(hppi) then&lt;BR /&gt;make sure you are using the correct driver.&lt;BR /&gt;The software does not always have all of them. You have to download the others.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Mar 2005 10:43:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496010#M215794</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2005-03-02T10:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Local Printer Problems - HP-Ux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496011#M215795</link>
      <description>lp -oraw -d pr0&lt;BR /&gt;Does it work??&lt;BR /&gt;How the print file looks like?? Just ascii data?? What if you print some other file??</description>
      <pubDate>Wed, 02 Mar 2005 10:44:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496011#M215795</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-03-02T10:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Local Printer Problems - HP-Ux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496012#M215796</link>
      <description>It is not JetDirect.  It is a "standard" centronics printer cable from the HP box to the Printronix printer.&lt;BR /&gt;&lt;BR /&gt;I do not know how it was setup originally.  That was before my time here.</description>
      <pubDate>Wed, 02 Mar 2005 11:08:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496012#M215796</guid>
      <dc:creator>Bill Brutzman</dc:creator>
      <dc:date>2005-03-02T11:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Local Printer Problems - HP-Ux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496013#M215797</link>
      <description>&lt;BR /&gt;1. The script in /etc/lp/interfaces/pr0 is &lt;BR /&gt;   a file, 0 bytes in size.&lt;BR /&gt;&lt;BR /&gt;2. "lpstat pr0" yields...  "no entries"&lt;BR /&gt;&lt;BR /&gt;3. cd /etc/lp&lt;BR /&gt;    find . -name pr0  yields...&lt;BR /&gt;&lt;BR /&gt;          /member/pr0  &lt;BR /&gt;           this thing has...&lt;BR /&gt;            /dev/c1t0d0_lp&lt;BR /&gt;&lt;BR /&gt;4. I presume that I would need another    &lt;BR /&gt;   ARGUMENT with &lt;BR /&gt;&lt;BR /&gt;   lp -oraw -d pr0 PRINT.TEST&lt;BR /&gt;&lt;BR /&gt;5. The attachment is just several rows of &lt;BR /&gt;   abc...z 0123456789</description>
      <pubDate>Wed, 02 Mar 2005 11:25:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496013#M215797</guid>
      <dc:creator>Bill Brutzman</dc:creator>
      <dc:date>2005-03-02T11:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Local Printer Problems - HP-Ux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496014#M215798</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The print script is 0 bytes&lt;BR /&gt;&lt;BR /&gt;This is what does the work thus only a&lt;BR /&gt;carriage return from the spooler&lt;BR /&gt;&lt;BR /&gt;vi /etc/lp/interface/pr0&lt;BR /&gt;&lt;BR /&gt;:r /var/spool/lp/model/dumb&lt;BR /&gt;:wq&lt;BR /&gt;&lt;BR /&gt;Try again&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;       Steve Steel</description>
      <pubDate>Thu, 03 Mar 2005 05:36:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496014#M215798</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2005-03-03T05:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Local Printer Problems - HP-Ux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496015#M215799</link>
      <description>&lt;BR /&gt;Upon trying "dumb" the P300 prints out...&lt;BR /&gt;&lt;BR /&gt;xxxxxxxxxxxxxxxxxxxxxxxxxxx&lt;BR /&gt;xxxxxxxxxxxxxxxxxxxxxxxxxxx&lt;BR /&gt;xxxxxxxxxxxxxxxxxxxxxxxxxxx&lt;BR /&gt;&lt;BR /&gt;pwget :option requires an argument --n&lt;BR /&gt;usage : pwget [-n name | -u uid]&lt;BR /&gt;&lt;BR /&gt;Request id:    Printer: dumb&lt;BR /&gt;Thu Mar 3 10:39:16 EST 2005&lt;BR /&gt;&lt;BR /&gt;Upon trying "dumbplot" the P300 prints out...&lt;BR /&gt;&lt;BR /&gt;/var/spool/lp/model/dumbplot[25] : test: Specify a parameter with this command.&lt;BR /&gt;&lt;BR /&gt;I tried scaling back the "driver" file per the attachment.&lt;BR /&gt;&lt;BR /&gt;Thanks to those who have responded.  Further suggestions would be very much appreciated.&lt;BR /&gt;&lt;BR /&gt;--Bill</description>
      <pubDate>Fri, 04 Mar 2005 16:10:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496015#M215799</guid>
      <dc:creator>Bill Brutzman</dc:creator>
      <dc:date>2005-03-04T16:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Local Printer Problems - HP-Ux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496016#M215800</link>
      <description>The "dumb" file is...</description>
      <pubDate>Fri, 04 Mar 2005 16:12:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496016#M215800</guid>
      <dc:creator>Bill Brutzman</dc:creator>
      <dc:date>2005-03-04T16:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Local Printer Problems - HP-Ux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496017#M215801</link>
      <description>Well, the interface file = 0 is definitely wrong. The lp -d (ain fact, ALL options to lp) must *not* have a space. It is the only subsystem in the SysV colletion that has this oddity. lp -dpr0 /etc/hosts should work OK. The **** pattern is the banner page from the dumb model script. And since the ***** pattern prints, then the Centronics interface and the printer are indeed working. The script errors are a bit strange since these dumb scripts have been around for years. The errors look like shell interpreter problems.&lt;BR /&gt; &lt;BR /&gt;I would start with a check of the lp subsystem sofware using swverify. Someone may have tried to 'improve' HP-UX permissions and ownerships.&lt;BR /&gt; &lt;BR /&gt;As far as a local parallel printer in with all the other printers, that's fine. Use lpstat -v to show all the printers and lpstat -t to report on more details. Try printing direct to the parallel device file using ux2dos as in:&lt;BR /&gt; &lt;BR /&gt;dos2ux /etc/hosts &amp;gt; /dev/&lt;WHATEVER&gt;&lt;BR /&gt; &lt;BR /&gt;If all that works, then delete and re-add the Printronix printer.&lt;/WHATEVER&gt;</description>
      <pubDate>Fri, 04 Mar 2005 17:19:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496017#M215801</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-03-04T17:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Local Printer Problems - HP-Ux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496018#M215802</link>
      <description>The "driver" file that the UniVerse database uses is...&lt;BR /&gt;&lt;BR /&gt;/var/spool/uv/PR0.drvr&lt;BR /&gt;&lt;BR /&gt;In this file is...&lt;BR /&gt;&lt;BR /&gt;slp -c132 -i0 -n &amp;lt;&amp;amp;1&lt;BR /&gt;cat -&lt;BR /&gt;&lt;BR /&gt;man slp specifies that there are some incompatibilities between the spooler and slp.&lt;BR /&gt;&lt;BR /&gt;slp is a way to specify parameters for a "non-serial" printer.&lt;BR /&gt;&lt;BR /&gt;Thus, I hope to send print jobs to this "slp" printer from the newer hp-ux box here.  It is not clear to me that it is possible or that this is the best way.</description>
      <pubDate>Mon, 07 Mar 2005 11:22:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496018#M215802</guid>
      <dc:creator>Bill Brutzman</dc:creator>
      <dc:date>2005-03-07T11:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Local Printer Problems - HP-Ux</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496019#M215803</link>
      <description>Wow, I haven't seen any code use slp since the 1980's!!! slp was used long before model scripts were created and no, slp isn't the best way to print. The good news is that the /var/spool/uv/PR0.drvr can be replaced with something like this:&lt;BR /&gt; &lt;BR /&gt;#/usr/bin/sh&lt;BR /&gt;cat - | lp -dpr0 -onb&lt;BR /&gt; &lt;BR /&gt;Be sure that this new file is 755 permissions. Universe is simply calling slp to perform no formatting (-i0 = no indent, -n = no auto-formfeed) so lp -dpr0 works fine. The -onb turns off the banner (separator) page if it is the default. The lp subsystem will handle your ASCII file formatting. Use the dumb model script when adding the printer. Make sure that lp can print ASCII files correctly first. ASCII files have just a signle LF at the end of each line so it is up to the printer script to add the CR to make the printer carriage return to the beginning of the next line. Or you can modify the above script to:&lt;BR /&gt; &lt;BR /&gt;#/usr/bin/sh&lt;BR /&gt;ux2dos - | lp -dpr0 -onb</description>
      <pubDate>Mon, 07 Mar 2005 17:37:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/local-printer-problems-hp-ux/m-p/3496019#M215803</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-03-07T17:37:33Z</dc:date>
    </item>
  </channel>
</rss>

