<?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: can't remove  printer in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-remove-printer/m-p/3426212#M204963</link>
    <description>As root, you can remove the request/printer_name directory and anything in it. Make sure there are no hidden files or directories inside: ll -a /var/spool/lp/request/printer_name. Sounds like corruption in the pstatus file which is binary and cannot be edited with vi. Hopefully removing the printer_name directory will allow lpadmin -x ro work and pstatus will be cleaned up. Otherwise, you'll need to dump a list of all the printers (lpstat -v for a quick list), then follow the spoolkick procedures to delte and rebuild the spooler.</description>
    <pubDate>Mon, 22 Nov 2004 10:13:16 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2004-11-22T10:13:16Z</dc:date>
    <item>
      <title>can't remove  printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-remove-printer/m-p/3426206#M204957</link>
      <description>/usr/sbin/lpadmin: can't remove request directory because of directory not empty.&lt;BR /&gt;&lt;BR /&gt;There are no files in the request directory.&lt;BR /&gt;&lt;BR /&gt;Printer is not accepting prints and still is in status enabled/avccepting.&lt;BR /&gt;&lt;BR /&gt;It's a remote printer.Doesn't make a difference if remote printer is up or down.&lt;BR /&gt;&lt;BR /&gt;your advice pls...</description>
      <pubDate>Fri, 19 Nov 2004 10:55:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-remove-printer/m-p/3426206#M204957</guid>
      <dc:creator>John Destreel</dc:creator>
      <dc:date>2004-11-19T10:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: can't remove  printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-remove-printer/m-p/3426207#M204958</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Use ls -a on the directory&lt;BR /&gt;&lt;BR /&gt;Bet there is a hidden file or the directory is not set to lp bin with access for lp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                steve STeel</description>
      <pubDate>Fri, 19 Nov 2004 11:03:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-remove-printer/m-p/3426207#M204958</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-11-19T11:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: can't remove  printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-remove-printer/m-p/3426208#M204959</link>
      <description>Hi,&lt;BR /&gt;Did you cancel -e &lt;LPNAME&gt; first?&lt;BR /&gt;To be sure no queue...&lt;BR /&gt;then disable the printer before removing it&lt;BR /&gt;with lpadmin -x&lt;LPNAME&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor&lt;/LPNAME&gt;&lt;/LPNAME&gt;</description>
      <pubDate>Fri, 19 Nov 2004 11:04:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-remove-printer/m-p/3426208#M204959</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2004-11-19T11:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: can't remove  printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-remove-printer/m-p/3426209#M204960</link>
      <description>Check on the ownership of the request directory and any contents. Someone may have decided to 'improve' the security of the lp file structure. Try:&lt;BR /&gt; &lt;BR /&gt;swverify PrinterMgmt&lt;BR /&gt; &lt;BR /&gt;and look for errors in the LP area.</description>
      <pubDate>Fri, 19 Nov 2004 16:45:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-remove-printer/m-p/3426209#M204960</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-11-19T16:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: can't remove  printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-remove-printer/m-p/3426210#M204961</link>
      <description>Hi John&lt;BR /&gt;&lt;BR /&gt;1.#cancel -e &lt;PRINTER_NAME&gt;&lt;BR /&gt;2.ensure that the directory /var/spool/lp/request/&lt;PRINTER_NAMEIS empty.=""&gt;&lt;/PRINTER_NAMEIS&gt;3.lpadmin -x printer_name&lt;BR /&gt;4.lpstat -t&lt;BR /&gt;5.Even if u are not able to remove by normal&lt;BR /&gt;  method use this method(not recommended)&lt;BR /&gt;&lt;BR /&gt;1.#lpshut&lt;BR /&gt;2.Delete /var/spool/lp/request/&lt;PRINTER_NAME&gt;&lt;BR /&gt;  directory&lt;BR /&gt;3.Delete /etc/lp/interface/&lt;PRINTER_NAME&gt;&lt;BR /&gt;4.delete /etc/lp/member/&lt;PRINTER_NAME&gt;&lt;BR /&gt;5.lpsched&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;SK&lt;BR /&gt;&lt;/PRINTER_NAME&gt;&lt;/PRINTER_NAME&gt;&lt;/PRINTER_NAME&gt;&lt;/PRINTER_NAME&gt;</description>
      <pubDate>Sat, 20 Nov 2004 04:24:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-remove-printer/m-p/3426210#M204961</guid>
      <dc:creator>Sยภเl Kย๓คг</dc:creator>
      <dc:date>2004-11-20T04:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: can't remove  printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-remove-printer/m-p/3426211#M204962</link>
      <description>Thanks for all of your submissions, but it still doesn't work for me.&lt;BR /&gt;&lt;BR /&gt;Even after a cancel -e printer the request directory isn't empty. while there are no files in it.&lt;BR /&gt;&lt;BR /&gt;swverify printermgmt :  no errors.&lt;BR /&gt;&lt;BR /&gt;Problem remains the request directory of the printer.&lt;BR /&gt;I can't remove the request directory of the printer.&lt;BR /&gt;&lt;BR /&gt;I'm thinking of a restore from prior to this problem of the request directory. &lt;BR /&gt;&lt;BR /&gt;Is this a valid option?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Mon, 22 Nov 2004 03:27:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-remove-printer/m-p/3426211#M204962</guid>
      <dc:creator>John Destreel</dc:creator>
      <dc:date>2004-11-22T03:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: can't remove  printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-remove-printer/m-p/3426212#M204963</link>
      <description>As root, you can remove the request/printer_name directory and anything in it. Make sure there are no hidden files or directories inside: ll -a /var/spool/lp/request/printer_name. Sounds like corruption in the pstatus file which is binary and cannot be edited with vi. Hopefully removing the printer_name directory will allow lpadmin -x ro work and pstatus will be cleaned up. Otherwise, you'll need to dump a list of all the printers (lpstat -v for a quick list), then follow the spoolkick procedures to delte and rebuild the spooler.</description>
      <pubDate>Mon, 22 Nov 2004 10:13:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-remove-printer/m-p/3426212#M204963</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-11-22T10:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: can't remove  printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-t-remove-printer/m-p/3426213#M204964</link>
      <description>Thanks Bill,&lt;BR /&gt;&lt;BR /&gt;The spoolkick did the trick!&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Thu, 25 Nov 2004 08:13:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-t-remove-printer/m-p/3426213#M204964</guid>
      <dc:creator>John Destreel</dc:creator>
      <dc:date>2004-11-25T08:13:41Z</dc:date>
    </item>
  </channel>
</rss>

