Hi,
I observed some kind of “not-so-very-nice” behavior of lpsrvr when trying to
print empty files.
Assume a rather minimal /etc/config/lpsrvr configuration like
[txt]
ta=foo
[-foo]
dv=/dev/par1
which works fine for any non-empty text file. Now I start lpsrvr and do:
$ cat > /dev/spool/txt
^D
$
lpsrvr will now display the error message: “SP1.1: No such file or
directory”
(where “1.1” will be increasing when the experiment is repeated).
I’ve now been fiddling around for a while with the lpsrvr configuration in
order to always supply an existing input file, but to no avail.
Is there any help (besides not printing empty files)?
Thanks,
Thomas
–
Thomas Haupt
Helmholtzstr. 11
D-04177 Leipzig
thaupt arcor de