Joined: Mar. 2007
||Posted: Aug. 09 2008,22:27
|Quote (roberts @ Aug. 07 2008,16:15)|
|var/spool/lpd should be in your /opt/.filetool.lst and is a automatic by product of using apsfileter. Unless, of course, you fail to properly shutdown your machine or have modified this process. As during a normal shutdown, if an apsfiler printer setup was attempted you are prompted to save the setting, including var/spool/lpd (see /usr/local/bin/exitcheck.sh)|
If your question is now how do I start lpd, then it can be added as a boot time option of lp to your boot time configuration file, be it grub, lilo, syslinux.cfg, etc. Or you can add the fullpath command to /opt/bootlocal.sh.
I have a frugal installation, but I never get the prompt asking me if I want to save my printer setting when I shut down. Setting up the printer does not cause the /tmp/printer.flag file to appear.
I have found that bootlocal.sh commands are executed by root while the "export PRINTER=lp" command needs to be executed by user dsl. So that means that the command "su dsl" must be added before "export PRINTER=lp" in the bootlocal.sh file.
kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm nodma noscsi frugal home=hda3 opt=hda3 restore=hda3 root=hda3