summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/common_source
diff options
context:
space:
mode:
authorgad <gad@FreeBSD.org>2001-11-27 01:32:25 +0000
committergad <gad@FreeBSD.org>2001-11-27 01:32:25 +0000
commit158a111b03114700fdc210ce50cd62123f65e670 (patch)
treeb64eb0d5c4349ff3a42a352be893ff037b8bb157 /usr.sbin/lpr/common_source
parent7f6c9afbd1183c1ab2abb2b0e9793db77c42ca09 (diff)
downloadFreeBSD-src-158a111b03114700fdc210ce50cd62123f65e670.zip
FreeBSD-src-158a111b03114700fdc210ce50cd62123f65e670.tar.gz
Change the recently-added 'o'-processing so it maps to 'l' instead of 'f'.
'l' ("plain text which includes control characters") is somewhat more appropriate for 'o' ("postscript files"), and in fact some printers treat 'l' as a request to print a postscript file. MFC after: 1 week
Diffstat (limited to 'usr.sbin/lpr/common_source')
-rw-r--r--usr.sbin/lpr/common_source/ctlinfo.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/lpr/common_source/ctlinfo.c b/usr.sbin/lpr/common_source/ctlinfo.c
index 6d08025..1249a4b 100644
--- a/usr.sbin/lpr/common_source/ctlinfo.c
+++ b/usr.sbin/lpr/common_source/ctlinfo.c
@@ -193,13 +193,15 @@ __END_DECLS
* g - "file name", plot(1G) file to print, ie 'lpr -g'
* l - "file name", text file with control chars which should
* be printed literally, ie 'lpr -l' (note: some printers
- * take this id as a request to print a postscript file)
+ * take this id as a request to print a postscript file,
+ * and because of *that* some OS's use 'l' to indicate
+ * that a datafile is a postscript file)
* n - "file name", ditroff(1) file to print, ie 'lpr -n'
* o - "file name", a postscript file to print. This id is
* described in the original RFC, but not much has been
* done with it. This 'lpr' does not generate control
* lines with 'o'-actions, but lpd's printjob processing
- * will treat it the same as 'f'.
+ * will treat it the same as 'l'.
* p - "file name", text file to print with pr(1), ie 'lpr -p'
* t - "file name", troff(1) file to print, ie 'lpr -t'
* v - "file name", plain raster file to print
OpenPOWER on IntegriCloud