<?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: Cancel Print Jobs... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545992#M224099</link>
    <description>Actually - for hppi printers, the script to modify is:&lt;BR /&gt;&lt;BR /&gt;/opt/hpnpl/admin/addptrtoq&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
    <pubDate>Tue, 17 May 2005 10:26:48 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2005-05-17T10:26:48Z</dc:date>
    <item>
      <title>Cancel Print Jobs...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545983#M224090</link>
      <description>Hello There...&lt;BR /&gt;We are facing problems using a "users's menu" on a HPUX 11i machine...&lt;BR /&gt;The users log on the System and through the "menu" they have access to do the thing... One thing the should do is to cancel print requests...&lt;BR /&gt;Well... We don't want to give these users high privileges. The problems is that can't cancel print requests if they are not the owner of the job...&lt;BR /&gt;This message is displayed:&lt;BR /&gt;&lt;BR /&gt;"Job xxx not cancelled: Not Owner"&lt;BR /&gt;&lt;BR /&gt;These users have a prymary group and as secondary group we put them on the "lp" group, so they should cancel the jobs don't you think?&lt;BR /&gt;&lt;BR /&gt;Do you know what can I do?&lt;BR /&gt;Please help me!&lt;BR /&gt;&lt;BR /&gt;Thanks a lot,&lt;BR /&gt;&lt;BR /&gt;Rafael M. Braga</description>
      <pubDate>Tue, 17 May 2005 06:56:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545983#M224090</guid>
      <dc:creator>Rafael Mendonça Braga</dc:creator>
      <dc:date>2005-05-17T06:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Print Jobs...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545984#M224091</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/" target="_blank"&gt;http://hpux.connect.org.uk/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;get sudo&lt;BR /&gt;&lt;BR /&gt;Then sudoers with this command can do it&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This is the only way&lt;BR /&gt;&lt;BR /&gt;    Steve Steel&lt;BR /&gt;</description>
      <pubDate>Tue, 17 May 2005 07:04:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545984#M224091</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2005-05-17T07:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Print Jobs...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545985#M224092</link>
      <description>Hi Rafael,&lt;BR /&gt;&lt;BR /&gt;How about a restricted sam session for oyur user ?&lt;BR /&gt;&lt;BR /&gt;start sam -r and add the tasks printers and plottersto your user.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Tue, 17 May 2005 07:05:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545985#M224092</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-05-17T07:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Print Jobs...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545986#M224093</link>
      <description>Hi,&lt;BR /&gt;SInce your users are using a "users menu" driven system, install sudo and create an lpgroup with all your users in then write the script you want the users to use with root privilege using sudo&lt;BR /&gt;Add it to your menu script with syntax e.g&lt;BR /&gt;/usr/local/bin/sudo -u root -c "&lt;YOUR script=""&gt;&lt;/YOUR&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Tue, 17 May 2005 07:14:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545986#M224093</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2005-05-17T07:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Print Jobs...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545987#M224094</link>
      <description>Hello Guys... Thanks for the answers, but let me try to explain why we can't follow your advices...&lt;BR /&gt;&lt;BR /&gt;Steve:&lt;BR /&gt;In our company, the sudo is not homologated to this machine where we are facing the problems...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Robert-Jan:&lt;BR /&gt;I gave this suggestion to the guys that take care of security administration on the server and they refused this...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Anyway, Thanks a lot!!!&lt;BR /&gt;&lt;BR /&gt;More tips?!&lt;BR /&gt;&lt;BR /&gt;Rafael M. Braga</description>
      <pubDate>Tue, 17 May 2005 07:15:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545987#M224094</guid>
      <dc:creator>Rafael Mendonça Braga</dc:creator>
      <dc:date>2005-05-17T07:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Print Jobs...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545988#M224095</link>
      <description>If printer queues are created with lpadmin option '-orc' then users will be able to cancel their jobs only.&lt;BR /&gt;&lt;BR /&gt;-orc Restricts users to canceling only their own requests. Default is to not restrict the cancel command.&lt;BR /&gt;&lt;BR /&gt;If printer queue is remote printer queue then you can recreate the queue with lpadmin omitting -orc option.&lt;BR /&gt;&lt;BR /&gt;If printer queue is network printer queue created with JetDirect, then you can modify /opt/hpnpl/admin/exportvars.ksh as follows&lt;BR /&gt;&lt;BR /&gt;Change&lt;BR /&gt;      CANCELOPT="-orc"&lt;BR /&gt;to&lt;BR /&gt;      CANCELOPT=""&lt;BR /&gt;&lt;BR /&gt;and recreate network printer queue.</description>
      <pubDate>Tue, 17 May 2005 07:21:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545988#M224095</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-05-17T07:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Print Jobs...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545989#M224096</link>
      <description>Hello!!!&lt;BR /&gt;&lt;BR /&gt;All the printer queues are remote...&lt;BR /&gt;&lt;BR /&gt;Ermin, is there a way to know if they were created with the "-orc" option, or I will have to recreated them omitting this option to test if it will help me?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Rafael M. Braga</description>
      <pubDate>Tue, 17 May 2005 07:37:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545989#M224096</guid>
      <dc:creator>Rafael Mendonça Braga</dc:creator>
      <dc:date>2005-05-17T07:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Print Jobs...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545990#M224097</link>
      <description>Rafael,&lt;BR /&gt;You should be able to tell us how /(and maybe why..) you created these printers in such way, that is NOT accepting HPUX defaults (all users can remove...).&lt;BR /&gt;If you didnt use exotic options then I would suspect the limitations coming from outer-HPUX &lt;BR /&gt;You say the are remote, are they novel queues?&lt;BR /&gt;(In that case the novell team has the answer...)&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Tue, 17 May 2005 07:51:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545990#M224097</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2005-05-17T07:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Print Jobs...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545991#M224098</link>
      <description>I think this information is stored in one of the binary files in /var/spool/lp and I'm not sure how to check.&lt;BR /&gt;&lt;BR /&gt;You can simply create a test queue with&lt;BR /&gt;&lt;BR /&gt;# lpshut&lt;BR /&gt;# lpadmin -p&lt;LOCAL_PRINTER_NAME&gt; -v/dev/null -mrmodel -orm&lt;REMOTE_MACHINE&gt; -orp&lt;REMOTE_PRINTER_NAME&gt; -ocmrcmodel -osmrsmodel&lt;BR /&gt;# lpsched&lt;BR /&gt;&lt;BR /&gt;and verify that without -orc option anyone can cancel print jobs.&lt;/REMOTE_PRINTER_NAME&gt;&lt;/REMOTE_MACHINE&gt;&lt;/LOCAL_PRINTER_NAME&gt;</description>
      <pubDate>Tue, 17 May 2005 08:01:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545991#M224098</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-05-17T08:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Print Jobs...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545992#M224099</link>
      <description>Actually - for hppi printers, the script to modify is:&lt;BR /&gt;&lt;BR /&gt;/opt/hpnpl/admin/addptrtoq&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 17 May 2005 10:26:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545992#M224099</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-05-17T10:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Print Jobs...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545993#M224100</link>
      <description>You may want to revisit the sudo utility. In addition to providing a solution for this issue right here, there are lots of other issues it can be used for as well.&lt;BR /&gt;&lt;BR /&gt;I am attaching a quick and dirty perl script that was provided for the helpdesk personnel. They do not have the extra system rights and they do not want/need. They can cancel any print job thru the use of sudo.&lt;BR /&gt;&lt;BR /&gt;I have not received 1 request to cancel a print job since!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 May 2005 11:29:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545993#M224100</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-05-17T11:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Print Jobs...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545994#M224101</link>
      <description>Guys...&lt;BR /&gt;I created a printer queue using the SAM utility...&lt;BR /&gt;I used it because I asked the guy who created the queues that are with problems how he didi it.... He told me that he used SAM...&lt;BR /&gt;So I used SAM too... There I found an option:&lt;BR /&gt;&lt;BR /&gt;"[ ] Allow Anyone to Cancel a Request"&lt;BR /&gt;&lt;BR /&gt;Then I deleted and recreated one of the queues with problem... And set this option to true...&lt;BR /&gt;Now it's working!!&lt;BR /&gt;&lt;BR /&gt;I have one more question!&lt;BR /&gt;&lt;BR /&gt;Is there a way to modify the queue without the needing of deletes and recreate it?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Rafael M. Braga&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 May 2005 14:22:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545994#M224101</guid>
      <dc:creator>Rafael Mendonça Braga</dc:creator>
      <dc:date>2005-05-17T14:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cancel Print Jobs...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545995#M224102</link>
      <description>Rafael - not that I'm aware of - as far as changing...I've been investigating myself...&lt;BR /&gt;&lt;BR /&gt;Interesting thing is, with hppi, if invoked via the TUI, it adds a printer like so:&lt;BR /&gt;&lt;BR /&gt;lpadmin -pW052 -v/dev/null -i/opt/hpnpl/sh/net_genericprinter&lt;BR /&gt;&lt;BR /&gt;Via the command line, it uses the addqueue command.&lt;BR /&gt;&lt;BR /&gt;lpadmin makes use of the CANCELOPT="" in the addptrtoq script....&lt;BR /&gt;&lt;BR /&gt;Seems to be no way to pass the info to the addqueue command...&lt;BR /&gt;&lt;BR /&gt;Also - I can NOT find anything in the /etc/lp/interface/&lt;QUEUENAME&gt; that stipulates whether or not CANCELOPT is used...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;&lt;/QUEUENAME&gt;</description>
      <pubDate>Tue, 17 May 2005 16:07:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cancel-print-jobs/m-p/3545995#M224102</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-05-17T16:07:49Z</dc:date>
    </item>
  </channel>
</rss>

