Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.sbin/lpr



Module Name:    src
Committed By:   garbled
Date:           Tue Jan 17 19:11:13 UTC 2006

Modified Files:
        src/usr.sbin/lpr/common_source: common.c lp.h
        src/usr.sbin/lpr/lpd: printjob.c
        src/usr.sbin/lpr/lpr: lpr.1 lpr.c

Log Message:
Fix PR bin/14247
This PR claims that MacOSX 10.1 cannot print postscript files to a NetBSD
lpd because the mac will tag the file with an "o" for postscript, which
we do not handle.  Rather than simply mapping o -> f as was done in the
PR, or mapping o -> l as was done in FreeBSD, I have implemented full
support for the "o" option.  If a postscript filter does not exist in the
printcap file however, it will default to "l" handling.

With this change, you can now specify a "pf" or postscript filter in your
printcap, and have it handle postscript files sent to it with "lpr -o".

The "o" format in lpd is specified in RFC1179 as being a valid format flag.


To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 src/usr.sbin/lpr/common_source/common.c
cvs rdiff -r1.19 -r1.20 src/usr.sbin/lpr/common_source/lp.h
cvs rdiff -r1.44 -r1.45 src/usr.sbin/lpr/lpd/printjob.c
cvs rdiff -r1.16 -r1.17 src/usr.sbin/lpr/lpr/lpr.1
cvs rdiff -r1.32 -r1.33 src/usr.sbin/lpr/lpr/lpr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index