summaryrefslogtreecommitdiff
path: root/print/magicfilter/files/printcap.sample
blob: 45df63c57561605195fd5eb92ce6e8aab287505d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#	@(#)printcap	5.3 (Berkeley) 6/30/90
# $FreeBSD$

#
# 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: