<?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: Printer already exists while adding remote printer through SAM in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-already-exists-while-adding-remote-printer-through-sam/m-p/2564565#M29729</link>
    <description>Your script solved my problem as well.  Thanks.  I hope support is listening to this.</description>
    <pubDate>Mon, 11 Feb 2002 21:17:55 GMT</pubDate>
    <dc:creator>SteveKirby</dc:creator>
    <dc:date>2002-02-11T21:17:55Z</dc:date>
    <item>
      <title>Printer already exists while adding remote printer through SAM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-already-exists-while-adding-remote-printer-through-sam/m-p/2564559#M29723</link>
      <description>Hello, I encountered an error while adding a remote printer. The error messages says that "Printer Already exists", But in reality there is no such printer exists" &lt;BR /&gt;  This error is actually issued by lpmgr. While searching on "lpmgr" I found that  the patch PHCO_23876 has been applied. Is there any solution on this because we are not able to create a printer from sam.&lt;BR /&gt;    This error was not there before we upgrade our OS. The above mentioned patch was part of OS upgrade.&lt;BR /&gt;    Before that everything was normal and even my other servers which I've not upgraded are fine. Please Help.</description>
      <pubDate>Mon, 13 Aug 2001 02:28:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-already-exists-while-adding-remote-printer-through-sam/m-p/2564559#M29723</guid>
      <dc:creator>Sharad Kowarkar</dc:creator>
      <dc:date>2001-08-13T02:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Printer already exists while adding remote printer through SAM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-already-exists-while-adding-remote-printer-through-sam/m-p/2564560#M29724</link>
      <description>Hi, sharad&lt;BR /&gt;since your system showing that printer alreday exist even if physically not there,  remove the printer from thru SAM and add again.</description>
      <pubDate>Mon, 13 Aug 2001 12:51:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-already-exists-while-adding-remote-printer-through-sam/m-p/2564560#M29724</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-08-13T12:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Printer already exists while adding remote printer through SAM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-already-exists-while-adding-remote-printer-through-sam/m-p/2564561#M29725</link>
      <description>Nope, Ravi SAM doesn't list that printer name it only displays error message while trying to add a new remote printer.</description>
      <pubDate>Mon, 13 Aug 2001 23:15:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-already-exists-while-adding-remote-printer-through-sam/m-p/2564561#M29725</guid>
      <dc:creator>Sharad Kowarkar</dc:creator>
      <dc:date>2001-08-13T23:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Printer already exists while adding remote printer through SAM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-already-exists-while-adding-remote-printer-through-sam/m-p/2564562#M29726</link>
      <description>Some times SAM doesn't do a good job of removing printers. Try this:&lt;BR /&gt;lpadmin -xprinter_name&lt;BR /&gt;&lt;BR /&gt;If you still have a problem you might need to manually remove the printer. Try creating these files owned by LP:&lt;BR /&gt;&lt;BR /&gt;/usr/spool/lp/member/printer_name&lt;BR /&gt;/usr/spool/lp/interface/printer_name&lt;BR /&gt;&lt;BR /&gt;and a Dir owned by LP:&lt;BR /&gt;/usr/spool/lp/request/printer_name&lt;BR /&gt;&lt;BR /&gt;Then you should be able to use SAM or the above lpadmin -x command.</description>
      <pubDate>Tue, 14 Aug 2001 10:36:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-already-exists-while-adding-remote-printer-through-sam/m-p/2564562#M29726</guid>
      <dc:creator>Bill Alger</dc:creator>
      <dc:date>2001-08-14T10:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Printer already exists while adding remote printer through SAM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-already-exists-while-adding-remote-printer-through-sam/m-p/2564563#M29727</link>
      <description>Hi Sharad,&lt;BR /&gt;&lt;BR /&gt;I have just experienced the same problem. I was unable to add a NEW remote printer via SAM, and had the same error message "Printer Alreay Exists". Is this a BUG??????&lt;BR /&gt;&lt;BR /&gt;Anyway I got around it by using lpadmin to add the printers.&lt;BR /&gt; &lt;BR /&gt;/usr/sbin/lpadmin -plocal_name -v/dev/null -mrmodel -ocmrcmodel -osmrsmodel -ormremote_server -orpremote_name -v/dev/null&lt;BR /&gt;&lt;BR /&gt;After that refreshed SAM and new printer was displayed.</description>
      <pubDate>Mon, 20 Aug 2001 22:08:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-already-exists-while-adding-remote-printer-through-sam/m-p/2564563#M29727</guid>
      <dc:creator>Barney Timms</dc:creator>
      <dc:date>2001-08-20T22:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Printer already exists while adding remote printer through SAM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-already-exists-while-adding-remote-printer-through-sam/m-p/2564564#M29728</link>
      <description>Hi Everyone, I've found the reason why it SAM say the printer already exists. SAM uses /usr/sam/lbin/lpmgr to manage remote printer. The "lpmgr" script which was installed as part of (What I've found) patch PHCO_23876. I went trough the script. IT is one of the function -could be the local_name_in_use- which uses parameter local_pname to verify whether the printer exists.&lt;BR /&gt;  Hence I've written my own script which uses lpadmin and other series od commands as a part of printer creation. &lt;BR /&gt; Alternatively we can also copy backup original vaerion of "lpmgr" script which I've already done. And I'm able to create printer through SAM now.&lt;BR /&gt;  Find below th original attached script "lpmgr" rename your existing script and copy this script. Then try. It works.</description>
      <pubDate>Mon, 20 Aug 2001 23:21:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-already-exists-while-adding-remote-printer-through-sam/m-p/2564564#M29728</guid>
      <dc:creator>Sharad Kowarkar</dc:creator>
      <dc:date>2001-08-20T23:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Printer already exists while adding remote printer through SAM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printer-already-exists-while-adding-remote-printer-through-sam/m-p/2564565#M29729</link>
      <description>Your script solved my problem as well.  Thanks.  I hope support is listening to this.</description>
      <pubDate>Mon, 11 Feb 2002 21:17:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printer-already-exists-while-adding-remote-printer-through-sam/m-p/2564565#M29729</guid>
      <dc:creator>SteveKirby</dc:creator>
      <dc:date>2002-02-11T21:17:55Z</dc:date>
    </item>
  </channel>
</rss>

