Introduction
This filter provides advanced printing features and a plug-in interface for user created printing features. With vendor provided PPD files the filter is capable of supporting hundreds of PostScript printers. 
The ppdof filter will process both PostScript and text files. Preformatted files, files containing printer control sequences, are printed as if you had entered the command lpr -x. 
Lpr options
Option	Description	
-I[name] 	Input Tray Name	
-K2 	Duplex (Two sided) Printing	
-N# 	Number-Up Printing (Requires plug-in file) 	
-o[name] 	Output Tray Name	
-w# 	Page Width in characters	
-Obm=#	Bottom margin in inches. eg:-Obm=0.5 *	
-Ocpi=#	Characters per inch *	
-Ocopies=#	Make multiple copies of each page	
-Oeven	Only print even sheets.	
-Ofs=#	Font size in points *	
-Olines=# 	Number of lines per page	
-Olpi=#	Lines per inch *	
-Olm=#	Left margin in inches. eg:-Olm=0.5 *	
-Oodd	Only print odd sheets.	
-Opm=#	Page margins (all sides) in inches. eg:-Opm=0.5 *	
-Opn=#	Print page number in lower left corner of page	
-Oppdoption=ppdvalue	Options provided by ppd file.	
-Opages=startpage:endpage	Print only the pages from startpage to endpage. 	
-Orm=#	Right margin in inches. eg:-Orm=0.5 *	
-Otm=#	Top margin in inches. eg:-Otm=0.5 *	
* Option only available for text files. 
Other features are available and can be accessed by using the -O switch. The -O switch can be specified after the filter name in the printcap file or by the command `lpr -O'. As of V5.0 multiple -O options are allowed. Prior to V5.0 lpr can only accept one lpr -O option and has a 32 character limitation. When using a pre V5.0 system specify the -O options after the filter name in the printcap file. 
The PPD or RPD file defines additional features for a printer. Enter the following command to print a page listing the additonal options provided by the file. 
lpr -Pprinter -OPrint /etc/motd 
or 
lpr -Pprinter -OOptions=Print /etc/motd 
The file /etc/motd is discarded. 
Installation
        > cp ppdof.exe /usr/lbin/ppdof
        > chmod 755 /usr/lbin/ppdof
        > chown bin /usr/lbin/ppdof
        > chgrp bin /usr/lbin/ppdof
	>
	> mkdir /usr/lbin/ppd
	> cp file.ppd /usr/lbin/ppd
	> chmod 644 /usr/lbin/ppd/file.ppd
        > chown bin /usr/lbin/ppd/file.ppd
        > chgrp bin /usr/lbin/ppd/file.ppd
Configuring a printcap entry.
Use lprsetup to create the basic framework for the printcap entry. Select printer type ln08. 
Edit the printcap entry and make the following changes: 
	:if=/usr/lbin/ppdof +Cfile.ppd:\
	:of=/usr/lbin/ppdof +Cfile.ppd:\
	:pw#0:\
Where file.ppd is the name of the PPD file in /usr/lbin/ppd for your printer. eg: ln17.ppd 
Printcap changes for specifying A4 paper. 
	:if=/usr/lbin/ppdof +OPageSize=A4 +Cfile.ppd:\
	:of=/usr/lbin/ppdof +OPageSize=A4 +Cfile.ppd:\
	:pw#0:\
The paper sizes are listed in the print out provided by the command 'lpr -OPrint /etc/motd'. 
Printcap Options:
Option	Description	
+I 	Default input tray name.	
+o 	Default output tray name.	
+B 	Default Banner tray name.	
+T 	Default Trailer tray name.	
+1 	Banner page font for user name.	
+2 	Banner page font for banner page text.	
+f 	Banner page underlayment PostScript file in /usr/lbin. File must not contain showpage and ctrl-d character.	
+C 	PPD file for printer. Additional +C's can be added for .pfo files.	
+Obm_l=#	Bottom margin in landscape. *	
+Obm_p=#	Bottom margin in portrait. *	
+OCaseSensitive	Make filter and PPD options case sentitive.	
+Ocpi_l=#	Characters per inch in landscape. *	
+Ocpi_p=#	Characters per inch in portrait. *	
+Ofs_l=#	Font size in landscape. *	
+Ofs_p=#	Font size in portrait. *	
+Olpi_l=#	Lines per inch in landscape. *	
+Olpi_p=#	Lines per inch in portrait. *	
+Olm_l=#	Left margin in landscape. *	
+Olm_p=#	Left margin in portrait. *	
+Opm_l=#	Page margins (all sides) in landscape. *	
+Opm_p=#	page margins (all sides)in portrait. *	
+Orm_l=#	Right margin in landscape. *	
+Orm_p=#	Right margin in portrait. *	
+Otm_l=#	Top margin in landscape. *	
+Otm_p=#	Top margin in portrait. *	
+OOption=Value 	As specified by the ppd file.	
lpr option 	Most of the lpr options can be specified.	
* Option only available for text files. 
Printcap snipit example:
    :if=/usr/lbin/ppdof +IUpper +Otm_p=1.0 +Cln17.ppd:\
    :of=/usr/lbin/ppdof +BLower +flogo.ps +1Helvetica-Bold +Cln17.ppd:\