> how about:
>
> /usr/bin/lpq -V 2>&1 | grep -q 'LPRng'
You don't know that /usr/bin/lpq exists at this stage, but this idea
could certainly be used.
Julian
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
Debian GNU/Linux Developer, see http://www.debian.org/~jdg