home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!Sirius.dfn.de!chx400!ugun2b!ugun2a!zucker
- From: zucker@uni2a.unige.ch
- Newsgroups: comp.sys.amiga.programmer
- Subject: About CMD. Spooler needs help !
- Message-ID: <1992Jul31.142000.1498@uni2a.unige.ch>
- Date: 31 Jul 92 12:20:00 GMT
- Organization: University of Geneva, Switzerland
- Lines: 31
-
- I am writing a printer spooler for the Amiga. It's supposed to allow sharing
- a printer between several Amigas, over any network. To minimize RAM usage, I
- chose to write it as a disk-based spooler, but it can be run with a RAM disk.
- I ask to be notified when a certain directory is modified, then find the file
- that was just closed, enqueue it, and send it out the serial or parallel port.
-
- Now, I use CMD to redirect printer ouput to a file, but I don't want the output
- of my spooler to be redirected. What is the best way to solve the problem ?
-
- My ideas so far are :
-
- 1- redirect serial if you use parallel, clumsy, but easy.
- 2- copy parallel.device to spoolpar.device and use that, but what happens
- when CMD exits ? two devices on the same port ???
- 3- include CMD-like operation into my spooler, so that i can call the
- devices' original BEGINIO. C= has a copyright on CMD, what would they
- want ? EZSpool will not be commercial. I would LOVE to give it to
- C= for inclusion into a new version of the O.S.
-
- Any other ideas? All suggestions are very welcome. E-Mail replies preferred.
-
- thanks,
- eric
-
- zucker@tuni2a.unige.ch or
- zucker@uni2a.unige.ch or
-
- Eric Zucker
- 1, ch Pre-Polly
- CH-1233 GENEVA SWITZERLAND
- + 41 22 7574325
-