Operating System - HP-UX
1832978 Members
2764 Online
110048 Solutions
New Discussion

Permissions for printing to a specific printer

 
Scott Mercer
New Member

Permissions for printing to a specific printer

HP UX 11i.....

I have a printer that is on a jet direct box that needs to be secured so that only one user can print to it. How would I accomplish that through HP UX 11i?
3 REPLIES 3
Geoff Wild
Honored Contributor

Re: Permissions for printing to a specific printer

Put it on a server where only that user has access?

With the native LP spooler, I don't think you can set security on printers - easily...

The LP model interface program does the actual printing on the device that is currently associated with the printer.

What you could do is modify that script and add code to check the user who submitted the job...

Rgds...Geoff


Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Dani Seely
Valued Contributor

Re: Permissions for printing to a specific printer

Hey Scott,
You could create a print group and only allow that user as a member of that group, then change the ownership of the print device to allow members of the print group to access. This would make it easy for an update in the future in case you need to replace printer access of this current user or add additional users.
Together We Stand!
RAC_1
Honored Contributor

Re: Permissions for printing to a specific printer

You can also define a environment varibale LPDEST for that user. You can put this in user's profile. But can be overridden
with lp -d "printer" coommand.

A idea of defining printer group is more suitable here.

Anil
There is no substitute to HARDWORK