<?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: remove a printer - won't go away in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966651#M119573</link>
    <description>Also check if you have  dierctory /var/opt/pd/pdclientd &lt;BR /&gt;then have a look at the following doc..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000066028328" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000066028328&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
    <pubDate>Tue, 06 May 2003 19:41:39 GMT</pubDate>
    <dc:creator>Uday_S_Ankolekar</dc:creator>
    <dc:date>2003-05-06T19:41:39Z</dc:date>
    <item>
      <title>remove a printer - won't go away</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966644#M119566</link>
      <description>Hi all:&lt;BR /&gt;&lt;BR /&gt;Went through to remove a printer from an HPUX 11.00 system&lt;BR /&gt;   lpshut;lpadmin -x&lt;PRINTER_NAME&gt;;lpsched&lt;BR /&gt;&lt;BR /&gt;The first time the response was the printer was removed. Now I am trying to add a remote printer with the same name. In doing so the system responds that a printer with this name already exists. Did a search for the printer name and found 3 instances:&lt;BR /&gt;/var/sam/lp/member/&lt;NAME&gt;&lt;BR /&gt;/var/sam/lp/interface/&lt;NAME&gt;&lt;BR /&gt;/var/sam/lp/interface/model.orig/&lt;NAME&gt;&lt;BR /&gt;&lt;BR /&gt;I removed these files, lpshut, lpsched, no instance of the printer on the system - in lpstat or a search.&lt;BR /&gt;&lt;BR /&gt;Tried to add the remote printer again and the system is telling me it still exists.&lt;BR /&gt;&lt;BR /&gt;What is going on?&lt;BR /&gt;&lt;BR /&gt;Many thanks!&lt;/NAME&gt;&lt;/NAME&gt;&lt;/NAME&gt;&lt;/PRINTER_NAME&gt;</description>
      <pubDate>Tue, 06 May 2003 14:11:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966644#M119566</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2003-05-06T14:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: remove a printer - won't go away</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966645#M119567</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try &lt;BR /&gt;&lt;BR /&gt;# lpadmin -x printername&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Tue, 06 May 2003 14:20:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966645#M119567</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-05-06T14:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: remove a printer - won't go away</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966646#M119568</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Here is a thought. Maybe your old printer is still in one of the lp status files in /var/spool/lp [outputq, pstatus, qstatus].  Take a look in there and see if you see it.  If so, you might try putting back the files you removed and then try removing it again.  Maybe there was a permissions or ownership problem on one of those files?&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Tue, 06 May 2003 18:51:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966646#M119568</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-05-06T18:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: remove a printer - won't go away</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966647#M119569</link>
      <description>Does same old name exists in DNS database??&lt;BR /&gt;&lt;BR /&gt;Just a thought.&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Tue, 06 May 2003 18:59:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966647#M119569</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2003-05-06T18:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: remove a printer - won't go away</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966648#M119570</link>
      <description>If you are using jetadmin then use jetadmin to remove printer. &lt;BR /&gt;&lt;BR /&gt;Check /var/spool/lp/, /var/adm/lp, /etc/lp/member&lt;BR /&gt;&lt;BR /&gt;and remove any entry of that printer. most probable it will go away.&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Tue, 06 May 2003 19:11:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966648#M119570</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2003-05-06T19:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: remove a printer - won't go away</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966649#M119571</link>
      <description>It looks like the printer was created via sam. It also looks like lpadmin doesn't know about the sam pieces of the config.  Have you tried deleting the printer via sam? Of course, it may not work because too many of the other files are gone.  Will sam let you create it again, and then remove it?&lt;BR /&gt;&lt;BR /&gt;At the very least, you can run from the root dir:&lt;BR /&gt;&lt;BR /&gt;find / -name "*printername* -print |xargs -i rm []&lt;BR /&gt;&lt;BR /&gt;and then see what sam lets you do.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;mark</description>
      <pubDate>Tue, 06 May 2003 19:13:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966649#M119571</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2003-05-06T19:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: remove a printer - won't go away</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966650#M119572</link>
      <description>Hi sorry about my previous post,&lt;BR /&gt;&lt;BR /&gt;Try thisn one&lt;BR /&gt;&lt;BR /&gt;# sam&lt;BR /&gt;&lt;BR /&gt;Printers &amp;amp; Plotters&lt;BR /&gt;LP Spooler &lt;BR /&gt;&lt;BR /&gt;Save Spooler Configuration&lt;BR /&gt;&lt;BR /&gt;Restore Spooler Configuration&lt;BR /&gt;&lt;BR /&gt;sam will try to restore any faults,&lt;BR /&gt;&lt;BR /&gt;after this remove the printer with lpadmin -x&lt;BR /&gt;&lt;BR /&gt;Hope it helps,&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Tue, 06 May 2003 19:23:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966650#M119572</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-05-06T19:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: remove a printer - won't go away</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966651#M119573</link>
      <description>Also check if you have  dierctory /var/opt/pd/pdclientd &lt;BR /&gt;then have a look at the following doc..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000066028328" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000066028328&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Tue, 06 May 2003 19:41:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966651#M119573</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2003-05-06T19:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: remove a printer - won't go away</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966652#M119574</link>
      <description>Still no luck.&lt;BR /&gt;&lt;BR /&gt;There is no DNS in play, I have searched the entire system for the printer - nothing shows up, SAM invokes the jetadmin app, jetadmin removal does not find it.&lt;BR /&gt;&lt;BR /&gt;I will keep hacking away. Many thanks for the feedback and keep those ideas coming!</description>
      <pubDate>Tue, 06 May 2003 19:46:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966652#M119574</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2003-05-06T19:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: remove a printer - won't go away</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966653#M119575</link>
      <description>Hi Rick:&lt;BR /&gt;&lt;BR /&gt;This is similar to a response I did today.&lt;BR /&gt;&lt;BR /&gt;I. SAM -&amp;gt; Printers and Plotters -&amp;gt; LP Spooler -&amp;gt; Save / Restore Spooler Configuration -&amp;gt; Actions -&amp;gt; Save Spooler Configuration &lt;BR /&gt;&lt;BR /&gt;2. Exit SAM &lt;BR /&gt;&lt;BR /&gt;C. cd /var/sam/lp &lt;BR /&gt;edit the file, lpinfo, and make any changes to the remote printer lines that you like and save the file. &lt;BR /&gt;&lt;BR /&gt;IV. SAM -&amp;gt; Printers and Plotters -&amp;gt; LP Spooler -&amp;gt; Save / Restore Spooler Configuration -&amp;gt; Actions -&amp;gt; Restore Spooler Configuration &lt;BR /&gt;&lt;BR /&gt;---------------------------- &lt;BR /&gt;&lt;BR /&gt;The actual lp data is stored in /var/spool/lp/pstatus but it's a binary file so that editing would require C or Perl.&lt;BR /&gt;&lt;BR /&gt;============================&lt;BR /&gt;&lt;BR /&gt;I suspect that your problem is pstatus. I would look for your entry in the lpinfo file above and also look through all the directories under /var/sam/lp for any references to your printer and delete them before restoring the configuration.&lt;BR /&gt;&lt;BR /&gt;I don't know if this will work but you might also try nulling the pstatus file in /var/sam/lp.&lt;BR /&gt;&lt;BR /&gt;As a test, do a strings /var/spool/lp/pstatus | grep "yourprinter" to see any references there.&lt;BR /&gt;&lt;BR /&gt;May the force be with you, Clay&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 May 2003 20:06:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966653#M119575</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-05-06T20:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: remove a printer - won't go away</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966654#M119576</link>
      <description>Hey Uday:&lt;BR /&gt;&lt;BR /&gt;Congratulations - you are the lucky winner of 10 (count em) points!&lt;BR /&gt;&lt;BR /&gt;The you directed me to has the info I needed. I was able to add the remote printer with no problems.&lt;BR /&gt;&lt;BR /&gt;I modified the lpmgr file as directed. Worked like a champ!&lt;BR /&gt;&lt;BR /&gt;Many thanks to all!</description>
      <pubDate>Tue, 06 May 2003 20:39:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-printer-won-t-go-away/m-p/2966654#M119576</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2003-05-06T20:39:29Z</dc:date>
    </item>
  </channel>
</rss>

