Change 'lpr' so -C (class) information is included in the control file

even for jobs or queues which will not print header (separator) pages.

Submitted by:	"Steve O'Hara-Smith" <steveo@eircom.net>
This commit is contained in:
Garance A Drosehn 2000-11-01 01:48:06 +00:00
parent 163e2cc7af
commit 160325d6e6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68149

View File

@ -326,6 +326,7 @@ main(argc, argv)
seteuid(uid);
card('H', host);
card('P', person);
card('C', class);
if (hdr && !pp->no_header) {
if (jobname == NULL) {
if (argc == 0)
@ -335,7 +336,6 @@ main(argc, argv)
? arg + 1 : argv[0]);
}
card('J', jobname);
card('C', class);
card('L', person);
}
if (format != 'p' && Zflag != 0)