aboutsummaryrefslogtreecommitdiff
path: root/share/examples/printing/hpif
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>1997-01-02 22:47:46 +0000
committerWolfram Schneider <wosch@FreeBSD.org>1997-01-02 22:47:46 +0000
commitf5bc5997b24114f383586d72086ad33c5031e895 (patch)
treeef16fd22f6bdb83df08f2c5f243403f4098be2e6 /share/examples/printing/hpif
parentc13b19be64e4516f29da6154371b2dedfd2939be (diff)
downloadsrc-f5bc5997b24114f383586d72086ad33c5031e895.tar.gz
src-f5bc5997b24114f383586d72086ad33c5031e895.zip
printing examples, automatically generated from
src/share/doc/handbook/printing.sgml with src/tools/tools/epfe/epfe.pl
Notes
Notes: svn path=/head/; revision=21240
Diffstat (limited to 'share/examples/printing/hpif')
-rw-r--r--share/examples/printing/hpif11
1 files changed, 11 insertions, 0 deletions
diff --git a/share/examples/printing/hpif b/share/examples/printing/hpif
new file mode 100644
index 000000000000..69f1f34c55fd
--- /dev/null
+++ b/share/examples/printing/hpif
@@ -0,0 +1,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