diff options
author | joerg <joerg@FreeBSD.org> | 1995-01-08 18:01:11 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1995-01-08 18:01:11 +0000 |
commit | 3fcd556a98576d6fb2e33185eb175bae49b129e8 (patch) | |
tree | 848500d8e44c058bba354dabad4640cd7e66dbee /usr.sbin/lpr/lpd | |
parent | f927c40d96b406300eff7194b4eb9a9fce494523 (diff) | |
download | FreeBSD-src-3fcd556a98576d6fb2e33185eb175bae49b129e8.zip FreeBSD-src-3fcd556a98576d6fb2e33185eb175bae49b129e8.tar.gz |
Use the "-F" option to /bin/pr now that we have it (thanks to Posix).
This helps for printers that tend to get out of sync. (For the
cautious folks: we used to have it in 1.1.5, too. But GNU pr used
"-f" for it.)
Diffstat (limited to 'usr.sbin/lpr/lpd')
-rw-r--r-- | usr.sbin/lpr/lpd/printjob.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/lpr/lpd/printjob.c b/usr.sbin/lpr/lpd/printjob.c index 87c9352..889741e 100644 --- a/usr.sbin/lpr/lpd/printjob.c +++ b/usr.sbin/lpr/lpd/printjob.c @@ -529,7 +529,8 @@ print(format, file) av[2] = length; av[3] = "-h"; av[4] = *title ? title : " "; - av[5] = 0; + av[5] = "-F"; + av[6] = 0; fo = ofd; goto start; } @@ -540,7 +541,7 @@ print(format, file) for (n = 3; n < NOFILE; n++) (void) close(n); execl(_PATH_PR, "pr", width, length, - "-h", *title ? title : " ", 0); + "-h", *title ? title : " ", "-F", 0); syslog(LOG_ERR, "cannot execl %s", _PATH_PR); exit(2); } |