Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Change printer spooler settings on HPUX

Paul Maglinger
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
Dave Hutton
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.
Paul Maglinger
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.
Dave Hutton
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.


OldSchool
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)

Dave Hutton
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.