summaryrefslogtreecommitdiff
path: root/print/magicfilter/files/printcap.sample
diff options
context:
space:
mode:
Diffstat (limited to 'print/magicfilter/files/printcap.sample')
-rw-r--r--print/magicfilter/files/printcap.sample55
1 files changed, 55 insertions, 0 deletions
diff --git a/print/magicfilter/files/printcap.sample b/print/magicfilter/files/printcap.sample
new file mode 100644
index 000000000000..d92bb108fc72
--- /dev/null
+++ b/print/magicfilter/files/printcap.sample
@@ -0,0 +1,55 @@
+# @(#)printcap 5.3 (Berkeley) 6/30/90
+# $Id: printcap,v 1.9 1998/02/04 12:09:06 ache Exp $
+
+#
+# This enables a simple local "raw" printer, hooked up to the first
+# parallel port. No kind of filtering is done, so everything you
+# pass to the "lpr" command will be printed unmodified.
+#
+# Remember, for further print queues you're going to add, you have to
+# chose different spool directories (the "sd" capability below),
+# otherwise you will greatly confuse lpd.
+#
+# For some advanced printing, have a look at the "apsfilter" package.
+# It plugs into the lpd system, allowing you to print a variety of
+# different file types by converting everything to PostScript(tm)
+# format. If you don't have a PostScript(tm) printer, don't panic,
+# but do also install the "ghostscript" package.
+#
+# Do also refer to section 7 (Printing) of the handbook. A local copy
+# can be found under /usr/share/doc/handbook/handbook.{html,latin1}.
+#
+# Banner pages are now suppressed by default. Remove the :sh:
+# capability to turn them back on.
+#
+# ############### For magic filter users: #################
+# Inserting magicfilter into /etc/printcap is very easy. First,
+# select apropriate filter for your printer, and insert that filter
+# into 'if' filter capability.
+# For detail, refer to section 7.6.1(Printing/Filters) of the handbook.
+# The following sample is for HP Laserjet 4/5/6 printers.
+#
+# 1999/3/24 CHOI Junho <cjh@kr.freebsd.org>
+# #########################################################
+#
+lp|local line printer:\
+ :sh:\
+ :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:\
+ :if=/usr/local/libexec/magicfilter/ljet4-filter:
+#
+# Sample remote printer. The physical printer is on machine "lphost".
+# NB: you cannot perform any kind of local filtering directly. If
+# you need local filters (e.g. LF -> CR-LF conversion for HP printers),
+# create a filter script that recursively calls lpd with another -P
+# argument after filtering.
+#
+#remote|sample remote printer:\
+# :sh:\
+# :rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs:
+#
+# Simple Russian printer with hardware CP866 character set, output filter
+# used for KOI8-R -> CP866 conversion
+#
+#lp|Russian local line printer:\
+# :sh:of=/usr/libexec/lpr/ru/koi2alt:\
+# :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: