From f5bc5997b24114f383586d72086ad33c5031e895 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Thu, 2 Jan 1997 22:47:46 +0000 Subject: printing examples, automatically generated from src/share/doc/handbook/printing.sgml with src/tools/tools/epfe/epfe.pl --- share/examples/printing/hpif | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 share/examples/printing/hpif (limited to 'share/examples/printing/hpif') 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 -- cgit v1.2.3