System Administration
Showing results for 
Search instead for 
Do you mean 

Change printer spooler settings on HPUX

Regular Advisor

Change printer spooler settings on HPUX

Whenever you are setting up a new printer in HPUX11.23, you can set the option to "Allow anyone to cancel". After the printer is set up, is there a way to change that setting or do you have to recreate the printer?
5 REPLIES
Honored Contributor Honored Contributor

Re: Change printer spooler settings on HPUX

It looks like maybe the lpadmin command can do it.

The help on that option in sam kinda says this:
Allow Anyone to Cancel a Request
Use this toggle to allow users to cancel other users' print requests.
The default (toggle not set) is that a user can only cancel his or her
own print requests. This choice uses the lpadmin -orc command option
(see HP-UX Reference entry lpadmin(1M)).
To allow any user to cancel any other user's print requests, set the
toggle to its ON state. This choice does not use the lpadmin -orc
command option (the default for lpadmin is to not restrict the cancel
command).

Sorry if the formatting is off.
Regular Advisor

Re: Change printer spooler settings on HPUX

But that appears to be when setting up a new printer. I want to change the option "Allow anyone to cancel" after the printer has already been created.
Honored Contributor Honored Contributor

Re: Change printer spooler settings on HPUX

Did you try?

#lpadmin -pprintername -orcy

or -orcn to not?

You have to stop the schedualer.


Honored Contributor Honored Contributor

Re: Change printer spooler settings on HPUX

1) yes, lpadmin applies only to creating queues (AFAIK)

2) orc is, I believe, restricted to "remote" printer only (not local queues)

Honored Contributor Honored Contributor

Re: Change printer spooler settings on HPUX

It seems to at least not error when I run it on a queue that was already created.