<?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: label printer gets disabled immediately after being enabled in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/label-printer-gets-disabled-immediately-after-being-enabled/m-p/6779907#M488933</link>
    <description>&lt;P&gt;Use &lt;STRONG&gt;hpnpf&lt;/STRONG&gt; to print a small job and specify a log file like this:&lt;/P&gt;&lt;PRE&gt;# hpnpf -x 12.34.56 -l /tmp/hpnpf.log -N /etc/issue
then
# cat /tmp/hpnpf.log&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;hpnpf&lt;/STRONG&gt; is the program that actually sends a print job to the printer. &lt;STRONG&gt;-x&lt;/STRONG&gt; specifies the IP address of the printer. &lt;STRONG&gt;-N&lt;/STRONG&gt; adds the CR after any LF (newline character in Unix). For a working printer, you'll see something like this in the log:&lt;/P&gt;&lt;PRE&gt;OpenLog: logging started (/tmp/hpnpf.log)
21:48:30 hpnpf[8166] Process: entered
21:48:30 hpnpf[8166] OpenSocket: entered
21:48:30 hpnpf[8166] OpenSocket: using 16K send buffer
21:48:30 hpnpf[8166] MakeConnection: 10.11.10.245, port 9100
21:48:30 hpnpf[8166] DoNonBlocking: non-blocking on
21:48:30 hpnpf[8166]   Connection has been set up
21:48:30 hpnpf[8166] connected
21:48:30 hpnpf[8166] Process: sending file /etc/issue
21:48:30 hpnpf[8166] SendFile: entered
21:48:30 hpnpf[8166]   SendFile: 559 bytes read from host
21:48:30 hpnpf[8166]   SendFile: 559 bytes written to socket
21:48:30 hpnpf[8166]   SendFile: 0 bytes read from host
21:48:30 hpnpf[8166]   SendFile: end, return succ
21:48:30 hpnpf[8166] DoNonBlocking: non-blocking off
21:48:31 hpnpf[8166] Process: read EOF on socket
21:48:31 hpnpf[8166] StopLog: logging stopped&lt;/PRE&gt;&lt;P&gt;If there is a problem with the printer, you'll see the issue documented in the log. &lt;STRONG&gt;lp&lt;/STRONG&gt; has no diagnostic ability at all. If the file prints OK, then there is something wrong with the the &lt;STRONG&gt;lp&lt;/STRONG&gt; print queue setup and the easiest fix is to simply delete it and re-add the printer. If you are using &lt;STRONG&gt;SAM&lt;/STRONG&gt; or &lt;STRONG&gt;SMH&lt;/STRONG&gt;, save yourself a *lot* of time and use &lt;STRONG&gt;addqueue&lt;/STRONG&gt; and &lt;STRONG&gt;removequeue&lt;/STRONG&gt; to add and remove network (JetDirect style) printers.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Sep 2015 01:56:44 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2015-09-01T01:56:44Z</dc:date>
    <item>
      <title>label printer gets disabled immediately after being enabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/label-printer-gets-disabled-immediately-after-being-enabled/m-p/6779771#M488931</link>
      <description>&lt;P&gt;OS: HP-UX&amp;nbsp; B.11.11 (Wildebeast)&lt;/P&gt;&lt;P&gt;Printer: Intermec PF8t (labels)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Immediately after an 'enable', printer is briefly enabled then becomes disabled with no intervening print job.&amp;nbsp;Jobs remain in queue. Attempted again after jobs cleared from queue, same result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Printer was added to the spooler as a network printer. Spooler was restarted.&amp;nbsp; Other printers are functioning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Printer successfully executes test print cycle. Printer is pingable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Verified configuration is the same for other functioning printers of the same model in HP Web JetAdmin and via telnet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'lpstat -p' gives 'reason unknown' and fence priority of 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2015 15:21:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/label-printer-gets-disabled-immediately-after-being-enabled/m-p/6779771#M488931</guid>
      <dc:creator>Paul143</dc:creator>
      <dc:date>2015-08-31T15:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: label printer gets disabled immediately after being enabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/label-printer-gets-disabled-immediately-after-being-enabled/m-p/6779907#M488933</link>
      <description>&lt;P&gt;Use &lt;STRONG&gt;hpnpf&lt;/STRONG&gt; to print a small job and specify a log file like this:&lt;/P&gt;&lt;PRE&gt;# hpnpf -x 12.34.56 -l /tmp/hpnpf.log -N /etc/issue
