summaryrefslogtreecommitdiffstats
path: root/share/examples/printing/if-simpleX
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1997-01-02 22:47:46 +0000
committerwosch <wosch@FreeBSD.org>1997-01-02 22:47:46 +0000
commitd7f28ed2dacccb02325aa5ffd24d319cf838c4f7 (patch)
treeef16fd22f6bdb83df08f2c5f243403f4098be2e6 /share/examples/printing/if-simpleX
parentae3a5816ec07e11de79e8b2a5f9cedf02a1205f5 (diff)
downloadFreeBSD-src-d7f28ed2dacccb02325aa5ffd24d319cf838c4f7.zip
FreeBSD-src-d7f28ed2dacccb02325aa5ffd24d319cf838c4f7.tar.gz
printing examples, automatically generated from
src/share/doc/handbook/printing.sgml with src/tools/tools/epfe/epfe.pl
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 0000000..c14b4a2
--- /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
OpenPOWER on IntegriCloud