Prev: WinUSB_Free() return error and cause WinUSB_Initialize() fail in next power cycle.
Next: NDIS 6.0 - Filter driver
From: shobhit on 7 Oct 2009 05:12 Dear Concern, I am developing printer drivers rendering plugin(IPrintOEMPS) and UI plugin(IPrintOEMUI2) using winddk. I want disable the POSTSCRIPT_PASSTHROUGH option. For this I have tried IPrintOEMUI2::DocumentEvent function. But this does not work. Can someone please tell me how can I achieve the same. Regards Shobhit Jain
From: Tim Roberts on 7 Oct 2009 22:16
shobhit <shobhit(a)discussions.microsoft.com> wrote: > >I am developing printer drivers rendering plugin(IPrintOEMPS) and UI >plugin(IPrintOEMUI2) using winddk. > >I want disable the POSTSCRIPT_PASSTHROUGH option. For this I have tried >IPrintOEMUI2::DocumentEvent function. > >But this does not work. It should be clear that the UI plugin doesn't get involved in rendering. >Can someone please tell me how can I achieve the same. POSTSCRIPT_PASSTHROUGH is delivered through the Escape API. So, in IPrintOEMPS::EnableDriver, you need to hook INDEX_DrvEscape. Then, in your Escape handler, just don't pass the request on to pscript for that request. -- Tim Roberts, timr(a)probo.com Providenza & Boekelheide, Inc. |