What is the recommended shell program to use for printing? Is there a default script?
None exists, each one will work differently on different files. There is no fix all. With that said you can try using 'lp' and 'lpr'. Read the manpage of each for more details.
$ lp
$ lpr
Get a list of printers:
$ lpstat -p
Set default printer:
$ lpoptions -d <printer_name>
/var/lib/dokuwiki/data/pages/answered_questions.txt · Last modified: 2014/11/25 18:18 by kauffman