# # http://www.jeepster.org.uk/bits/quickies2.html # First a script to switch to cups, you could save this as gocups #!/bin/bash cd /usr/bin rm lp lp-lprng lpq lpr lprm lpstat ln -s lpstat-cups lpstat ln -s lprm-cups lprm ln -s lpr-cups lpr ln -s lpq-cups lpq ln -s lp-cups lp cd /etc/rc.d ./rc.lprng stop (this stops lprng) chmod -x rc.lprng chmod +x rc.cups (this starts CUPS) ./rc.cups start Second a script to switch to lprng, you could save this as golprng #!/bin/bash cd /usr/bin rm lp lp-lprng lpq lpr lprm lpstat ln -s lpstat-lprng lpstat ln -s lprm-lprng lprm ln -s lpr-lprng lpr ln -s lpq-lprng lpq ln -s lpr lp-lprng ln -s lp-lprng lp cd /etc/rc.d ./rc.cups stop (this stops lprng) chmod -x rc.cups chmod +x rc.lprng (this starts CUPS) ./rc.lprng start # # # End of file