1 .TH PSF 8 "17 Dec 1991" "netatalk 1.2"
3 psf \- PostScript filter
28 filter for PostScript printing.
30 interprets the name it was called with to determine what filters to
31 invoke. First, if the string ``pap'' appears anywhere in the name,
35 to talk to a printer via AppleTalk. Next, if the string ``rev'' appears,
39 to reverse the pages of the job. Finally, if
41 was called with a filter's name as the leading string, it invokes that
42 filter. If there is no filter to run,
44 examines the magic number of the input, and if the input is not
45 PostScript, converts it to PostScript.
47 In the default configuration,
49 supports two kludges. The first causes
51 to check its name for the letter `m'. If this letter is found and accounting
56 twice, once to get an initial page count and to print the job, and
57 another time to get a final page count. This is a work-around for bugs
58 in a variety of PAP implementions that cause printers to never properly
59 close the PAP output file. A notable example is any printer by
62 The second kludge causes
64 to examine its name for the letter `w'. If this letter is found and
65 accounting is turned on,
71 flag. This flag causes
73 to wait until the printer's status contains the string `idle'. Once
74 this string is found, the job is printed as normal. This kludge is a
75 work-around for printers, notably Hewlett-Packard's LaserJet IV, which
76 will report a page count while a previous jobs is still printing.
82 to print text files, PostScript files,
86 DVI output, to an AppleTalk connected LaserWriter Plus. Since the
87 LaserWriter Plus stacks pages in descending order, we reverse the pages
88 and print the burst page last.
92 laser|lp|LaserWriter Plus on AppleTalk:\\
93 :sd=/usr/spool/lpd/laser:\\
94 :lp=/usr/spool/lpd/laser/null:\\
95 :lf=/var/adm/lpd-errs:pw#80:hl:\\
96 :of=:LIBEXECDIR:/ofpap:\\
97 :if=:LIBEXECDIR:/ifpaprev:\\
98 :tf=:LIBEXECDIR:/tfpaprev:\\
99 :df=:LIBEXECDIR:/dfpaprev:
103 Note that if the host in question spools to more than one AppleTalk
106 should not be used for the
108 capability. Instead, a null device should be created with
110 for each printer, as has been done above.
112 Finally, there is a file in the spool directory,
113 .BR /var/spool/lpd/laser ,
118 reads for the AppleTalk name of the printer.