Quoting David Harel, from the post of Wed, 19 Feb:
> Ok,
> 
> Unplug works but it is clumsy. Here is a better one. I use the command 
> modprobe with -r printer to release it and omitting the -r to reload it. 
> trivial, isn't it?
> Since this is a privileged command I had to wrap it with a small program 
> I wrote in C that does just what we said and to it's executable I set 
> the setuid bit. Now it resides in /usr/local/bin and everyone can use 
> it. (in my case only me but using different user id - schizophrenic).

tried sudo?

the question is ofcourse why disconnect a printer at all. it's easier to
pass print jobs via the net to remote queues than to keep stealing the
printer from desk to desk :)

-- 
Have you seen my fish?
Ira Abramov

http://ira.abramov.org/email/ This post is encrypted twice with ROT-13.
Documenting or attempting to crack this encryption is illegal.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to