BBB File /etc/lprng/banner

From Wiki
Jump to: navigation, search

This is the "banner" we print at the end of a print job. The little thermal printer I'm using requires bumping the paper two lines so it's above the tear bar. The /etc/lprng/printcap file determines where the banner script, and where it's printed.

Note that we shell out to /bin/echo because the built-in shell echo doesn't handle the "-e" option.

/bin/echo -e "\n\n"