Re: bitmap printer driver.
- From: jrc.src@xxxxxxxxx
- Date: 12 Sep 2006 05:43:04 -0700
Hi Vipin and All,
I have wrote bitmap printer driver,
How can i get then page no, that is being printed?
For example, if user selects only page#4 for printing, how do i get 4?
Thanks,
jrc
Vipin wrote:
what do you mean by usermode/kernel mode in your post? what is the context?
--
Vipin Aravind
http://www.explorewindows.com/Blogs
<jrc.src@xxxxxxxxx> wrote in message
news:1156764880.148181.127740@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,
I am writing bitmap printer driver in which i want output of print
command to bmp file.
after a searching and reading previous post for this i found that
oemuni\interface.cpp
IOemUni::ImageProcessing() is idle place to get bmp file. Am i correct?
i tried very simple thing is to create one file using
CreateFile/WriteFile/CloseHandle() api's but when i tried to build this
i get following errors..
oemuni\kmode\intrface.obj : error LNK2019: unresolved external symbol
__imp__CloseHandle@4 referenced in function "public: virtual long
__stdcall IOemUni::ImageProcessing(struct _DEVOBJ *,unsigned char
*,struct tagBITMAPINFOHEADER *,unsigned char *,unsigned long,struct
IPPARAMS *,unsigned char * *)"
(?ImageProcessing@IOemUni@@UAGJPAU_DEVOBJ@@PAEPAUtagBITMAPINFOHEADER@@1KPAUIPPARAMS@@PAPAE@Z)
NOTE: i am running winxp checked build environment.
similarly for createfile/writefile.
i have added following code in interface.cpp
CreateFile()
WriteFile()
Closehandle()
And also Which component i should go for usermode/kernel mode?
Please point me if i m on correct path...
Thanks in advance.
jrc
.
- References:
- Re: bitmap printer driver.
- From: Vipin
- Re: bitmap printer driver.
- Prev by Date: Virtual Driver
- Next by Date: Re: Virtual Driver
- Previous by thread: Re: bitmap printer driver.
- Next by thread: [KMDF USB] I/O to bulk endpoints on CDC ACM data class interface
- Index(es):
Relevant Pages
|