Re: Printing to EMF/Creating EMF

Tech-Archive recommends: Fix windows errors by optimizing your registry



If you are interested, you can write to me. I have written emf drivers for
several times. Also there is an opensource driver which I wrote couple of
years ago. search for printmirror in sourceforge.

--
Vipin Aravind
http://blogs.explorewindows.com

<hershi@xxxxxxxxx> wrote in message
news:1160168232.721425.111140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,
I have a scenario where I want to cause printing jobs on one computer
(running XP) to be rendered to EMF files, so that I can take these EMF
files and print them on another computer.
It seems this should have been an easy task, since according to the
documentation, windows uses EMF as the format of the print job files.
Alas, after spending some time playing around with all sorts of
printers and printer drivers, print processor settings and suchlike, I
still didn't succeed in creating a proper EMF representation of the
print job. I even tried to change the 'lpszDatatype' field of the
DOCINFO struct passed to StartDoc to "emf" to no avail. All I seem to
get is a file in "raw" format.

I did find some virtual printer drivers that gave this functionality,
like the open-source one from mabuse.de
(http://www.mabuse.de/vprinter.mhtml), which didn't perform very well,
and the one from two-pilots
(http://www.colorpilot.com/emfprinterpilot.html). This is a possible
solution, but it seems too complex considering that creating an EMF
should be part of the standard printing process in windows.

As a side note, one of the posts on google groups claimed that the EMF
files created by the spooler are not "true EMF", which made me wonder
what would be the difference between the two.

So my question is this: Does anyone know of a simple way to make
windows generate an EMF file of the print job?

Cheers



.



Relevant Pages

  • RE: Implementing watermarks in the print processor
    ... It is not advisable to modify spoolers EMF as the format of spool file may ... I believe you were trying to draw from DrvDocumentEvent EndPage and End Page ... event does not come in banding drivers. ... you can draw watermark on Printer DC from there. ...
    (microsoft.public.development.device.drivers)
  • Printing to EMF/Creating EMF
    ... I have a scenario where I want to cause printing jobs on one computer ... to be rendered to EMF files, so that I can take these EMF ... windows uses EMF as the format of the print job files. ... I did find some virtual printer drivers that gave this functionality, ...
    (microsoft.public.win2000.printing)
  • Re: Microsoft Office publisher has encountered a problem and needs to.
    ... Completely remove the printer drivers and re-install. ... >I have recently purchase a Konica Minolta 2300W color laser printer.Prior to ... > printers?...but each time I attempt to send the print job to my new Minolta ...
    (microsoft.public.publisher)
  • Re: Printing to EMF/Creating EMF
    ... look at http://undocprint.printassociates.com/formats/winspool/spl to learn about the spool-file format. ... to be rendered to EMF files, so that I can take these EMF ... windows uses EMF as the format of the print job files. ...
    (microsoft.public.win2000.printing)
  • Re: EMF Spooling?
    ... the EMF contained in spool files is not ... embedded in a SPL file that has its own format, header records, etc. ... There's no way I know of to detect when a *page* has finished spooling, ... is the print job number. ...
    (microsoft.public.development.device.drivers)