aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/common_source
diff options
context:
space:
mode:
authorGarance A Drosehn <gad@FreeBSD.org>2001-09-20 01:04:50 +0000
committerGarance A Drosehn <gad@FreeBSD.org>2001-09-20 01:04:50 +0000
commit626fb2a6fa2e35326a8ed6c761f0a22be84a696a (patch)
tree44e62bd6f0f310000d35c8425423e8f005ab64e1 /usr.sbin/lpr/common_source
parent06fdffd84dfdcdb48ce6f1e98e8405f4b38154f6 (diff)
Notes
Diffstat (limited to 'usr.sbin/lpr/common_source')
-rw-r--r--usr.sbin/lpr/common_source/ctlinfo.c30
1 files changed, 18 insertions, 12 deletions
diff --git a/usr.sbin/lpr/common_source/ctlinfo.c b/usr.sbin/lpr/common_source/ctlinfo.c
index 5665154705a4..6d0802519a29 100644
--- a/usr.sbin/lpr/common_source/ctlinfo.c
+++ b/usr.sbin/lpr/common_source/ctlinfo.c
@@ -183,20 +183,26 @@ __END_DECLS
*
* The following indicate actions to take on a given datafile. The same
* datafile may appear on more than one "print this file" command in the
- * control file. Note that ALL ids with lowercase letters are commands
- * to "print this file":
+ * control file. Note that ALL ids with lowercase letters are expected
+ * to be actions to "print this file":
*
- * f - "file name", a plain-text file to print
- * l - "file name", text file with control chars to print (some
- * printers recognize this id as a request to print a
- * postscript file)
- * p - "file name", text file to print with pr(1)
- * t - "file name", troff(1) file to print
- * n - "file name", ditroff(1) file to print
- * d - "file name", dvi file to print
- * g - "file name", plot(1G) file to print
+ * c - "file name", cifplot file to print. This action appears
+ * when the user has requested 'lpr -c'.
+ * d - "file name", dvi file to print, user requested 'lpr -d'
+ * f - "file name", a plain-text file to print = "standard"
+ * 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)
+ * 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'.
+ * 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
- * c - "file name", cifplot file to print
*
* U - "file name" of datafile to unlink (ie, remove file
* from spool directory. To be done in a 'Pass 2',