<?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: deleting printers in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-printers/m-p/3459801#M209926</link>
    <description>Jeff,&lt;BR /&gt;&lt;BR /&gt;I know this is probably after the fact, but you can do this in SAM.  Select the first printer, scroll to the last, hold the shift key and select the last printer.  Under 'Actions', select 'Remove'.  All selected printers will be removed.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mark</description>
    <pubDate>Thu, 13 Jan 2005 09:05:02 GMT</pubDate>
    <dc:creator>Mark Ellzey</dc:creator>
    <dc:date>2005-01-13T09:05:02Z</dc:date>
    <item>
      <title>deleting printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-printers/m-p/3459796#M209921</link>
      <description>I have an RP7410, HPUX-11.i.  I want to delete all 174 printers without having to do them one at a time thru sam.  How can I delete all the printers at once?</description>
      <pubDate>Mon, 10 Jan 2005 14:31:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-printers/m-p/3459796#M209921</guid>
      <dc:creator>Jeff Hagstrom</dc:creator>
      <dc:date>2005-01-10T14:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: deleting printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-printers/m-p/3459797#M209922</link>
      <description>Jeff,&lt;BR /&gt;&lt;BR /&gt;If you can get a list of the printers into a text file (perhaps with the lpstat command), all you have to do is:&lt;BR /&gt;&lt;BR /&gt;for PRNTR in `cat printer_list`&lt;BR /&gt;do&lt;BR /&gt;removequeue -f -q $PRNTR&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 10 Jan 2005 14:35:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-printers/m-p/3459797#M209922</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-01-10T14:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: deleting printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-printers/m-p/3459798#M209923</link>
      <description>Jeff,&lt;BR /&gt;&lt;BR /&gt;Or, if it's not an HPPI defined printer, replace the removequeue with&lt;BR /&gt;&lt;BR /&gt;"lpadmin -x$PRNTR"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 10 Jan 2005 14:36:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-printers/m-p/3459798#M209923</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-01-10T14:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: deleting printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-printers/m-p/3459799#M209924</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can try this,&lt;BR /&gt;&lt;BR /&gt;# for i in `/usr/bin/lpstat -a |awk '{print $1}'`&lt;BR /&gt;&amp;gt; do&lt;BR /&gt;&amp;gt; lpadmin -x $i&lt;BR /&gt;&amp;gt; done&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jan 2005 14:38:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-printers/m-p/3459799#M209924</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2005-01-10T14:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: deleting printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-printers/m-p/3459800#M209925</link>
      <description>Remember, spooler must be shut first, so:&lt;BR /&gt;lpshut&lt;BR /&gt;&lt;BR /&gt;for i in `ls /etc/lp/interface`&lt;BR /&gt;do&lt;BR /&gt;lpadmin -x$i&lt;BR /&gt;done &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;No space after -x&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 10 Jan 2005 15:50:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-printers/m-p/3459800#M209925</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-01-10T15:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: deleting printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-printers/m-p/3459801#M209926</link>
      <description>Jeff,&lt;BR /&gt;&lt;BR /&gt;I know this is probably after the fact, but you can do this in SAM.  Select the first printer, scroll to the last, hold the shift key and select the last printer.  Under 'Actions', select 'Remove'.  All selected printers will be removed.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mark</description>
      <pubDate>Thu, 13 Jan 2005 09:05:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-printers/m-p/3459801#M209926</guid>
      <dc:creator>Mark Ellzey</dc:creator>
      <dc:date>2005-01-13T09:05:02Z</dc:date>
    </item>
  </channel>
</rss>

