acpi: Narrow workaround for broken interrupt settings
[dragonfly.git] / share / examples / printing / hpif
blob69f1f34c55fdd67987a6351e1ec3c2f4c051bd4f
1 #!/bin/sh
3 # hpif - Simple text input filter for lpd for HP-PCL based printers
4 # Installed in /usr/local/libexec/hpif
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.
10 printf "\033&k2G" && cat && printf "\f" && exit 0
11 exit 2