<?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: Model scripts for printers in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/model-scripts-for-printers/m-p/2880628#M100837</link>
    <description>I did use the latest hppi program to add all the printers and the permissions on the node are ok. It's typical that only certain printers will always have the same error. It's very bizarre.&lt;BR /&gt;&lt;BR /&gt;Keep the suggestions coming, I'm still trying to figure it out.&lt;BR /&gt;&lt;BR /&gt;cheers,&lt;BR /&gt;martin</description>
    <pubDate>Tue, 14 Jan 2003 14:16:55 GMT</pubDate>
    <dc:creator>Martin Bourgie</dc:creator>
    <dc:date>2003-01-14T14:16:55Z</dc:date>
    <item>
      <title>Model scripts for printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/model-scripts-for-printers/m-p/2880625#M100834</link>
      <description>When you create a printer you get a model script uner /etc/lp/interface/model.orig. When I send a job to a printer I get the following message in /var/adm/lp/log&lt;BR /&gt;-&amp;gt; "/etc/lp/interface/model.orig/c10w2h9[4886]: /caro.out: Cannot create the specified file."&lt;BR /&gt;&lt;BR /&gt;now c10w2h10 is the printname and it's trying to write to a file in slash. When I view the script this is when it's being called. &lt;BR /&gt;-&amp;gt; "# ********** Start sending bytes out  ****************&lt;BR /&gt;echo"start sending bytes"&amp;gt;&amp;gt;/caro.out&lt;BR /&gt;"&lt;BR /&gt;&lt;BR /&gt;I wandering what it's being used for and how to correct this problem???&lt;BR /&gt;&lt;BR /&gt;cheers,</description>
      <pubDate>Mon, 13 Jan 2003 19:03:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/model-scripts-for-printers/m-p/2880625#M100834</guid>
      <dc:creator>Martin Bourgie</dc:creator>
      <dc:date>2003-01-13T19:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Model scripts for printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/model-scripts-for-printers/m-p/2880626#M100835</link>
      <description>This looks like a non-standard model/interface script.&lt;BR /&gt;&lt;BR /&gt;Which model script (i.e. name) did you install?&lt;BR /&gt;&lt;BR /&gt;Where did you get that model script from?&lt;BR /&gt;&lt;BR /&gt;Does "caro" mean anything to you? (It does not to me.)&lt;BR /&gt;&lt;BR /&gt;In any case, post the first 20 or so lines of the interface script (/etc/lp/interface/model.orig/c10w2h9) or attach the complete script.</description>
      <pubDate>Tue, 14 Jan 2003 09:45:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/model-scripts-for-printers/m-p/2880626#M100835</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2003-01-14T09:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Model scripts for printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/model-scripts-for-printers/m-p/2880627#M100836</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;check permissions of /var/adm/lp/log.&lt;BR /&gt;&lt;BR /&gt;# ll /var/adm/lp/log&lt;BR /&gt;-rw-r--r--   1 lp         lp              33 Nov 19 19:15 /var/adm/lp/log&lt;BR /&gt;&lt;BR /&gt;Regards ...&lt;BR /&gt;Armin</description>
      <pubDate>Tue, 14 Jan 2003 09:57:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/model-scripts-for-printers/m-p/2880627#M100836</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2003-01-14T09:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Model scripts for printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/model-scripts-for-printers/m-p/2880628#M100837</link>
      <description>I did use the latest hppi program to add all the printers and the permissions on the node are ok. It's typical that only certain printers will always have the same error. It's very bizarre.&lt;BR /&gt;&lt;BR /&gt;Keep the suggestions coming, I'm still trying to figure it out.&lt;BR /&gt;&lt;BR /&gt;cheers,&lt;BR /&gt;martin</description>
      <pubDate>Tue, 14 Jan 2003 14:16:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/model-scripts-for-printers/m-p/2880628#M100837</guid>
      <dc:creator>Martin Bourgie</dc:creator>
      <dc:date>2003-01-14T14:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Model scripts for printers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/model-scripts-for-printers/m-p/2880629#M100838</link>
      <description>The problem is that the scheduler runs as lp, and as such, it's unable to write to the root directory.&lt;BR /&gt;&lt;BR /&gt;To me, it looks like a message that someone added in order to debug the interface script while it was being developed, but which is probably not needed now.&lt;BR /&gt;&lt;BR /&gt;The solution is either to change the model script to put the log elsewhere if you want to keep it (/var/tmp or /tmp would be best), or to just comment the line &lt;BR /&gt;&lt;BR /&gt;echo"start sending bytes"&amp;gt;&amp;gt;/caro.out &lt;BR /&gt;&lt;BR /&gt;out of the script.&lt;BR /&gt;&lt;BR /&gt;If you decide to keep the log file,  you would probably want it to be more informative than just "start sending bytes" anyway.  I'd suggest that it was changed to &lt;BR /&gt;&lt;BR /&gt;echo "`date`:  start sending bytes"&lt;BR /&gt;&lt;BR /&gt;so that you know how often it's being used.  Another consideration is housekeeping.  The last thing you want to do is to fix one problem, and create another by filling up /var or /tmp.&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 14:32:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/model-scripts-for-printers/m-p/2880629#M100838</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2003-01-14T14:32:04Z</dc:date>
    </item>
  </channel>
</rss>

