From: Igoogle on 23 Aug 2006 09:19 I think you can extract the EMF from the SPL file . it is easy to do. jrc.src(a)gmail.com wrote: > HI all, > > I am new to print processor, > > from genprint source from DDK, i am trying to get EMF data from > PrintDocumentOnPrintProcessor() using pData and pDocumentname > parameter,? > In PrintEmf(), i get handle to spool file. and i m using that. ? Please > point me to correct direction. > > What i want to do is to get EMF data and then convert it to bmp file to > be stored in specific loacation. My understanding is "The Windows > Default EMF processor renders the image to the printers DC. If we > simply reset it to render onto our own DC, we get our bitmap" > > > Thanks in Advance.
From: Naveen on 24 Aug 2006 00:59 Hi! There is a sample for Bitmap driver in DDK . Have a look in Vista DDK you may find a Bitmap sample. hope this helps.. -Naveen "jrc.src(a)gmail.com" wrote: > HI all, > > I am new to print processor, > > from genprint source from DDK, i am trying to get EMF data from > PrintDocumentOnPrintProcessor() using pData and pDocumentname > parameter,? > In PrintEmf(), i get handle to spool file. and i m using that. ? Please > point me to correct direction. > > What i want to do is to get EMF data and then convert it to bmp file to > be stored in specific loacation. My understanding is "The Windows > Default EMF processor renders the image to the printers DC. If we > simply reset it to render onto our own DC, we get our bitmap" > > > Thanks in Advance. > >
From: jrc.src on 24 Aug 2006 01:34 Thanks a lot. - bitmap driver is sort of printer driver or its 2 diff. thing.? I'll surely look at driver, i have winXp ddk, not vista yet. jrc Naveen wrote: > Hi! > There is a sample for Bitmap driver in DDK . > Have a look in Vista DDK you may find a Bitmap sample. > > hope this helps.. > > -Naveen > > "jrc.src(a)gmail.com" wrote: > > > HI all, > > > > I am new to print processor, > > > > from genprint source from DDK, i am trying to get EMF data from > > PrintDocumentOnPrintProcessor() using pData and pDocumentname > > parameter,? > > In PrintEmf(), i get handle to spool file. and i m using that. ? Please > > point me to correct direction. > > > > What i want to do is to get EMF data and then convert it to bmp file to > > be stored in specific loacation. My understanding is "The Windows > > Default EMF processor renders the image to the printers DC. If we > > simply reset it to render onto our own DC, we get our bitmap" > > > > > > Thanks in Advance. > > > >
From: jrc.src on 24 Aug 2006 01:40 thanks a lot lgoogle, Please eloborate steps of hints to do this......right having no pointers to it,. I do have spool file handle in print processor code, but i believe its not actual file handle. jrc Igoogle wrote: > I think you can extract the EMF from the SPL file . it is easy to do. > > > > jrc.src(a)gmail.com wrote: > > HI all, > > > > I am new to print processor, > > > > from genprint source from DDK, i am trying to get EMF data from > > PrintDocumentOnPrintProcessor() using pData and pDocumentname > > parameter,? > > In PrintEmf(), i get handle to spool file. and i m using that. ? Please > > point me to correct direction. > > > > What i want to do is to get EMF data and then convert it to bmp file to > > be stored in specific loacation. My understanding is "The Windows > > Default EMF processor renders the image to the printers DC. If we > > simply reset it to render onto our own DC, we get our bitmap" > > > > > > Thanks in Advance.
From: Naveen on 24 Aug 2006 20:38
It's a driver which gives you bmp file as an output. "jrc.src(a)gmail.com" wrote: > Thanks a lot. > > - bitmap driver is sort of printer driver or its 2 diff. thing.? > > I'll surely look at driver, i have winXp ddk, not vista yet. > > jrc > > Naveen wrote: > > Hi! > > There is a sample for Bitmap driver in DDK . > > Have a look in Vista DDK you may find a Bitmap sample. > > > > hope this helps.. > > > > -Naveen > > > > "jrc.src(a)gmail.com" wrote: > > > > > HI all, > > > > > > I am new to print processor, > > > > > > from genprint source from DDK, i am trying to get EMF data from > > > PrintDocumentOnPrintProcessor() using pData and pDocumentname > > > parameter,? > > > In PrintEmf(), i get handle to spool file. and i m using that. ? Please > > > point me to correct direction. > > > > > > What i want to do is to get EMF data and then convert it to bmp file to > > > be stored in specific loacation. My understanding is "The Windows > > > Default EMF processor renders the image to the printers DC. If we > > > simply reset it to render onto our own DC, we get our bitmap" > > > > > > > > > Thanks in Advance. > > > > > > > > |