<?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: lp problems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-problems/m-p/2699044#M57424</link>
    <description>Delete printer, queues and anything else you can find relating to this printer.&lt;BR /&gt;Then..&lt;BR /&gt;resinstall printer by using 'jetadmin' and nothing else...&lt;BR /&gt;Regards,&lt;BR /&gt;Ceesjan</description>
    <pubDate>Mon, 08 Apr 2002 10:18:39 GMT</pubDate>
    <dc:creator>Ceesjan van Hattum</dc:creator>
    <dc:date>2002-04-08T10:18:39Z</dc:date>
    <item>
      <title>lp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-problems/m-p/2699041#M57421</link>
      <description>I have one printer (set as default) on my system.  Whenever I send a print to it, it becomes disabled - with a reason unknown.  In the lp log the following error message appears: "hpnpf: unknown host ehqprt006"&lt;BR /&gt;&lt;BR /&gt;I have tried stopping/starting the spooler etc. and am getting nowhere fast!&lt;BR /&gt;&lt;BR /&gt;Thanks for any help...&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Mon, 08 Apr 2002 09:56:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-problems/m-p/2699041#M57421</guid>
      <dc:creator>James Lanaway</dc:creator>
      <dc:date>2002-04-08T09:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: lp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-problems/m-p/2699042#M57422</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;seems to be a name resolution problem, did you check your /etc/hosts file? Try to send the printjob to IP- adress first to confirm it.&lt;BR /&gt;&lt;BR /&gt;Allways stay on the bright side of life!&lt;BR /&gt;&lt;BR /&gt;Peter</description>
      <pubDate>Mon, 08 Apr 2002 10:00:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-problems/m-p/2699042#M57422</guid>
      <dc:creator>Peter Kloetgen</dc:creator>
      <dc:date>2002-04-08T10:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: lp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-problems/m-p/2699043#M57423</link>
      <description>Does 'lpstat' show the printer as "ready and waiting"?</description>
      <pubDate>Mon, 08 Apr 2002 10:14:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-problems/m-p/2699043#M57423</guid>
      <dc:creator>Deepak Extross</dc:creator>
      <dc:date>2002-04-08T10:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: lp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-problems/m-p/2699044#M57424</link>
      <description>Delete printer, queues and anything else you can find relating to this printer.&lt;BR /&gt;Then..&lt;BR /&gt;resinstall printer by using 'jetadmin' and nothing else...&lt;BR /&gt;Regards,&lt;BR /&gt;Ceesjan</description>
      <pubDate>Mon, 08 Apr 2002 10:18:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-problems/m-p/2699044#M57424</guid>
      <dc:creator>Ceesjan van Hattum</dc:creator>
      <dc:date>2002-04-08T10:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: lp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-problems/m-p/2699045#M57425</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This is definately a lookup problem.&lt;BR /&gt;&lt;BR /&gt;If you use DNS the /etc/resolv.conf file must &lt;BR /&gt;have permissions of at least 444 .  &lt;BR /&gt;ping will work ok as will nslookup, but&lt;BR /&gt;bad permissions will make Jetadmin fail with hpnpf not being able to resolve the hostname of the printer.&lt;BR /&gt;&lt;BR /&gt;CHECK permissions on these:&lt;BR /&gt;     /tmp : 777&lt;BR /&gt;     /etc/hosts : 444&lt;BR /&gt;     /etc/resolv.conf (if it exists) : 444&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                          Steve Steel&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Apr 2002 10:22:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-problems/m-p/2699045#M57425</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-04-08T10:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: lp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-problems/m-p/2699046#M57426</link>
      <description>To me, it seems you have a name resolution problem.&lt;BR /&gt;&lt;BR /&gt;What is the result of the command "nslookup ehqprt006".&lt;BR /&gt;&lt;BR /&gt;If it doesn't return the correct IP address of the printer (what I think will be the problem), you need to check your /etc/hosts or DNS server (or NIS server).&lt;BR /&gt;&lt;BR /&gt;Is the printername absolutely correct ?&lt;BR /&gt;What is it's IP address, can you ping it ? Can you do a reverse lookup (nslookup &lt;IP-ADDRESS&gt;) ?&lt;BR /&gt;&lt;BR /&gt;&lt;/IP-ADDRESS&gt;</description>
      <pubDate>Mon, 08 Apr 2002 10:26:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-problems/m-p/2699046#M57426</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2002-04-08T10:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: lp problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-problems/m-p/2699047#M57427</link>
      <description>When a LAN-based printer stops working (ie, disabled), the first step is to ping by IP address (this avoids DNS nameserver problems as printers are often missed in managing DNS). If it does not respond, go no further. Instead, examine the IP address of the printer by using the self test button. As there are dozens of HP printers, you'll have to refer to the JetDirect or printer manual. For non-HP printers with non-HP LAN cards, refer to the mfr's documentation.&lt;BR /&gt;&lt;BR /&gt;Once the address has been reinstated, if ping still does not work, the printer may not have the correct gateway (router) in the configuration. All network devices need a minimum of 3 values: IP-address, subnet mask and gateway.&lt;BR /&gt;&lt;BR /&gt;Once ping to IP-address responds, now check the hostname with nslookup. If there is no such device, then the IP-to-name connection in /eetc/hosts or DNS has been broken. For /etc/hosts, just edit the file. However, if you have a file called /etc/resolv.conf, then what nslookup says it used to first determine the address, as in:&lt;BR /&gt;&lt;BR /&gt;# nslookup bambam&lt;BR /&gt;Using /etc/hosts on:  rebel&lt;BR /&gt;&lt;BR /&gt;looking up FILES&lt;BR /&gt;Trying DNS&lt;BR /&gt;Name:    bambam.atl.hp.com&lt;BR /&gt;Address:  156.94.386.491&lt;BR /&gt;&lt;BR /&gt;In this case, the hostname lookup was directed to look in /etc/hosts (FILES) and not finding the name there, tried DNS and resolved the name.  The order was dictated by /etc/nsswitch.conf (which you may not have, but should create if you have /etc/resolv.conf). To avoid DNS updating problems, always put printer names and IP's into /etc/hosts and specify:&lt;BR /&gt;&lt;BR /&gt;hosts: files[NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]&lt;BR /&gt;&lt;BR /&gt;in /etc/nsswitch.conf. This will provide a more reliable (and faster)way to resolve important hostnames and IP addresses.&lt;BR /&gt;&lt;BR /&gt;Note also that HP's JetDirect software does not need a hostname, as it can use the IPP address.  To fix you printer, use removequeue to remove the printer, verify it is working:&lt;BR /&gt;&lt;BR /&gt;/opt/hpnp/bin/hpnpadmin -v IP-address&lt;BR /&gt;&lt;BR /&gt;If you get back a bunch of stats, all is well.   Then add the printer back with addqueue as in:&lt;BR /&gt;&lt;BR /&gt;addqueue -h 156.345.678.90 -q my_local_print_queue</description>
      <pubDate>Mon, 08 Apr 2002 12:24:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-problems/m-p/2699047#M57427</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-04-08T12:24:38Z</dc:date>
    </item>
  </channel>
</rss>

