blob: 69f1f34c55fdd67987a6351e1ec3c2f4c051bd4f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
#
# hpif - Simple text input filter for lpd for HP-PCL based printers
# Installed in /usr/local/libexec/hpif
#
# Simply copies stdin to stdout. Ignores all filter arguments.
# Tells printer to treat LF as CR+LF. Writes a form feed character
# after printing job.
printf "\033&k2G" && cat && printf "\f" && exit 0
exit 2
|