I wrote a script to temporarly lock our line printer using lpadmin -u
allow:username . the script is accessable from anyone and basically just
disables the printer. it sometimes needs to be locked because some departments
print on special forms. there are some problems though :
1. when the printer is disabled other requests are rejected instead of queued.
is there any way that the requests can be queued or spooled until the printer
is made available again?
2. our background queue in symix runs as root so any background que will
override the lock which defeats the purpose. is there any way that root could
be denied access to over ride a disabled printer?
3. if someone doesn't pay attention to the script they won't see that the
printer is locked for another user and may try to lock it for themself. is
there any way once a printer is locked by a user it can only be unlocked by
that same user or root?
please reply by e-mail,
thanks