]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - share/examples/printing/hpif
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / share / examples / printing / hpif
1 #!/bin/sh
2 #
3 # hpif - Simple text input filter for lpd for HP-PCL based printers
4 # Installed in /usr/local/libexec/hpif
5 #
6 # Simply copies stdin to stdout.  Ignores all filter arguments.
7 # Tells printer to treat LF as CR+LF. Writes a form feed character
8 # after printing job.
9
10 printf "\033&k2G" && cat && printf "\f" && exit 0
11 exit 2