aboutsummaryrefslogtreecommitdiff
path: root/share/examples/printing/if-simpleX
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/if-simpleX
parentc13b19be64e4516f29da6154371b2dedfd2939be (diff)
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/if-simpleX')
-rw-r--r--share/examples/printing/if-simpleX10
1 files changed, 10 insertions, 0 deletions
diff --git a/share/examples/printing/if-simpleX b/share/examples/printing/if-simpleX
new file mode 100644
index 000000000000..c14b4a25d12b
--- /dev/null
+++ b/share/examples/printing/if-simpleX
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# if-simple - Simple text input filter for lpd
+# Installed in /usr/local/libexec/if-simple
+#
+# Simply copies stdin to stdout. Ignores all filter arguments.
+# Writes a form feed character (\f) after printing job.
+
+/bin/cat && printf "\f" && exit 0
+exit 2