then
# cat /tmp/hpnpf.log&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;hpnpf&lt;/STRONG&gt; is the program that actually sends a print job to the printer. &lt;STRONG&gt;-x&lt;/STRONG&gt; specifies the IP address of the printer. &lt;STRONG&gt;-N&lt;/STRONG&gt; adds the CR after any LF (newline character in Unix). For a working printer, you'll see something like this in the log:&lt;/P&gt;&lt;PRE&gt;OpenLog: logging started (/tmp/hpnpf.log)
21:48:30 hpnpf[8166] Process: entered
21:48:30 hpnpf[8166] OpenSocket: entered
21:48:30 hpnpf[8166] OpenSocket: using 16K send buffer
21:48:30 hpnpf[8166] MakeConnection: 10.11.10.245, port 9100
21:48:30 hpnpf[8166] DoNonBlocking: non-blocking on
21:48:30 hpnpf[8166]   Connection has been set up
21:48:30 hpnpf[8166] connected
21:48:30 hpnpf[8166] Process: sending file /etc/issue
21:48:30 hpnpf[8166] SendFile: entered
21:48:30 hpnpf[8166]   SendFile: 559 bytes read from host
21:48:30 hpnpf[8166]   SendFile: 559 bytes written to socket
21:48:30 hpnpf[8166]   SendFile: 0 bytes read from host
21:48:30 hpnpf[8166]   SendFile: end, return succ
21:48:30 hpnpf[8166] DoNonBlocking: non-blocking off
21:48:31 hpnpf[8166] Process: read EOF on socket
21:48:31 hpnpf[8166] StopLog: logging stopped&lt;/PRE&gt;&lt;P&gt;If there is a problem with the printer, you'll see the issue documented in the log. &lt;STRONG&gt;lp&lt;/STRONG&gt; has no diagnostic ability at all. If the file prints OK, then there is something wrong with the the &lt;STRONG&gt;lp&lt;/STRONG&gt; print queue setup and the easiest fix is to simply delete it and re-add the printer. If you are using &lt;STRONG&gt;SAM&lt;/STRONG&gt; or &lt;STRONG&gt;SMH&lt;/STRONG&gt;, save yourself a *lot* of time and use &lt;STRONG&gt;addqueue&lt;/STRONG&gt; and &lt;STRONG&gt;removequeue&lt;/STRONG&gt; to add and remove network (JetDirect style) printers.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2015 01:56:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/label-printer-gets-disabled-immediately-after-being-enabled/m-p/6779907#M488933</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2015-09-01T01:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: label printer gets disabled immediately after being enabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/label-printer-gets-disabled-immediately-after-being-enabled/m-p/6780207#M488935</link>
      <description>&lt;P&gt;I did as you suggested, and the log showed success. In fact, the printer is now enabled. However, nothing printed. Everything seems to work on the HP side, so&amp;nbsp;I believe it is a communication issue between the JetDirect box and the printer. Thanks for the reply.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2015 19:34:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/label-printer-gets-disabled-immediately-after-being-enabled/m-p/6780207#M488935</guid>
      <dc:creator>Paul143</dc:creator>
      <dc:date>2015-09-01T19:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: label printer gets disabled immediately after being enabled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/label-printer-gets-disabled-immediately-after-being-enabled/m-p/6780215#M488936</link>
      <description>&lt;P&gt;Try the &lt;STRONG&gt;hpnpf&lt;/STRONG&gt; test on another workng printer. This will verify that plain old ASCII will work OK with this type of printer. If it works, check to see if there is a test print button on your jetDirect box. That will verify the connection between the box and the printer.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2015 20:12:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/label-printer-gets-disabled-immediately-after-being-enabled/m-p/6780215#M488936</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2015-09-01T20:12:17Z</dc:date>
    </item>
  </channel>
</rss>

