Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!ews00461 From: ews00461@uxa.cso.uiuc.edu Newsgroups: comp.sys.mac.programmer Subject: Serial print ? Message-ID: <227700053@uxa.cso.uiuc.edu> Date: 3 Feb 90 10:36:17 GMT Lines: 22 Nf-ID: #N:uxa.cso.uiuc.edu:227700053:000:843 Nf-From: uxa.cso.uiuc.edu!ews00461 Jan 30 12:44:00 1990 I simply want to dump a text file to the serial port at 9600 baud or so. My reading of IM II makes this look rather simple, but I *think* I'm having overflow errors on some buffer. After opening the driver and the text file, I read a buffer full from the text file. The number of characters I read here is one parameter I have tried to vary (any suggestions?). Then I FSWrite this buffer to the serial port and go back through the loop immediately. Is there some way to check to see if the port is actually ready for another block of data ? My problem manifests itself through a nasty beep from the printer (a DecWriter) and garbage text later in the printout. I opened the Driver through OpenDriver, not RamSDOpen. I am using the modem port. My program works fine for small files. Thanks in advance... Eric W Sink e-sink@uiuc.edu