|
Prev: OID_802_11_BSSID_LIST_SCAN
Next: Programming style...
From: Floyd Burger on 26 May 2005 21:30 I'm using the bitmap driver sample from the LDK, and am running into a few problems. All I want to do is take the individual scan lines and pass them to an existing DLL that then does some processing. I can't seem to get the FilterGraphics method to get called. I'm return S_OK in the GetImplementedMethod, but no joy. Any hints on how to get that method called would be most appreciated. Since I can't get FilterGraphics working, I've been using ImageProcessing. I've set the PinsPerPhysPass and PinsPerLogPass commands in the GPD to 1, 8, 16 and several other variations, but I always get the same pSrcBitmap sizes when ImageProcessing is called. How do I tell it to only send me one scanline at a time? -- Floyd
From: J�rgen Hollfelder on 27 May 2005 17:35 I am using it successfully just as it gets delivered. No problem at all. I installed the printer to a "dummy" port and at EndDoc I pass it to a DLL. "Floyd Burger" <floyd(a)adelphia.not> schrieb im Newsbeitrag news:uWz8nulYFHA.2128(a)TK2MSFTNGP14.phx.gbl... > I'm using the bitmap driver sample from the LDK, and am running into a few > problems. All I want to do is take the individual scan lines and pass > them to an existing DLL that then does some processing. > > I can't seem to get the FilterGraphics method to get called. I'm return > S_OK in the GetImplementedMethod, but no joy. Any hints on how to get > that method called would be most appreciated. > > Since I can't get FilterGraphics working, I've been using > ImageProcessing. I've set the PinsPerPhysPass and PinsPerLogPass commands > in the GPD to 1, 8, 16 and several other variations, but I always get the > same pSrcBitmap sizes when ImageProcessing is called. How do I tell it to > only send me one scanline at a time? > > -- > Floyd > >
From: Floyd Burger on 30 May 2005 02:00 Jýrgen, Thanks. After reinstalling the LDK, and starting from scratch, I think I've figured it out. It seems that the ImageProcessing and FilterGraphics methods are mutually exclusive. I finally got FilterGraphics to be called if I return S_FALSE for ImageProcessing from GetImplemented, and set the following in the GPD ColorMode feature: *Option: Mono { *rcNameID: =MONO_DISPLAY *DevNumOfPlanes: 1 *DevBPP: 1 *DrvBPP: 1 *% *IPCallbackID: 1 *Color?: FALSE } -- Floyd "Jýrgen Hollfelder" <info(a)hollfelder-edv.de> wrote in message news:uEQvCQwYFHA.3364(a)TK2MSFTNGP12.phx.gbl... >I am using it successfully just as it gets delivered. No problem at all. I >installed the printer to a "dummy" port and at EndDoc I pass it to a DLL. > > "Floyd Burger" <floyd(a)adelphia.not> schrieb im Newsbeitrag > news:uWz8nulYFHA.2128(a)TK2MSFTNGP14.phx.gbl... >> I'm using the bitmap driver sample from the LDK, and am running into a >> few problems. All I want to do is take the individual scan lines and >> pass them to an existing DLL that then does some processing. >> >> I can't seem to get the FilterGraphics method to get called. I'm return >> S_OK in the GetImplementedMethod, but no joy. Any hints on how to get >> that method called would be most appreciated. >> >> Since I can't get FilterGraphics working, I've been using >> ImageProcessing. I've set the PinsPerPhysPass and PinsPerLogPass commands >> in the GPD to 1, 8, 16 and several other variations, but I always get the >> same pSrcBitmap sizes when ImageProcessing is called. How do I tell it >> to only send me one scanline at a time? >> >> -- >> Floyd >> >> > >
|
Pages: 1 Prev: OID_802_11_BSSID_LIST_SCAN Next: Programming style... |