<?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: lpstat hangs on systems utilizing remote printers in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439148#M6624</link>
    <description>lpstat command will typically come back after so much time and respond with an error message as to what might be causing the problem. Can you run the lpstat command and let it do it thing for awhile? When it finally does come back and finish, what is/are the error(s).</description>
    <pubDate>Wed, 23 Aug 2000 15:26:45 GMT</pubDate>
    <dc:creator>Rick Garland</dc:creator>
    <dc:date>2000-08-23T15:26:45Z</dc:date>
    <item>
      <title>lpstat hangs on systems utilizing remote printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439146#M6622</link>
      <description>I have several systems configured to use remote network printers.  The printers are configured at remote sites on a local PC utilizing "Ni-Print" to enable the network printing capabilities.&lt;BR /&gt;&lt;BR /&gt;Printing works fine, but lpstat commands hang as they try to return the status of these printers.  This happens even when the printers are availble on the network, not just when the PCs which the printers are attached to are turned off.&lt;BR /&gt;&lt;BR /&gt;Is there any work around for this?</description>
      <pubDate>Wed, 23 Aug 2000 15:13:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439146#M6622</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2000-08-23T15:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: lpstat hangs on systems utilizing remote printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439147#M6623</link>
      <description>See if you have the following patch:&lt;BR /&gt;s700_800 10.20 lpspool subsystem cumulative patch(PHCO_18779)--for HP_UX 10.20&lt;BR /&gt;or&lt;BR /&gt;s700_800 11.00 lpspool subsystem cumulative patch(PHCO_19484)--for HP-UX 11.0</description>
      <pubDate>Wed, 23 Aug 2000 15:20:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439147#M6623</guid>
      <dc:creator>Antoanetta Naghiu</dc:creator>
      <dc:date>2000-08-23T15:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: lpstat hangs on systems utilizing remote printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439148#M6624</link>
      <description>lpstat command will typically come back after so much time and respond with an error message as to what might be causing the problem. Can you run the lpstat command and let it do it thing for awhile? When it finally does come back and finish, what is/are the error(s).</description>
      <pubDate>Wed, 23 Aug 2000 15:26:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439148#M6624</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-08-23T15:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: lpstat hangs on systems utilizing remote printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439149#M6625</link>
      <description>The problem is caused by unfinished print jobs on the system due to printer going down. Install the patches as specified by Antoanetta applicable to your system</description>
      <pubDate>Wed, 23 Aug 2000 15:41:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439149#M6625</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-08-23T15:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: lpstat hangs on systems utilizing remote printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439150#M6626</link>
      <description>These systems do have the lpspool subsystem cumulative patch</description>
      <pubDate>Wed, 23 Aug 2000 15:44:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439150#M6626</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2000-08-23T15:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: lpstat hangs on systems utilizing remote printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439151#M6627</link>
      <description>I have seen where you can have corruption in the /var/spool/lp/pstatus file which will cause lpstat to hang, core dump etc. and printing is not even affected.&lt;BR /&gt;&lt;BR /&gt;You can do a strings on /var/spool/lp/pstatus and If you are getting garbled text etc back then it is most likely corrupt.  You should look at outputq and qstatus also in that directory using the same method. &lt;BR /&gt;&lt;BR /&gt;If this is the case and you only have a few printers you may have to clear the corrupt file and recreate the printers.  Or if you saved the spooler config in SAM you can go back and get restore it. Also a backup may have a clean copy.&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Aug 2000 15:58:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439151#M6627</guid>
      <dc:creator>jherring</dc:creator>
      <dc:date>2000-08-23T15:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: lpstat hangs on systems utilizing remote printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439152#M6628</link>
      <description>In response to Rick Garland's question,&lt;BR /&gt;the error that finally returns, after about 3 minutes, is "the printer_name is down".&lt;BR /&gt;&lt;BR /&gt;I'm lookiing for a possible solution which will allow the lpstat command to return quicker (whether the printer is actually up or down), so it doesn't appear "hung" within our application which uses it.</description>
      <pubDate>Wed, 23 Aug 2000 17:03:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439152#M6628</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2000-08-23T17:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: lpstat hangs on systems utilizing remote printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439153#M6629</link>
      <description>Debbie:&lt;BR /&gt;&lt;BR /&gt;Is DNS involved in the setup of the remote printers -- i.e. did you build the remote printers specifying an IPADDRESS or a DNS name?&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 23 Aug 2000 17:35:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439153#M6629</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-08-23T17:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: lpstat hangs on systems utilizing remote printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439154#M6630</link>
      <description>I'm not so sure that a quicker response to the lpstat command is possible when you have printers down. You mentioned that some printers are hanging off of PC's. Any chance you place these printers on the network so that when a users PC is turned off it doesn't affect the status of the printer? Other option is to have the PCs on - always.</description>
      <pubDate>Wed, 23 Aug 2000 18:21:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439154#M6630</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-08-23T18:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: lpstat hangs on systems utilizing remote printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439155#M6631</link>
      <description>lpstat tries to query the print queues on these remote servers and sometimes depending on how their emulation software is written, they don't want to do this.&lt;BR /&gt;&lt;BR /&gt;You can stop lpstat from doing this by supplying the -t flag (I think) try man lpstat. I always use 'lpstat -i -t' personally because of this behaviour.&lt;BR /&gt;&lt;BR /&gt;It may also be possible to remove the configuration of the hook scripts that get configured when you create a remote (rlp) printer with SAM.</description>
      <pubDate>Wed, 23 Aug 2000 21:03:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439155#M6631</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-08-23T21:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: lpstat hangs on systems utilizing remote printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439156#M6632</link>
      <description>I have this problem as well and have never gotten around to finding a real fix to it.  John Palmer's response is good - it's probably the software on the PCs.  Have you checked to make sure you have the most recent version of that software?&lt;BR /&gt;&lt;BR /&gt;The -t flag for lpstat does not skip this behavior, though.  I'm not sure about the -i that John mentioned, I'll have to go look that up.  I use -t to view all printers on the system, but at the end it polls the individual queues, so you end up with the same problem (and a very long wait if you have more than 1 printer with the same behavior, as each will delay in turn).</description>
      <pubDate>Wed, 23 Aug 2000 21:23:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439156#M6632</guid>
      <dc:creator>Andrew Maslin</dc:creator>
      <dc:date>2000-08-23T21:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: lpstat hangs on systems utilizing remote printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439157#M6633</link>
      <description>Thanks Andrew,&lt;BR /&gt;&lt;BR /&gt;It must be the -i flag then that stops it. I haven't got the man pages available at the moment so I couldn't check.</description>
      <pubDate>Wed, 23 Aug 2000 21:32:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439157#M6633</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-08-23T21:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: lpstat hangs on systems utilizing remote printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439158#M6634</link>
      <description>The solution is to use the -i parameter which tells lpstat to ignore trying to receive a response from network printers.  Except for printers set up using jetadmin, the lpstat command will always spend time verifying the status of the printer on the remote host.</description>
      <pubDate>Thu, 24 Aug 2000 20:26:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lpstat-hangs-on-systems-utilizing-remote-printers/m-p/2439158#M6634</guid>
      <dc:creator>Al Langen</dc:creator>
      <dc:date>2000-08-24T20:26:54Z</dc:date>
    </item>
  </channel>
</rss>

