This is a multi-part message in MIME format.
Before I closelier considered the story mentioned in the other thread, I already brought over the changes OpenBSD made for foomatic-ability, modifying them for netbsd-4-RELEASE. I guess they'll apply to HEAD as well. I successfully tested them briefly, so find them attached. Regards, -- Dennis den Brok
Index: usr.sbin/lpr/SMM.doc/5.t =================================================================== RCS file: /cvsroot/src/usr.sbin/lpr/SMM.doc/5.t,v retrieving revision 1.3 diff -u -r1.3 5.t --- usr.sbin/lpr/SMM.doc/5.t 7 Aug 2003 11:25:24 -0000 1.3 +++ usr.sbin/lpr/SMM.doc/5.t 24 Jan 2008 21:40:18 -0000 @@ -69,7 +69,7 @@ .B if filter is passed the following parameters. .DS -\fIfilter\fP [\|\fB\-c\fP\|] \fB\-w\fPwidth \fB\-l\fPlength \fB\-i\fPindent \fB\-n\fP login \fB\-h\fP host accounting_file +\fIfilter\fP [\|\fB\-c\fP\|] \fB\-w\fPwidth \fB\-l\fPlength \fB\-i\fPindent \fB\-n\fP login \fB\-j\fP jobname \fB\-h\fP host accounting_file .DE The .B \-c @@ -93,10 +93,13 @@ parameters specify the login name and host name of the job owner. The last argument is the name of the accounting file from .IR printcap . +The +.B \-j +parameter is optional and specifies the name of the print job if available