<?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: unknown printer in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-printer/m-p/5008701#M774207</link>
    <description>&lt;!--!*#--&gt;Yes, lpadmin doesn't know it : &lt;BR /&gt;&lt;BR /&gt;# lpadmin -x10_1&lt;BR /&gt;lpadmin: destination "10_1" non-existent&lt;BR /&gt;&lt;BR /&gt;# lpstat -p |head -5&lt;BR /&gt;printer parprint4050 is idle.  enabled since May 15 14:13&lt;BR /&gt;        fence priority : 0&lt;BR /&gt;printer 10_1 disabled since Oct 23 14:57 -&lt;BR /&gt;        new printer&lt;BR /&gt;        fence priority : 0&lt;BR /&gt;&lt;BR /&gt;# /usr/sam/lbin/lpmgr -l |head -6&lt;BR /&gt;RUNNING&lt;BR /&gt;off&lt;BR /&gt; &lt;BR /&gt;local name:type:enabled:accepting:location:fence:class&lt;BR /&gt;10_1:--:no:--:--:0: :&lt;BR /&gt;HPSI:network:yes, idle:yes:-:0: :&lt;BR /&gt;&lt;BR /&gt;i really don't know where it can be declared.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Cedrick Gaillard</description>
    <pubDate>Mon, 16 Oct 2006 08:23:09 GMT</pubDate>
    <dc:creator>mobidyc</dc:creator>
    <dc:date>2006-10-16T08:23:09Z</dc:date>
    <item>
      <title>unknown printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-printer/m-p/5008699#M774205</link>
      <description>&lt;!--!*#--&gt;Hello, &lt;BR /&gt;&lt;BR /&gt;when i launch 'lpstat -p' is see an unknown printer that i can't delete through sam (the printer 10_1):&lt;BR /&gt;printer parprint4050 is idle.  enabled since May 15 14:13&lt;BR /&gt;        fence priority : 0&lt;BR /&gt;printer 10_1 disabled since Oct 23 14:57 -&lt;BR /&gt;        new printer&lt;BR /&gt;        fence priority : 0&lt;BR /&gt;&lt;BR /&gt;i've searched through /etc/lp/interface and /var/spool/lp without success.&lt;BR /&gt;&lt;BR /&gt;where can i look for it ?&lt;BR /&gt;&lt;BR /&gt;thanks in advance&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Cedrick Gaillard</description>
      <pubDate>Mon, 16 Oct 2006 07:23:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-printer/m-p/5008699#M774205</guid>
      <dc:creator>mobidyc</dc:creator>
      <dc:date>2006-10-16T07:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: unknown printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-printer/m-p/5008700#M774206</link>
      <description>Did you try "lpadmin -x10_1" ?</description>
      <pubDate>Mon, 16 Oct 2006 08:10:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-printer/m-p/5008700#M774206</guid>
      <dc:creator>Yang Qin_1</dc:creator>
      <dc:date>2006-10-16T08:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: unknown printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-printer/m-p/5008701#M774207</link>
      <description>&lt;!--!*#--&gt;Yes, lpadmin doesn't know it : &lt;BR /&gt;&lt;BR /&gt;# lpadmin -x10_1&lt;BR /&gt;lpadmin: destination "10_1" non-existent&lt;BR /&gt;&lt;BR /&gt;# lpstat -p |head -5&lt;BR /&gt;printer parprint4050 is idle.  enabled since May 15 14:13&lt;BR /&gt;        fence priority : 0&lt;BR /&gt;printer 10_1 disabled since Oct 23 14:57 -&lt;BR /&gt;        new printer&lt;BR /&gt;        fence priority : 0&lt;BR /&gt;&lt;BR /&gt;# /usr/sam/lbin/lpmgr -l |head -6&lt;BR /&gt;RUNNING&lt;BR /&gt;off&lt;BR /&gt; &lt;BR /&gt;local name:type:enabled:accepting:location:fence:class&lt;BR /&gt;10_1:--:no:--:--:0: :&lt;BR /&gt;HPSI:network:yes, idle:yes:-:0: :&lt;BR /&gt;&lt;BR /&gt;i really don't know where it can be declared.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Cedrick Gaillard</description>
      <pubDate>Mon, 16 Oct 2006 08:23:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-printer/m-p/5008701#M774207</guid>
      <dc:creator>mobidyc</dc:creator>
      <dc:date>2006-10-16T08:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: unknown printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-printer/m-p/5008702#M774208</link>
      <description>I'm sure you tried all following steps, but can you review it again and make sure you didn't miss a step&lt;BR /&gt;&lt;BR /&gt;1. Stop the lp spooler.&lt;BR /&gt;    # /usr/sbin/lpshut&lt;BR /&gt;2. reject and disable the printer&lt;BR /&gt;    # /usr/sbin/reject 10_1&lt;BR /&gt;    # /usr/bin/disable 10_1 (it is already disabled)&lt;BR /&gt;3. check for jobs in the queue&lt;BR /&gt;    # /usr/bin/lpstat -o10_1&lt;BR /&gt;    # /usr/bin/cancel 10_1 (if there is a job)&lt;BR /&gt;4. Remove the printer&lt;BR /&gt;    # /usr/sbin/lpadmin -x10_1&lt;BR /&gt;5. Restart the spooler&lt;BR /&gt;    # /usr/sbin/lpsched&lt;BR /&gt;&lt;BR /&gt;Yang</description>
      <pubDate>Mon, 16 Oct 2006 08:50:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-printer/m-p/5008702#M774208</guid>
      <dc:creator>Yang Qin_1</dc:creator>
      <dc:date>2006-10-16T08:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: unknown printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-printer/m-p/5008703#M774209</link>
      <description>&lt;!--!*#--&gt;the problem is that i can't identify this printer '10_1'&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/reject 10_1&lt;BR /&gt;/usr/sbin/reject: destination "10_1" non-existent&lt;BR /&gt;# /usr/bin/lpstat -o10_1&lt;BR /&gt;/usr/bin/lpstat: "10_1" not a request id or a destination&lt;BR /&gt;no entries&lt;BR /&gt;# /usr/sbin/lpadmin -x10_1&lt;BR /&gt;/usr/sbin/lpadmin: destination "10_1" non-existent&lt;BR /&gt;&lt;BR /&gt;i found this printer in:&lt;BR /&gt;# strings /var/spool/lp/pstatus |grep 10_1 &lt;BR /&gt;10_1&lt;BR /&gt;10_1&lt;BR /&gt;&lt;BR /&gt;but if i do:&lt;BR /&gt;lpshut ;&lt;BR /&gt;&amp;gt;/var/spool/lp/pstatus ;&lt;BR /&gt;lpsched&lt;BR /&gt;&lt;BR /&gt;lpstat -p indicates that there is no more printers ;(&lt;BR /&gt;&lt;BR /&gt;how can i extract the printer in fault from this binary file ?&lt;BR /&gt;&lt;BR /&gt;very strange situation&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Cedrick Gaillard</description>
      <pubDate>Mon, 16 Oct 2006 09:54:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-printer/m-p/5008703#M774209</guid>
      <dc:creator>mobidyc</dc:creator>
      <dc:date>2006-10-16T09:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: unknown printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-printer/m-p/5008704#M774210</link>
      <description>Your pstatus and qstatus files have become corrupt, or someone logged in as root removed files in the spooler directories. Because the status files are binary, there is no way to fix them so you'll have to remove all the printers that you can (hint: lpshut then lpadmin -x for each printer). Once all the working printers have been removed, zero out the status files:&lt;BR /&gt; &lt;BR /&gt;cd /var/spool/lp&lt;BR /&gt;&amp;gt; pstatus&lt;BR /&gt;&amp;gt; qstatus&lt;BR /&gt;&amp;gt; outputq&lt;BR /&gt; &lt;BR /&gt;Then verify that the spooler hasn't been corrupted by wrong permissions, ownerships or missing files:&lt;BR /&gt; &lt;BR /&gt;swverify PrinterMgmt&lt;BR /&gt; &lt;BR /&gt;Fix any problems then add your printers back again.</description>
      <pubDate>Mon, 16 Oct 2006 10:05:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-printer/m-p/5008704#M774210</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-10-16T10:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: unknown printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unknown-printer/m-p/5008705#M774211</link>
      <description>&lt;!--!*#--&gt;Thanks all for your help i have solved my problem with the following commands:&lt;BR /&gt;&lt;BR /&gt;mkdir /var/spool/lp/request/10_1&lt;BR /&gt;touch /etc/lp/interface/10_1&lt;BR /&gt;touch /etc/lp/member/10_1&lt;BR /&gt;chmod 755 /var/spool/lp/request/10_1 /etc/lp/interface/10_1 /etc/lp/member/10_1&lt;BR /&gt;chown lp:bin /var/spool/lp/request/10_1 /etc/lp/interface/10_1 /etc/lp/member/10_1&lt;BR /&gt;lpshut&lt;BR /&gt;lpadmin -x10_1&lt;BR /&gt;lpsched&lt;BR /&gt;&lt;BR /&gt;my problem is now solved ;)&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Cedrick Gaillard</description>
      <pubDate>Mon, 16 Oct 2006 10:25:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unknown-printer/m-p/5008705#M774211</guid>
      <dc:creator>mobidyc</dc:creator>
      <dc:date>2006-10-16T10:25:34Z</dc:date>
    </item>
  </channel>
</rss>

