diff --git a/usr.sbin/lpr/lpr/lpr.c b/usr.sbin/lpr/lpr/lpr.c index 6a1a099603bc..1cdb374ed02b 100644 --- a/usr.sbin/lpr/lpr/lpr.c +++ b/usr.sbin/lpr/lpr/lpr.c @@ -320,7 +320,7 @@ main(argc, argv) seteuid(uid); card('H', host); card('P', person); - if (hdr) { + if (hdr && !pp->no_header) { if (jobname == NULL) { if (argc == 0) jobname = "stdin";