I know exactly how to set up the printer on my machine. What I haven't figured out is how to keep the installation intact between boots. So far, I have had to reinstall the printer every time I boot up.

I am aware that the command "export PRINTER=lp" command needs to be in /home/dsl/.bashrc (contrary to what the book and the printerhowto.pdf file instruct) , and you need to be NON-ROOT in order to make this change. I found that this command is automatically executed during bootup when in the /home/dsl/.bashrc file but is NOT executed during bootup when in the /opt/bootlocal.sh file .

Where does the "/usr/sbin/lpd" command need to go given that the bootup process seems to ignore the /opt/bootlocal.sh file?

I've gone through the file and symlinks, and the installation process doesn't involve any critical files/directories other than the ones we're supposed to enter in /home/dsl/.filetool.lst .

I checked /home/dsl/.xfiletool.lst , and nothing seems amiss here. None of those three files are included.

I have noticed that while opt/printcap and opt/apsfilter do save through reboots, var/spool/lpd/lp does not .

So that tells me that the var/spool/lpd/lp directory gets deleted at some point in the powerdown or bootup process. Can anyone here point me to the files that provide the instructions for these processes?

I have noticed that while opt/printcap and opt/apsfilter do save through reboots, var/spool/lpd/lp does not .

So that tells me that the var/spool/lpd/lp directory gets deleted at some point in the powerdown or bootup process. Can anyone here point me to the files that provide the instructions for these processes?

The "var" directory is used for files that change while the system is running.

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.