# # # staircase-if.sh < /etc/printcap | lpr -Php8100 # # # StairStep filter ( if=/usr/local/bin/lpfilter ) # ===================== # # chmod 755 /usr/local/bin/lpfilter # # #!/bin/sh # # Treat LF as CR+LF # printf "\033&k2G" && cat && exit 0 # exit 2 # # # #!/bin/sh # # # if [ "$1" = -c ]; then # cat # else # sed -e s/$/^M/ # fi # # the "echo -ne" assumes that /bin/sh is really bash # echo -ne \\f # # # end of file