<?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: Cannot add or delete a given printer in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024340#M300474</link>
    <description>I think your kind of hosed. My suggestion would be to go under /etc/lp and find files associated with another remote printer. for each  file assiociated with that printer copy it and name it canon3974b5. then try &lt;BR /&gt;&lt;BR /&gt;# lpadmin -xcanon3974b5 &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 21 Jun 2007 14:59:00 GMT</pubDate>
    <dc:creator>Court Campbell</dc:creator>
    <dc:date>2007-06-21T14:59:00Z</dc:date>
    <item>
      <title>Cannot add or delete a given printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024329#M300463</link>
      <description>I have a couple of printers that are giving me problems.  &lt;BR /&gt;&lt;BR /&gt;If I try to delete them (with sam or removequeue), it says that they don't exist and if I try to add them (using sam or addqueue) it says that the already exist.&lt;BR /&gt;&lt;BR /&gt;I've tried deleting some these printers' files from the various directories inside /etc/lp, but no luck.&lt;BR /&gt;&lt;BR /&gt;Is there a way to manually wipe out all traces of a printer so I can add it again from scratch?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 21 Jun 2007 09:44:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024329#M300463</guid>
      <dc:creator>Reinhardt</dc:creator>
      <dc:date>2007-06-21T09:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or delete a given printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024330#M300464</link>
      <description>did you also remove the request directory?&lt;BR /&gt;&lt;BR /&gt;/var/spool/lp/request/&lt;NAME&gt;&lt;/NAME&gt;</description>
      <pubDate>Thu, 21 Jun 2007 11:37:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024330#M300464</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2007-06-21T11:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or delete a given printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024331#M300465</link>
      <description>also, did you do and lpshut &amp;amp; lpsched after removal?&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Jun 2007 11:38:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024331#M300465</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2007-06-21T11:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or delete a given printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024332#M300466</link>
      <description>Thanks.  That got me halfway there.&lt;BR /&gt;&lt;BR /&gt;I should have mentioned it in the original post, but one of the problem printers was a laserjet and the other was a remote printer (Oce/Canon).&lt;BR /&gt;&lt;BR /&gt;Removing the request directory removed all traces of the laserjet and I was able to re-add it successfully.&lt;BR /&gt;&lt;BR /&gt;But it didn't help in removing the remote printer (it's an Oce/Canon).  I confirmed that I removed the file from all directories under /etc/lp and /var/spool/lp/request, but it still shows up in sam, but doesn't let me delete it or re-add it.</description>
      <pubDate>Thu, 21 Jun 2007 12:01:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024332#M300466</guid>
      <dc:creator>Reinhardt</dc:creator>
      <dc:date>2007-06-21T12:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or delete a given printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024333#M300467</link>
      <description>I have a feeling Bill Hassell can answer this.</description>
      <pubDate>Thu, 21 Jun 2007 12:31:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024333#M300467</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-06-21T12:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or delete a given printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024334#M300468</link>
      <description>my best guess is that the printer is still referenced in /var/spool/lp/pstatus. It's a binary file. try usings strings on the file and see what you get.</description>
      <pubDate>Thu, 21 Jun 2007 12:32:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024334#M300468</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-06-21T12:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or delete a given printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024335#M300469</link>
      <description>It's in /var/spool/lp/pstatus 3 times, twice by itself and once with our domain name.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Jun 2007 12:37:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024335#M300469</guid>
      <dc:creator>Reinhardt</dc:creator>
      <dc:date>2007-06-21T12:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or delete a given printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024336#M300470</link>
      <description>an admitted long-shot, but try&lt;BR /&gt;&lt;BR /&gt;find . -name "*&lt;PRINTERNAME&gt;*"&lt;BR /&gt;&lt;BR /&gt;from both /var/spool/lp and /etc/lp&lt;BR /&gt;&lt;BR /&gt;&lt;/PRINTERNAME&gt;</description>
      <pubDate>Thu, 21 Jun 2007 13:48:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024336#M300470</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2007-06-21T13:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or delete a given printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024337#M300471</link>
      <description>Unfortunately, nothing was found with the find command.  I'm assuming at this point that it has something to do with the pstat file.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Jun 2007 14:10:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024337#M300471</guid>
      <dc:creator>Reinhardt</dc:creator>
      <dc:date>2007-06-21T14:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or delete a given printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024338#M300472</link>
      <description>what happens if you try&lt;BR /&gt;&lt;BR /&gt;# lpadmin -x&lt;DEST_NAME&gt;&lt;/DEST_NAME&gt;</description>
      <pubDate>Thu, 21 Jun 2007 14:16:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024338#M300472</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-06-21T14:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or delete a given printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024339#M300473</link>
      <description>I get this error from lpadmin -x&lt;PRINTERNAME&gt;:&lt;BR /&gt;&lt;BR /&gt;lpadmin: destination "&lt;PRINTERNAME&gt;" non-existent&lt;BR /&gt;&lt;BR /&gt;When I try to add it via sam, I get:&lt;BR /&gt;&lt;BR /&gt;The name "canon3974b5" is already being used by an existing printer or print class.  You must choose another name for the new printer.&lt;BR /&gt;&lt;BR /&gt;&lt;/PRINTERNAME&gt;&lt;/PRINTERNAME&gt;</description>
      <pubDate>Thu, 21 Jun 2007 14:36:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024339#M300473</guid>
      <dc:creator>Reinhardt</dc:creator>
      <dc:date>2007-06-21T14:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or delete a given printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024340#M300474</link>
      <description>I think your kind of hosed. My suggestion would be to go under /etc/lp and find files associated with another remote printer. for each  file assiociated with that printer copy it and name it canon3974b5. then try &lt;BR /&gt;&lt;BR /&gt;# lpadmin -xcanon3974b5 &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Jun 2007 14:59:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024340#M300474</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-06-21T14:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot add or delete a given printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024341#M300475</link>
      <description>That was the answer.  Thanks!</description>
      <pubDate>Thu, 21 Jun 2007 15:24:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-add-or-delete-a-given-printer/m-p/4024341#M300475</guid>
      <dc:creator>Reinhardt</dc:creator>
      <dc:date>2007-06-21T15:24:31Z</dc:date>
    </item>
  </channel>
</rss>

