index.txt
LP(8) System Manager's Manual LP(8) NAME lp - PostScript preprocessors DESCRIPTION These programs are part of the lp(1) suite. Each corresponds to a process in the -pprocess option of lp and exists as an rc(1) script in /sys/lib/lp/process that provides an interface to a PostScript conver‐ sion program in /$cputype/bin/aux. The list of processors follows; af‐ ter each description is a bracketed list of lp options to which the processor responds: generic is the default processor. It uses file(1) to determine the type of input and executes the correct processor for a given (input, printer) pair. post passes PostScript through, adding option patches for paper tray information. This does not always work with PostScript gener‐ ated on other systems. noproc passes files through untouched. ppost converts UTF text to PostScript. [DLcfilmnorxy] dvipost converts tex(1) output to PostScript. [Lcinor] g3post converts CCITT Group 3 FAX data to PostScript. p9bitpost converts a Plan 9 bitmap such as /dev/window to PostScript. [Lm] tr2post converts troff(1) output for device UTF (the default) to Post‐ Script. [DLcimnorxy] hpost adds a header page to the beginning of a PostScript printer job so that it may be separated from other jobs in the output bin. The header has the image of the job's owner from the directory of faces (see face(6)). Page reversal is also done in this pro‐ cessor. SOURCE /sys/src/cmd/postscript SEE ALSO lp(1) BUGS The file command is not always smart enough to deal with certain file types. There are PostScript conversion programs that do not have pro‐ cessors to drive them. LP(8)