Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!yale!cs.yale.edu!spolsky-joel From: spolsky-joel@CS.Yale.EDU (Joel Spolsky) Newsgroups: comp.sys.ibm.pc.programmer Subject: Programming HP Plotters over RS-232 Message-ID: <20621@cs.yale.edu> Date: 29 Mar 90 03:29:44 GMT Sender: news@cs.yale.edu Reply-To: spolsky-joel@CS.Yale.EDU (Joel Spolsky) Organization: Yale University Computer Science Dept, New Haven CT 06520-2158 Lines: 21 Hi yall, a quick question; we've got this HP Plotter attached to COM1 (over RS232) and I have tried to program it with plotter = fopen("COM1"); fprintf (plotter, "..."); but every once in a while some buffer overflows and I get nasty DOS "Write error on COM1, Abort Retry Ignore Fail" messages scribbled all over my otherwise extremely beautiful VGA graphic screen. What am I doing wrong? Do I have to write my own routines to write one character at a time to the UART and check when it is ready for another? will this solve my problem at all? or is there an easier way? Many thanks, +----------------+----------------------------------------------------------+ | Joel Spolsky | bitnet: spolsky@yalecs.bitnet uucp: ...!yale!spolsky | | | internet: spolsky@cs.yale.edu voicenet: 203-436-1538 | +----------------+----------------------------------------------------------+ #include