aboutsummaryrefslogtreecommitdiff
path: root/share/examples/printing/if-simpleX
diff options
context:
space:
mode:
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