[comp.windows.ms] printing before ENDDOC

u2zj@vax5.cit.cornell.edu (Stanton Loh) (11/14/90)

A Windows 3.0 programmer friend of mine asked me to post this:

On page 12-5 of the Microsoft Windows Guide to Programming, it
states under NOTE that text does not start coming out on the
printer until an ENDDOC escape is sent.  By outputting a message
to the screen at the start of each page of a 10 page document,
this seems not to be true, it starts printing while I'm
generating the 3rd page, and the printing (to a dot-matrix IBM
Graphics clone) slows down A LOT.  In order to decrease the time
required to generate all the pages, I tried decreasing the
priority on the spooler, but that had no effect.  I had to Pause
the Print Spooler until the document was printed, then Resume
it.  That speeded up the printing, but tended to freeze the
machine about 50% of the time, especially if I Paused the
spooler while printing was going on.  Maybe only while printing,
I'm not sure.  If so, its probably my fault.  Does anyone have
any insight into whether the Guide statement is actually true or
not, or how I can keep the printing from making page generation
so slow?  - Doug Stauffer

Thanks for any suggestions,
==============================================================
|Stanton Loh               | u2zj@vax5.cit.cornell.edu       |
|Baker Lab, Cornell Univ   | u2zj@crnlvax5.BITNET            |
|Ithaca, NY 14853-1301     | stanton@chemres.tn.cornell.edu  |
==============================================================