serial problem, the sequel [Macintosh serial printing]
I try to set up the serial printer port on a Macintosh 630.
# cat text.txt > /dev/ttyS1 makes the printer to load a page and print
some garbage on the beginning of the very fist line. like
some of them are white on a black background.
the result of
$ lpr postcsriptfile.ps
is looking quite close, but the printer spoils several sheets one after
As the symptoms are the same with both commands, I suspect the serial
I set a
# stty 57600 raw -echo crtscts < /dev/ttyS1
before any attemp of printing, as I was advised.
then # stty -a < /dev/ttyS1 gives
speed 57600 baud; rows 0; columns 0; 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
-opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
-isig -icanon iexten -echo echoe echok -echonl -noflsh -xcase -tostop
As this may be fine (and I wrong), here is an other clue, my printcap
file, generated by magicfilter for a hp520:
# This file was generated by /usr/sbin/magicfilterconfig.