[comp.sys.ibm.pc.programmer] Writing my own print spooler

chas@tira.uchicago.edu (Charles Blair) (12/28/90)

I've written my own int 5h handler. What I want to do is to make it
act like a print spooler, so that I can let the application it is a
part of get on with other work while stuff is printing -- this is a
problem when I drive the printer in graphics mode.

What's a good way to approach this problem? I've thought of installing
the int 5h handler as a device driver, but I still don't really
understand how to accomplish the spooling. What's the trick? Does the
driver grab some kind of interrupt and keep looking at a buffer from
which it prints, returning if the buffer has no data? Is this the
trick? (In that case, I could simply grab some interrupt in my
application, and accomplish the same thing.)

Thanks. I prefer e-mail, and I'll summarize, if there is interest.

--
Bitnet:                 pmrcjdb@uchimvs1
Internet:       cjdb@midway.uchicago.edu