Chris Green wrote:
On Sat, Feb 05, 2005 at 10:56:12PM +0000, Ian bell wrote:
You also need to make sure this script runs BEFORE the cups daemon is started.
Yes, I have done that too. In /etc/rc.d/rc.M:-
# Start the HP driver hplip. if [ -x /etc/rc.d/rc.hplip ]; then /etc/rc.d/rc.hplip restart fi # Start the print spooling system. This will usually be LPD or CUPS. if [ -x /etc/rc.d/rc.cups ]; then # Start CUPS: /etc/rc.d/rc.cups start elif [ -x /usr/sbin/lpd ]; then # Start LPD: echo "Starting the line printer daemon: /usr/sbin/lpd" /usr/sbin/lpd fi
I know you realise this works only if the printer is switched on and connected to the PC when the PC is turned on. And I assume you have a suitable ppd file and saved it in the /usr/share/cups/model/ directory? If you have done all this and it still does not work I am at a loss to see why.
Ian