<?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: lp default dest - remove! remove! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238570#M173307</link>
    <description>That's it. LPDEST set in roots .profile.&lt;BR /&gt;If I change LPDEST, it changes the output from lpstat. What a waist of time. ARRRGHH!&lt;BR /&gt;&lt;BR /&gt;Thanks Jeff.&lt;BR /&gt;</description>
    <pubDate>Tue, 06 Apr 2004 15:20:45 GMT</pubDate>
    <dc:creator>jerry1</dc:creator>
    <dc:date>2004-04-06T15:20:45Z</dc:date>
    <item>
      <title>lp default dest - remove! remove!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238559#M173296</link>
      <description>I have cleaned out all the bogus decrepit&lt;BR /&gt;misconfigured and malformed printer queues&lt;BR /&gt;off of one of my server. But, lpstat still&lt;BR /&gt;thinks the default printer is still there.&lt;BR /&gt;How do I get rid of the default queue&lt;BR /&gt;definition? Where is it configured?&lt;BR /&gt;The queue is gone but lpstat and sam think&lt;BR /&gt;it's still there.&lt;BR /&gt;&lt;BR /&gt;All traces of queues in /etc/lp /var are gone.&lt;BR /&gt;Also in /var/sam .&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Apr 2004 16:12:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238559#M173296</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2004-04-02T16:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: lp default dest - remove! remove!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238560#M173297</link>
      <description>You are making this too hard. lpadmin -d (no more args) will do the trick.&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Apr 2004 16:15:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238560#M173297</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-04-02T16:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: lp default dest - remove! remove!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238561#M173298</link>
      <description>Nope! It's still there when I do an lpstat&lt;BR /&gt;and if you try to add it with sam it won't&lt;BR /&gt;let you.&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Apr 2004 16:36:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238561#M173298</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2004-04-02T16:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: lp default dest - remove! remove!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238562#M173299</link>
      <description>I just tried an lpadmin -d and the action was no system default printer. This is exactly the result documented in the lpadmin man page. When you say you "cleaned out" the print queues, I assume that means you did an lpadmin -x command and not simply a rm of files.&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Apr 2004 16:47:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238562#M173299</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-04-02T16:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: lp default dest - remove! remove!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238563#M173300</link>
      <description>Correct.&lt;BR /&gt;&lt;BR /&gt;cd /etc/lp/interface&lt;BR /&gt;lpshut&lt;BR /&gt;for i in `ls`;do&lt;BR /&gt;   lpadmin -x$i&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Apr 2004 17:04:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238563#M173300</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2004-04-02T17:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: lp default dest - remove! remove!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238564#M173301</link>
      <description>Okay, then let's try the brute force approach. Cat /var/spool/lp/default. That file should be owned by lp:lp with mode set to 644.&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Apr 2004 17:11:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238564#M173301</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-04-02T17:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: lp default dest - remove! remove!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238565#M173302</link>
      <description>&lt;BR /&gt;I added the queue back and another and&lt;BR /&gt;tried to switch default destination.&lt;BR /&gt;&lt;BR /&gt;I can see /var/spool/lp/default being&lt;BR /&gt;modified with the new entry but lpstat -t&lt;BR /&gt;still shows the old queue name.&lt;BR /&gt;&lt;BR /&gt;Running lpadmin -d with the existenece of &lt;BR /&gt;the queue now still does not disable&lt;BR /&gt;default destination. Even when default file is empty lpstat still reports queue name as deafult dest. Where is lpstat getting its info for the queue name other than default file???&lt;BR /&gt;&lt;BR /&gt;Running truss against lpstat and lpadmin&lt;BR /&gt;did not give much results.&lt;BR /&gt;&lt;BR /&gt;I have tried to remove the queue also with&lt;BR /&gt;sam but it does not remove the default destination even though it says it is.???&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Apr 2004 09:57:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238565#M173302</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2004-04-05T09:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: lp default dest - remove! remove!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238566#M173303</link>
      <description>Hi Jerry,&lt;BR /&gt;&lt;BR /&gt;just try to rename default printer by replacing it:&lt;BR /&gt;&lt;BR /&gt;# lpadmin -d&lt;NEW_DEFAULT_PRINTER&gt;&lt;BR /&gt;&lt;BR /&gt;After this another default printer should be configured.&lt;BR /&gt;Anyway another time I suggest you to remove a printer by&lt;BR /&gt;&lt;BR /&gt;# lpadmin -x&lt;PRINTER&gt;&lt;BR /&gt;&lt;BR /&gt;Maybe something in your script didn't work fine and now you get problems.&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Ettore&lt;/PRINTER&gt;&lt;/NEW_DEFAULT_PRINTER&gt;</description>
      <pubDate>Mon, 05 Apr 2004 10:46:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238566#M173303</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2004-04-05T10:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: lp default dest - remove! remove!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238567#M173304</link>
      <description>It's not a script. These are just command&lt;BR /&gt;line commands like you would type manually.&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Apr 2004 09:39:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238567#M173304</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2004-04-06T09:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: lp default dest - remove! remove!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238568#M173305</link>
      <description>Hi Jerry,&lt;BR /&gt;&lt;BR /&gt;Couple of things:&lt;BR /&gt;&lt;BR /&gt;1) Make sure that /etc/profile, nor user's .profiles have LPDEST set&lt;BR /&gt;&lt;BR /&gt;2) Check /var/spool/lp/pstatus &amp;amp; qstatus do not contain this printer - be advised that they are  not ascii text files.&lt;BR /&gt;&lt;BR /&gt;Lastly, if you don't have any other printers, you could remove the LP fileset &amp;amp; reinstall it. That should essentially wipe the slate clean.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Apr 2004 09:53:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238568#M173305</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-04-06T09:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: lp default dest - remove! remove!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238569#M173306</link>
      <description>I have deleted the printer names from /etc/lp/members manually once or twise in my carreer.. You couild try this&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Tue, 06 Apr 2004 11:17:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238569#M173306</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-04-06T11:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: lp default dest - remove! remove!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238570#M173307</link>
      <description>That's it. LPDEST set in roots .profile.&lt;BR /&gt;If I change LPDEST, it changes the output from lpstat. What a waist of time. ARRRGHH!&lt;BR /&gt;&lt;BR /&gt;Thanks Jeff.&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Apr 2004 15:20:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238570#M173307</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2004-04-06T15:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: lp default dest - remove! remove!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238571#M173308</link>
      <description>Anytime, Jerry, anytime.&lt;BR /&gt;Sometimes it's the simple things...&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 06 Apr 2004 16:36:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lp-default-dest-remove-remove/m-p/3238571#M173308</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-04-06T16:36:08Z</dc:date>
    </item>
  </channel>
</rss>

