[comp.sys.mac] Printer port problems

milo@ndmath.UUCP (02/06/87)

In  a program I am working on I am having trouble getting the RAM serial driver
to open the printer port properly.  When the program starts it does a
RAMsdopen on the modem port and sets the speeds...etc.  This works fine.

When the user asks the program to switch to the printer port I do a RAMsdclose
on the modem port, then a RAMsdopen on the printer port.  Both of those calls
return without error, BUT when I try and do anything to the printer port like
set speeds I get a "device not open" error.  Switching back to the modem port
again works fine, using the same close/open process.

Anybody have any ideas why the printer port isn't working right?  Before you
suggest it...I have appletalk turned OFF and there is NO imagwriter or other
printer driver on the disk.

The only thing I can think of is that the port has to be opened by the device
manager open before RAMsdopen will work...does that make any sense to anyone?

Greg Corson
...seismo!iuvax!kangaro!milo