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
4d86e0f603
commit
8439699cca
@ -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