diff options
author | wpaul <wpaul@FreeBSD.org> | 1995-07-31 13:59:45 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1995-07-31 13:59:45 +0000 |
commit | 8169a9d300540831666cae03b26a062efb5e28c2 (patch) | |
tree | 50be18063d1e47e5df8431797a25f29ba57a52d4 /usr.sbin/lpr | |
parent | 9b39baf16c840dc5f3fdd08306c956894cdc45e8 (diff) | |
download | FreeBSD-src-8169a9d300540831666cae03b26a062efb5e28c2.zip FreeBSD-src-8169a9d300540831666cae03b26a062efb5e28c2.tar.gz |
The other day someone brought me an old Apple Laserwriter II with a serial
interface set at 57600 baud, and I found out the hard way that lpd doesn't
know about speeds greater than 38400, even though <sys/ttydev.h> also
permits 57600 and 115200 baud. Fix this by adding B57600 and B115200 to the
'bauds' table. (The Apple printer worked properly once I did this, BTW. :)
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r-- | usr.sbin/lpr/lpd/printjob.c | 2 | ||||
-rw-r--r-- | usr.sbin/lpr/runqueue/printjob.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/lpr/lpd/printjob.c b/usr.sbin/lpr/lpd/printjob.c index 9341c7d..a719b55 100644 --- a/usr.sbin/lpr/lpd/printjob.c +++ b/usr.sbin/lpr/lpd/printjob.c @@ -1298,6 +1298,8 @@ struct bauds { 9600, B9600, 19200, EXTA, 38400, EXTB, + 57600, B57600, + 115200, B115200, 0, 0 }; diff --git a/usr.sbin/lpr/runqueue/printjob.c b/usr.sbin/lpr/runqueue/printjob.c index 9341c7d..a719b55 100644 --- a/usr.sbin/lpr/runqueue/printjob.c +++ b/usr.sbin/lpr/runqueue/printjob.c @@ -1298,6 +1298,8 @@ struct bauds { 9600, B9600, 19200, EXTA, 38400, EXTB, + 57600, B57600, + 115200, B115200, 0, 0 }; |