Change printer spooler settings on HPUX (137 Views)
Reply
Regular Advisor
Paul Maglinger
Posts: 173
Registered: ‎05-11-2007
Message 1 of 6 (137 Views)

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?
Honored Contributor
Dave Hutton
Posts: 579
Registered: ‎11-14-2003
Message 2 of 6 (137 Views)

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
Paul Maglinger
Posts: 173
Registered: ‎05-11-2007
Message 3 of 6 (137 Views)

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
Dave Hutton
Posts: 579
Registered: ‎11-14-2003
Message 4 of 6 (137 Views)

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
OldSchool
Posts: 3,372
Registered: ‎09-09-2004
Message 5 of 6 (137 Views)

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
Dave Hutton
Posts: 579
Registered: ‎11-14-2003
Message 6 of 6 (137 Views)

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.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.