Mail Archives: djgpp/1996/12/29/21:00:52
Once upon a time (on 29 Dec 96 at 4:01) Murray Stokely said:
> Also is it possible to use the Windows 95 print manager from
> console applications with DJGPP? Wouldn't I need a windows.h file
> or something? Printing straight to LPT1 can realy mess up things if
> you're already printing something in Windows. I thought for sure
> this topic had been discussed before, but I checked the faq and mail
> archives with no avail. Any help would be appreciated, thanks..
I forgot to answer this one ;-)) Well, the answer is YES and NO. YES
because usually Windows 95 intercepts all printing requests made from
within DOS (it does so by watching the activity on LPTx ports) - I
suspect, however, that you want to control the W95 PM. NO, because
DJGPP applications are not native Win95 console ones, and thus cannot
gain access to Win95 kernel functions. I think it might be possible
to control the print manager by the exported VxD entries - but you'd
have to get some toolkit and reference on that (such as VtoolsD
package).
_http://ananke.amu.edu.pl/~grendel_________________________
We buy fresh bagels from the corner store where swastikas
are spat from areosols. I sit in the bar sipping iced white
russians, trying to score but nobody's pushing. And everyone
looks at everyone's faces, searching for signs and praying
for traces of a conscience in residence, are we sitting on
a barbed wire fence chasing the clouds home?
- Raw text -