Koozali.org: home of the SME Server
Legacy Forums => Suggestions => Topic started by: Mike on June 20, 2003, 09:45:44 AM
-
It would be nice to have the possibility to purge any printjobs from the server-manager for a specific printer in case of problems.
Right now I have the problem that someone installed a printer but has installed the wrong printerdriver.
The printer just keeps printing printercode and does not seem to stop doing that.
-
Take a look at http://wiki.contribs.org/weblinks/redirect.php?id=203
Maybe this helps.
Regards,
Jan
-
Have not tested it yet but if it works o.k. it should be standard in SME 6
-
LPRng works very well but cannot resolve one problem - if the /var/cache/samba/printing.tdb file is corrupted (due to power failure for example) then you can not print via Samba until this file is deleted (it automatically get recreated).
I setup a script that the client can use once logged in via Putty that resolves this issue - all it does is to shutdown lpd, delete the file, and restart lpd.
-
do you have a sample of the script? sounds like a good idea
-
There is a version of CUPS coming as well
doco is in the beta section of Robert Vandenaker's directory at contribs.org
http://mirror.contribs.org/smeserver/contribs/rvandenaker/beta/e-smith-cups/documentation/
TrevorB
-
I haven't had success with LPRng ... it keeps telling me that my attempts to clear the queue have failed. Haven't really dug into it; simpler to delete the printer & recreate it ... so far!
-
Place into /etc/e-smith/event/local a file (mine is called clearprinting_tdb) with the following:
service lpd stop
rm /var/cache/samba/printing.tdb
service lpd start
execute the following:
chmod 770 clearprinting_tdb
chown root:root clearprinting_tdb
.. this makes it owned by root and executable
Placing the file here means it is automatically executed every 12 hours. You could make it a cron job to control the execution time or just run it manually as required.