<?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: Printing error message in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-error-message/m-p/2848058#M92697</link>
    <description>Hello.&lt;BR /&gt;&lt;BR /&gt;You need default destination to be set up.&lt;BR /&gt;Pick a printer from /var/spool/lp/request or create printer queue of your choice from sam.&lt;BR /&gt;And then set your default destination to it:&lt;BR /&gt;lpadmin -dPRINTER_QUEUE_NAME&lt;BR /&gt;check with lpstat -d&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;Oleg</description>
    <pubDate>Tue, 19 Nov 2002 18:56:27 GMT</pubDate>
    <dc:creator>Oleg Zieaev_1</dc:creator>
    <dc:date>2002-11-19T18:56:27Z</dc:date>
    <item>
      <title>Printing error message</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-error-message/m-p/2848055#M92694</link>
      <description>I'm trying to test the printing capability and when I go to print I receive the error "lp: can't open default destination file".  Can you tell me why I might be receiving this or what I can try to correct this error.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 19 Nov 2002 17:20:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-error-message/m-p/2848055#M92694</guid>
      <dc:creator>Justin Glass</dc:creator>
      <dc:date>2002-11-19T17:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Printing error message</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-error-message/m-p/2848056#M92695</link>
      <description>You could try supplying a destination to your lp command with the -d option.  Without one specified it's trying to print to the default and you apparently don't have one set. &lt;BR /&gt;You can check with lpstat -d.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 19 Nov 2002 17:19:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-error-message/m-p/2848056#M92695</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-11-19T17:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Printing error message</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-error-message/m-p/2848057#M92696</link>
      <description>Take a look at file /usr/spool/lp/default. This file has the default printer name defined on the system. It needs to have the right permission/ownership, otherwise you would get the error you're seeing.&lt;BR /&gt;Perm= 644&lt;BR /&gt;ownership= lp:lp&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Nov 2002 17:22:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-error-message/m-p/2848057#M92696</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-11-19T17:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Printing error message</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-error-message/m-p/2848058#M92697</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;You need default destination to be set up.&lt;BR /&gt;Pick a printer from /var/spool/lp/request or create printer queue of your choice from sam.&lt;BR /&gt;And then set your default destination to it:&lt;BR /&gt;lpadmin -dPRINTER_QUEUE_NAME&lt;BR /&gt;check with lpstat -d&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;Oleg</description>
      <pubDate>Tue, 19 Nov 2002 18:56:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-error-message/m-p/2848058#M92697</guid>
      <dc:creator>Oleg Zieaev_1</dc:creator>
      <dc:date>2002-11-19T18:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Printing error message</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/printing-error-message/m-p/2848059#M92698</link>
      <description>Actually, I would never set a default printer except on a simple single user workstation. The reason is that typical Unix servers have dozens to hundreds of users and the 'correct' printer is the closest one.&lt;BR /&gt;&lt;BR /&gt;If users forget to include the -d option, the printout goes to the default printer leaving the user to wonder why nothing printer on their favorite printer...and they *ALWAYS* print the file again (and again, and again) before they figure out the problem.&lt;BR /&gt;&lt;BR /&gt;You can fix this problem very easily: no default printer *AND* put this in every user's .profile:&lt;BR /&gt;&lt;BR /&gt;export LPDEST=LPDESTisNOTsetup&lt;BR /&gt;&lt;BR /&gt;Now, when anyone tries to print using lp without the -d option, they will get an error message something like:&lt;BR /&gt;&lt;BR /&gt;No such printer: LPDESTisNOTsetup&lt;BR /&gt;&lt;BR /&gt;rather than piling multiple copies of their print jobs on the poor default printer.</description>
      <pubDate>Wed, 20 Nov 2002 04:04:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/printing-error-message/m-p/2848059#M92698</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-11-20T04:04:38Z</dc:date>
    </item>
  </channel>
</rss>

