> In 2.0.x, my printer (hooked up to the first parallel port) is
> /dev/lp1. In 2.1.x (2.1.65, to be specific), it is /dev/lp0. This
> means that I must edit my printcap every time I boot up with a
> different kernel version.
>
> Suggestions on how to fix this?
>
Use /dev/lp in the printcap. Make /dev/lp a symlink to /dev/lp[01]
depending on kernel using:
if [ "2.1" = `echo \`uname -r\` | cut -f 1,2 -d .` ] ; then
ln -sf /dev/lp0 /dev/lp
else
ln -sf /dev/lp1 /dev/lp
fi
-- Shaw Carruthers - shaw@shawc.demon.co.uk London SW14 7JW UK This is not a sig( with homage to Magritte).