--- Steve Palmer
its being run by the 'print command' within samba, with the printcap as 'lpstat'. I'm not sure whether you can do multiple lines of commands though. I've been sodding around with this CUPS/Samba setup for months now it seems ^_^
Ah..... "lpstat" is a shell program. Therefore, what you could do is be clever and do something like: alias lpstat_sleep='sleep 60s && lpstat' in your "/etc/bash_profile" file. Then source it . /etc/bash_profile Then change your SAMBA definition so that "printcap" now reads equal to "lpstat_alias". This'll then give you your 60 sec. delay. You'll have to modify the alias to suit your needs though. I'm sure there is an easier way, but this is perhaps a suitable fix for now :) HTH, -- Thomas Adam ===== Thomas Adam "The Linux Weekend Mechanic" -- www.linuxgazette.com __________________________________________________ Yahoo! Plus For a better Internet experience http://www.yahoo.co.uk/btoffer