www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/29/21:00:52

Message-Id: <199612300146.CAA20148@math.amu.edu.pl>
Comments: Authenticated sender is <grendel AT ananke DOT amu DOT edu DOT pl>
From: "Mark Habersack" <grendel AT ananke DOT amu DOT edu DOT pl>
Organization: Home, sweet home (Poznan, Poland)
To: murray AT southeast DOT net (Murray Stokely), djgpp AT delorie DOT com
Date: Mon, 30 Dec 1996 02:45:52 +0100
MIME-Version: 1.0
Subject: Re: Detecting Operating System
Reply-to: grendel AT ananke DOT amu DOT edu DOT pl

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019