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:
parent
163e2cc7af
commit
160325d6e6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user