<?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: restrict access to a printer in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-access-to-a-printer/m-p/2607681#M35368</link>
    <description>..or you can modify /var/spool/lp/sinterface/&lt;PRINTER_NAME&gt; script ... to control user access to &lt;PRINTER_NAME&gt;.&lt;BR /&gt;&lt;BR /&gt;my 2cents&lt;/PRINTER_NAME&gt;&lt;/PRINTER_NAME&gt;</description>
    <pubDate>Mon, 05 Nov 2001 21:04:36 GMT</pubDate>
    <dc:creator>S.K. Chan</dc:creator>
    <dc:date>2001-11-05T21:04:36Z</dc:date>
    <item>
      <title>restrict access to a printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-access-to-a-printer/m-p/2607678#M35365</link>
      <description>I don't believe this can be done in HPUX but I hope someone can prove me wrong.&lt;BR /&gt;&lt;BR /&gt;Can access to a printer be restricted to specific users?&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Mon, 05 Nov 2001 20:05:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-access-to-a-printer/m-p/2607678#M35365</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-11-05T20:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: restrict access to a printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-access-to-a-printer/m-p/2607679#M35366</link>
      <description>Hi Darrell:&lt;BR /&gt;&lt;BR /&gt;Some versions of UNIX have an lpadmin -p printer -u allow:user1,user2 (or -u deny:user1,user) option that does just what you want but HP-UX is not among them. However, it should be possible via a little scripting to rename /usr/bin/lp to /usr/bin/lp2 and have /usr/bin/lp do the user list lookups and then call /usr/bin/lp2.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Nov 2001 20:20:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-access-to-a-printer/m-p/2607679#M35366</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-11-05T20:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: restrict access to a printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-access-to-a-printer/m-p/2607680#M35367</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;  There is no such provision&lt;BR /&gt;for the native LP commands&lt;BR /&gt;in HP-ux.  You can write&lt;BR /&gt;a wrapper for the lp command&lt;BR /&gt;which will check for users&lt;BR /&gt;before proceeding to execute&lt;BR /&gt;the lp command&lt;BR /&gt;&lt;BR /&gt;-raj</description>
      <pubDate>Mon, 05 Nov 2001 20:39:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-access-to-a-printer/m-p/2607680#M35367</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-11-05T20:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: restrict access to a printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-access-to-a-printer/m-p/2607681#M35368</link>
      <description>..or you can modify /var/spool/lp/sinterface/&lt;PRINTER_NAME&gt; script ... to control user access to &lt;PRINTER_NAME&gt;.&lt;BR /&gt;&lt;BR /&gt;my 2cents&lt;/PRINTER_NAME&gt;&lt;/PRINTER_NAME&gt;</description>
      <pubDate>Mon, 05 Nov 2001 21:04:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-access-to-a-printer/m-p/2607681#M35368</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2001-11-05T21:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: restrict access to a printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/restrict-access-to-a-printer/m-p/2607682#M35369</link>
      <description>Hi everyone,&lt;BR /&gt;&lt;BR /&gt;Thanks for the replies.  S.K., I believe that should be /var/spool/lp/interface directory.&lt;BR /&gt;&lt;BR /&gt;All good ideas that can work.  The basic problem is that users don't always choose the printer they should.  Wish I could upgrade them so that they would.&lt;BR /&gt;&lt;BR /&gt;After thinking about it further, there's a problem with the whole printer restriction issue:  processing is performed to prepare print data before it is sent to lp.  For example, our application (Mfg/Pro) has printer queues defined which in turn call lp.  Long running reports would generate a print file that would be sent to a printer that wouldn't allow it to print.  Even if I identify the spooled print file, I have no way of knowing what printer the user really should be using.  Scripting to prompt for another printer choice would be a maintenance issue that I don't believe is worth the effort.  I might could notify the user that his output could not be printed but he'd have to re-run the report.&lt;BR /&gt;&lt;BR /&gt;In this case, I really need for the application to do pre-processing verification of the user's access to the printer specified.  Oh well.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Tue, 06 Nov 2001 15:16:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/restrict-access-to-a-printer/m-p/2607682#M35369</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-11-06T15:16:03Z</dc:date>
    </item>
  </channel>
</rss>

