Installing a printer using cups and foomatic took me quite a while. The problem was that by default, foomatic-rip tries to use /usr/bash, and I hadn't installed bash. So foomatic didn't work. It seems to work with ash just fine, so I see two solutions:
1. Make foomatic-rip depend on bash.
2. Repackage foomatic-rip so that looks for /usr/ash instead of /usr/bash.
I prefer the latter.
I did this:
Create a file /usr/local/etc/foomatic/filter.conf that reads:
preferred_shell: /bin/ash
Put "usr/local/etc/foomatic/filter.conf" in /opt/.filetool.lst
This works fine.