diff options
author | Wolfram Schneider <wosch@FreeBSD.org> | 1997-01-02 22:47:46 +0000 |
---|---|---|
committer | Wolfram Schneider <wosch@FreeBSD.org> | 1997-01-02 22:47:46 +0000 |
commit | f5bc5997b24114f383586d72086ad33c5031e895 (patch) | |
tree | ef16fd22f6bdb83df08f2c5f243403f4098be2e6 /share/examples/printing/hpif | |
parent | c13b19be64e4516f29da6154371b2dedfd2939be (diff) | |
download | src-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/hpif | 11 |
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 |