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

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)