Re: At the spooler level, how to determine the application that pr
- From: Carey Gregory <tiredofspam123@xxxxxxxxxxx>
- Date: Wed, 09 Jul 2008 15:51:54 -0400
Vern H <VernH@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I'm just starting to look at this kind of thing for an application - the
documentations shows a string like "MS-WORD: Review.doc" - seems this has the
application in it - not sure if this always comes up this way.
That's just the document title passed to Start Doc. The application can
make it anything it wants. You can sometimes determine the printing app
from that string, but it's not reliable at all. Many apps just use the
file name or something similar with no indication of which app is
printing.
The only way I know of to obtain the printing app is to have your own
printer driver that can capture it in the DocumentEvent method with a call
to GetModuleFileName().
.
- References:
- Prev by Date: Re: How to capture EMF file for a print job
- Next by Date: ReadPrint Failure. How to use it properly
- Previous by thread: RE: At the spooler level, how to determine the application that pr
- Next by thread: Re: Questions about print and print spooler Win GDI functions
- Index(es):
Loading