print spool directory filling up

Juergen Nagler Juergen.Nagler at student.uni-ulm.de
Fri Aug 11 09:22:52 GMT 2000


> Wouldn't that be better modelled with the command:
> 
> print command = /usr/bin/lpr  -P%p -r %s && rm %s
>                                          ^^
> 
> which, a least as far as I know, only will do rm %s if the first
> command is succesfull? (if lpr has sane return values, that is!)

But who will remove the file if the first command failed. I think it's
better using ; so the file will be removed in any case. No Windows-User
will care where the files were spooled if printing failed somehow. Just
my 2 cents.


Juergen


More information about the samba-ntdom mailing list