<?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: Error message from lp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-message-from-lp/m-p/2652927#M46471</link>
    <description>Hi Marty,&lt;BR /&gt;&lt;BR /&gt;Check this out:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=7b486d2a0a8617a399/screen=ckiDisplayDocument?docId=200000011495802" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=7b486d2a0a8617a399/screen=ckiDisplayDocument?docId=200000011495802&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju&lt;BR /&gt;</description>
    <pubDate>Fri, 25 Jan 2002 14:42:29 GMT</pubDate>
    <dc:creator>Helen French</dc:creator>
    <dc:date>2002-01-25T14:42:29Z</dc:date>
    <item>
      <title>Error message from lp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-message-from-lp/m-p/2652922#M46466</link>
      <description>I have been getting an error message from "lp" sent root with an error message about a printer queue. This Message: "error code 2 in request WGFLASER-2802 on printer WGFLASER"&lt;BR /&gt;I have a time stamp when the message was sent. I can find the job. I can see that job log that sent the text to the print queue.&lt;BR /&gt;So here is my problem. What is "error code 2"?&lt;BR /&gt;Looks like it is processing OK. This printer is a HP laser jet using a Jetdirect server.&lt;BR /&gt;It is one of thing that bugs me.&lt;BR /&gt;This is HP-UX 11.0. There are 2 printer queues doing this in 2 different states.&lt;BR /&gt;Can you help me figure this out? Logs some where?&lt;BR /&gt;Marty&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jan 2002 13:44:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-message-from-lp/m-p/2652922#M46466</guid>
      <dc:creator>Marty Metras</dc:creator>
      <dc:date>2002-01-25T13:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error message from lp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-message-from-lp/m-p/2652923#M46467</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Chec out this link:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support3.external.hp.com/cki/bin/doc.pl/sid=a8d167dd14124dcc1a/screen=ckiDisplayDocument?docId=200000058669312" target="_blank"&gt;http://us-support3.external.hp.com/cki/bin/doc.pl/sid=a8d167dd14124dcc1a/screen=ckiDisplayDocument?docId=200000058669312&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Or it is possible that your printer queue has been corrupted.  Remove the printer and readd it vi jetadmin and see if this clears up your problem.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 25 Jan 2002 13:52:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-message-from-lp/m-p/2652923#M46467</guid>
      <dc:creator>Christopher McCray_1</dc:creator>
      <dc:date>2002-01-25T13:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error message from lp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-message-from-lp/m-p/2652924#M46468</link>
      <description>Hi Marty:&lt;BR /&gt;&lt;BR /&gt;First check /var/spool/lp/log for any clues. You may want to submit a new job and immediately examine the log.&lt;BR /&gt;&lt;BR /&gt;The convention for lp interface files is that 0 means good, 1-127 mean some error but future requests will not be disabled. 128 - reserved; 129 - problem and disable for future requests; &amp;gt; 129 - reserved for LP.&lt;BR /&gt;&lt;BR /&gt;Errno 2 - ENOENT - File not found. That is probably your error but if you are running a custom interface that may not be true.&lt;BR /&gt;&lt;BR /&gt;I can tell you how that sometimes happens:&lt;BR /&gt;&lt;BR /&gt;lp -dmyprinter myfile&lt;BR /&gt;rm myfile&lt;BR /&gt;&lt;BR /&gt;If myfile was rm'ed before the myfile actually starting being printer (or at least being opened) then that is your problem. &lt;BR /&gt;&lt;BR /&gt;The fix:&lt;BR /&gt;lp -c -dmyprinter myfile OR&lt;BR /&gt;cat myfile | lp -dmyprinter&lt;BR /&gt;rm myfile&lt;BR /&gt;&lt;BR /&gt;The -c requests that lp make a copy of the file before returning.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Fri, 25 Jan 2002 14:01:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-message-from-lp/m-p/2652924#M46468</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-01-25T14:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error message from lp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-message-from-lp/m-p/2652925#M46469</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This could be slow name lookup.&lt;BR /&gt;&lt;BR /&gt;If you use DNS and the printer is only in hosts&lt;BR /&gt;make sure you have&lt;BR /&gt;&lt;BR /&gt;hosts: dns [NOTFOUND=continue TRYAGAIN=continue] files&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In /etc/nsswitch.conf for the hosts line&lt;BR /&gt;&lt;BR /&gt;tryagain is often forgotten&lt;BR /&gt;&lt;BR /&gt;           steve Steel&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jan 2002 14:30:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-message-from-lp/m-p/2652925#M46469</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-01-25T14:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error message from lp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-message-from-lp/m-p/2652926#M46470</link>
      <description>Hi Marty,&lt;BR /&gt;&lt;BR /&gt;The print queue is probably corrupted. Delete the queue and add a new create for the printers giving this type of problem.&lt;BR /&gt;&lt;BR /&gt;hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jan 2002 14:37:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-message-from-lp/m-p/2652926#M46470</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-01-25T14:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error message from lp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-message-from-lp/m-p/2652927#M46471</link>
      <description>Hi Marty,&lt;BR /&gt;&lt;BR /&gt;Check this out:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=7b486d2a0a8617a399/screen=ckiDisplayDocument?docId=200000011495802" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=7b486d2a0a8617a399/screen=ckiDisplayDocument?docId=200000011495802&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jan 2002 14:42:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-message-from-lp/m-p/2652927#M46471</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-01-25T14:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error message from lp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-message-from-lp/m-p/2652928#M46472</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Again, this may help you:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=7b486d2a0a8617a399/screen=ckiDisplayDocument?docId=200000014941198" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=7b486d2a0a8617a399/screen=ckiDisplayDocument?docId=200000014941198&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=7b486d2a0a8617a399/screen=ckiDisplayDocument?docId=200000058669312" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=7b486d2a0a8617a399/screen=ckiDisplayDocument?docId=200000058669312&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Jan 2002 14:46:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-message-from-lp/m-p/2652928#M46472</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-01-25T14:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error message from lp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-message-from-lp/m-p/2652929#M46473</link>
      <description>&amp;gt; "error code 2 in request WGFLASER-2802 on printer WGFLASER"&lt;BR /&gt;&lt;BR /&gt;This probably comes from an "exit 2" statement in the interface script. &lt;BR /&gt;&lt;BR /&gt;Inspect the interface script, i.e. "view /etc/lp/interface/&lt;PRINTER_NAME&gt;", to see which condition(s) cause an exit 2. This can of course also be a "exit ..." statement, so check all exit statements, not just "exit 2".&lt;BR /&gt;&lt;BR /&gt;For JetDirect, check both /etc/lp/interface/&lt;PRINTER_NAME&gt; and /etc/lp/interface/model.orig.&lt;PRINTER_NAME&gt; .    &lt;BR /&gt;&lt;/PRINTER_NAME&gt;&lt;/PRINTER_NAME&gt;&lt;/PRINTER_NAME&gt;</description>
      <pubDate>Mon, 28 Jan 2002 14:51:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-message-from-lp/m-p/2652929#M46473</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2002-01-28T14:51:54Z</dc:date>
    </item>
  </channel>
</rss>

