lprng and tty's
-----BEGIN PGP SIGNED MESSAGE-----
I have a problem making lprng work with a printer attached to a serial
line. First I had to change the permission to root.lp, this was simple and
sensible IMHO. But then it refuses to print, only sometimes the old needle
printer spews out a few characters or a newline.
I tried to fiddle with the :ty=: settings in /etc/printcap, but to no
avail. Just cat file > /dev/ttyS3 works just fine.
This is the output of stty -a < /dev/ttyS3:
speed 9600 baud; rows 24; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
- -parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
- -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
- -iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
I now print to /dev/null using a filter that cat's to /dev/ttyS3, but this
is a bad workaround.
Old lpr had no problems just specifying lp=/dev/ttyS3
What did I do wrong?
Nils
- --
\ / | Nils Rennebarth
--* WINDOWS 42 *-- | Schillerstr. 61
/ \ | 37083 Göttingen
| ++49-551-71626
Micro$oft's final answer | http://www.nus.de/~nils
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
iQB1AwUBM3H7pVptA0IhBm0NAQGVdwMAnKWcJVmzMoxkZeh5i91BP1UGQrVopYrS
ZjGX0l1TS+b8U4xOBDYJ/VxS2ZOTCbOZ9QuO/VfrcCM/t91TeQauE0dN202Fqpd8
i1HObHDnapKxD+nhB4ni9Ii/6UcBWhPu
=Fq3V
-----END PGP SIGNATURE-----
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: