<?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: Remove 'restrict cancel' feature from a print queue? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-restrict-cancel-feature-from-a-print-queue/m-p/4514845#M366267</link>
    <description>Hmm, nothing is obvious from the man pages.  How did you notice the -orc, you couldn't cancel it?&lt;BR /&gt;I couldn't see the info from lpstat -t.&lt;BR /&gt;&lt;BR /&gt;If you are on 11.31 (or possibly later?), you can do:&lt;BR /&gt;lpadmin -pprinter -orc n&lt;BR /&gt;But you have to stop the spooler.  (This doesn't seem to be true on 11.31?)&lt;BR /&gt;&lt;BR /&gt;Perhaps there you just use: lpadmin -pprinter</description>
    <pubDate>Fri, 16 Oct 2009 07:58:21 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-10-16T07:58:21Z</dc:date>
    <item>
      <title>Remove 'restrict cancel' feature from a print queue?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-restrict-cancel-feature-from-a-print-queue/m-p/4514844#M366266</link>
      <description>&lt;!--!*#--&gt;Have a HP-UX 11.23 box with around 300 Jetdirect printers setup.&lt;BR /&gt;I've just noticed that one of those queues has been setup with the restricted cancel option on (equivalent of 'lpadmin -orc') which means that only the owner of the print job can cancel the job.&lt;BR /&gt;&lt;BR /&gt;Therefore I have a couple of questions that man pages and Google haven't answered...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1. Is it possible to remove this option from a queue without recreating the queue?&lt;BR /&gt;&lt;BR /&gt;2. Also I want to find out how many of our printers have been setup this way, how can I see whether a printer has this option set?&lt;BR /&gt;&lt;BR /&gt;Chz</description>
      <pubDate>Thu, 15 Oct 2009 10:44:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-restrict-cancel-feature-from-a-print-queue/m-p/4514844#M366266</guid>
      <dc:creator>Vince Pooley</dc:creator>
      <dc:date>2009-10-15T10:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Remove 'restrict cancel' feature from a print queue?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-restrict-cancel-feature-from-a-print-queue/m-p/4514845#M366267</link>
      <description>Hmm, nothing is obvious from the man pages.  How did you notice the -orc, you couldn't cancel it?&lt;BR /&gt;I couldn't see the info from lpstat -t.&lt;BR /&gt;&lt;BR /&gt;If you are on 11.31 (or possibly later?), you can do:&lt;BR /&gt;lpadmin -pprinter -orc n&lt;BR /&gt;But you have to stop the spooler.  (This doesn't seem to be true on 11.31?)&lt;BR /&gt;&lt;BR /&gt;Perhaps there you just use: lpadmin -pprinter</description>
      <pubDate>Fri, 16 Oct 2009 07:58:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-restrict-cancel-feature-from-a-print-queue/m-p/4514845#M366267</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-10-16T07:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remove 'restrict cancel' feature from a print queue?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-restrict-cancel-feature-from-a-print-queue/m-p/4514846#M366268</link>
      <description>&lt;!--!*#--&gt;I noticed the restriction after I had written a script for our helpdesk staff so they can view and cancel print jobs.&lt;BR /&gt;&lt;BR /&gt;The script uses 'cancel' to cancel a job, yesterday I was made aware that they couldn't cancel jobs on one specific queue.&lt;BR /&gt;When I tried with the cancel command I got the following error...&lt;BR /&gt;&lt;BR /&gt;   request "printername-1234" not cancelled: not owner&lt;BR /&gt;&lt;BR /&gt;... so I had to cancel it as root.&lt;BR /&gt;&lt;BR /&gt;However I may have found a workaround but as yet I'm unsure of it's success as it just one print queue.&lt;BR /&gt;Otherwise I haven't found any definitive way of finding out if cancel restrictions has been set on a queue.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Anyway this workaround I think I've found is to do with a variable I found in /hpnpl/admin/exportvars.ksh. If run it exports some printer related variables, one being the CANCELOPT variable which the script declared as...&lt;BR /&gt;&lt;BR /&gt;    CANCELOPT="-orc"&lt;BR /&gt;&lt;BR /&gt;... however I don't think this script ever gets run.&lt;BR /&gt;&lt;BR /&gt;I've done a little test this morning and added...&lt;BR /&gt;&lt;BR /&gt;    CANCELOPT=""&lt;BR /&gt;&lt;BR /&gt;... to my script disabled the print queue, queued up a bunch of jobs on it and the helpdesk staff was able to cancel my print jobs.&lt;BR /&gt;Any clarifications of the validity of this variable would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Fri, 16 Oct 2009 08:26:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-restrict-cancel-feature-from-a-print-queue/m-p/4514846#M366268</guid>
      <dc:creator>Vince Pooley</dc:creator>
      <dc:date>2009-10-16T08:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Remove 'restrict cancel' feature from a print queue?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-restrict-cancel-feature-from-a-print-queue/m-p/4514847#M366269</link>
      <description>&amp;gt;CANCELOPT="" Any clarifications of the validity of this variable would be appreciated.&lt;BR /&gt;&lt;BR /&gt;It this is being passed to lpadmin to recreate the printer, this may undo the -orc as I suggested.&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Oct 2009 08:38:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-restrict-cancel-feature-from-a-print-queue/m-p/4514847#M366269</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-10-16T08:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Remove 'restrict cancel' feature from a print queue?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-restrict-cancel-feature-from-a-print-queue/m-p/4514848#M366270</link>
      <description>If you are root you can cancel the Q using this short way&lt;BR /&gt;&lt;BR /&gt;go to &lt;BR /&gt;&lt;BR /&gt;#cd /var/spool/lp/request/&lt;BR /&gt;&lt;BR /&gt;Here you will find the printer name for example lpexample&lt;BR /&gt;&lt;BR /&gt;#cd lpexample&lt;BR /&gt;&lt;BR /&gt;Here you will get some file like .sendingstatus and .remotestatus as well some file for printer q. If you remove that files your printer q will go.&lt;BR /&gt;&lt;BR /&gt;for safe you can take backup of that directory.</description>
      <pubDate>Fri, 16 Oct 2009 08:48:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-restrict-cancel-feature-from-a-print-queue/m-p/4514848#M366270</guid>
      <dc:creator>kamaleswaran</dc:creator>
      <dc:date>2009-10-16T08:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Remove 'restrict cancel' feature from a print queue?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-restrict-cancel-feature-from-a-print-queue/m-p/4514849#M366271</link>
      <description>Thanks kamaleswaran but I know how to cancel a print job, that's not what my query is about.</description>
      <pubDate>Mon, 19 Oct 2009 12:43:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-restrict-cancel-feature-from-a-print-queue/m-p/4514849#M366271</guid>
      <dc:creator>Vince Pooley</dc:creator>
      <dc:date>2009-10-19T12:43:36Z</dc:date>
    </item>
  </channel>
</rss>

