From: Floyd Burger on
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
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
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
>>
>>
>
>