Re: catch EMF in Driver

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hi Thomas,

search for PrintMirror at www.sourceforge.net.

You can't get the emf-file in the driver. You have
to write a print processor (sample in ddk) or use the driver-UI
entry-points "DrvDocumentEvent" parameters DOCUMENTEVENT_ENDDOCPOST.
Look at printmirror. It uses emf-files this way.

Dieter

Thomas Freudenreich schrieb:
I've sucessfully wrote (sample) the code to copy the emf-Spoolfiles away in
an printprocessor. Because I needed an modified printerdriver, too I want
to put this code in the printerdriver ( plottersample by microsoft, because
I need a kind of plotterdriver ). I thought a good place where DrvEndDoc (
in the sample in page.c ) but in there the spoolfiles are not finished
(size 0 if debug and look at the spooldirectory). Maybe DrvSendPage. Or is
it impossible to get the emf-output in the printdriver itself ?

Thomas
.



Relevant Pages

  • Re: catch EMF in Driver
    ... search for PrintMirror at www.sourceforge.net. ... You can't get the emf-file in the driver. ... to put this code in the printerdriver (plottersample by microsoft, ...
    (microsoft.public.win2000.printing)
  • Re: catch EMF in Driver
    ... You have to ask Vivid Aravind, printmirror was developed by him. ... in printer driver environment. ... Next weekend I will give ReadPrinter a try ... I think you can copy the spool file in both calls, since the spooler is configured not to delete the job. ...
    (microsoft.public.win2000.printing)