🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #14354

Printer port problems

#14354
From: milo
Date: Fri, 06 Feb 1987 18:18
19 lines
1450 bytes
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
Technical Details
Message-ID: <184@ndmath.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!ihnp4!inuxc!iuvax!ndmath!milo

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!ihnp4!inuxc!iuvax!ndmath!milo
From: milo@ndmath.UUCP
Newsgroups: comp.sys.mac
Subject: Printer port problems
Message-ID: <184@ndmath.UUCP>
Date: Fri, 6-Feb-87 13:18:51 EST
Article-I.D.: ndmath.184
Posted: Fri Feb  6 13:18:51 1987
Date-Received: Sun, 8-Feb-87 01:23:16 EST
Organization: Math. Dept., Univ. of Notre Dame
Lines: 19
Keywords: serial, ram driver