how to set up serial port paremeters for a serial printer?

how to set up serial port paremeters for a serial printer?

Post by Cheng-Tang L » Sat, 28 Jan 1995 08:50:19

The goal is to set up a link from my linux box to a serial PS printer
(Mac LaserWriter II WRT).  I have no trouble with /etc/printcap and the
input filter, and it's working currently.  However, it's using 9600 baud
and XON/XOFF handshake.  I'd like to change these to 57600, DSR/DTR or
ETX/ACK handshake (as I recall, XON/XOFF is good for baud <= 9600 only),
8 bit, none-parity, 1 stop bit.  I don't have problem in configuring the
printer part.  However, after I use
'setserial /dev/cua1 Baud_base 115200 spd_hi', the result of
'stty -a < /dev/cua1' still gives me the following result:

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 e*

THE SPEED IS STILL 9600.  One more thing is that I don't know how to control
handshake, data-length, parity, and stop-bit.  Can someone tell me what to

your response.



1. how to configure serial port for serial printer?


i have a serial postscript printer connected to serial port a
of my sparc clone.  I just need to know what all the serial
port settings need to be in order to print to it.  in admintool,
there are such settings as terminal type, login prompt, service,
and streams modules, as well as others which are either enabled
or disabled.  could some kind soul either tell me what they need
to be, or point me to a howto or faq?  i can't seem to find any
documents that address the process of serial printing in solaris.

< Jason Burnett                            University of Illinois >    

<                                                                 >
<--------------> <-------------->

2. Wabi fonts

3. serial console - lilo serial= no serial port input

4. Hi!

5. How to set up serial port when programming serial communication

6. Redhat 5.2 "undefined symbol __bzero"

7. Is there any large gig limitations for Redhat 6.1?

8. serial port on v490 and Serial port on StorEdge 3510

9. Serial port to serial port copying software

10. Send traffic from one serial port out to another serial port

11. Serial port to serial port with null modem cable

12. Serial port - to - serial port networking