I found the solution at
http://www.anzio.com/support/whitepapers/printguide.htm
This solution works well for text files. But how do I print PDF files to a local printer?
The solution to print text files to a local printer is as follows...
1. Create a shell script containing the following three lines (using your editor of choice):
tput mc5
cat $*
tput mc4
2. Make that shell script executable. For instance, if this script is named "passprt", do
chmod +x passprt
3. If you have "root" permission, copy the shell script somewhere that everyone can access it, such as:
cp passprt /usr/bin
To use it, simply "pipe" your output to it. From a shell level, for instance, if you have a textfile named "somefile", you can do:
cat somefile | passprt