Operating System - HP-UX
1849206 Members
6835 Online
104041 Solutions
New Discussion

Re: Restrict printer to specific group

 
David Peacock
Frequent Advisor

Restrict printer to specific group

Is there a way to allow only one group of users to print on a specific print queue?



veni, vidi, vmstat
2 REPLIES 2
Bill Hassell
Honored Contributor

Re: Restrict printer to specific group

There is nothing in HP-UX to perform this task, although it is a fairly common request as it seems everyone wants to print on the color LaserJet. I call it: Social engineering by computer. You would have to modify the print queue's printer script in /etc/lp/interface. You could provide a simple ASCII file in /etc/lp for each group of user ID's and then inside the print script, bail out early (with a normal completion) when the wrong user sends a job.

Note: this *ONLY* works for local user that login to the HP-UX box and print using the lp subsystem. If users are printing from PCs and using HP-UX as a server, it gets more complicated to find a way to identify these users.


Bill Hassell, sysadmin
Fragon
Trusted Contributor

Re: Restrict printer to specific group

I am amazed that since HP know this lacuna, why not add this function to HP-UX?

-Gerald-