Windows 2000 Printer Driver

Hi,

I am writing driver plug-in for Windows 2000 as per the User
Interface driver customize specification. I need to implement
DocumentEvent method. I understand its a mothod of IPrintOemUI2
and only XP and later systems supports this interface.

Now is there any other way do I have to customize the
DocumentEvent function for Windows 2000.

Thanks in advance,
Sridhar


Get your own “800” number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

There is no DrvDocumentEvent hook provided on W2K. You basically have
two options.

  • Obtain “The Windows XP Pscript and Unidrv Files Are Available in a
    Windows 2000 Hotfix Package (Q310897)”. This will provide the
    IPrintOemUI2 interface.
  • Write a wrapper for unidrvui. This wrapper will basically punt almost
    every call to the corresponding function in unidrvui by doing a
    LoadLibrary and GetProcAddress. You can then implement the
    DrvDocumentEvent function in your wrapper.

Hope this helps.

  • Ashwin

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: Sridhar Krishnan [mailto:xxxxx@ureach.com]
Sent: Thursday, May 02, 2002 9:24 AM
To: NT Developers Interest List
Subject: [ntdev] Windows 2000 Printer Driver

Hi,

I am writing driver plug-in for Windows 2000 as per the User
Interface driver customize specification. I need to implement
DocumentEvent method. I understand its a mothod of IPrintOemUI2
and only XP and later systems supports this interface.

Now is there any other way do I have to customize the
DocumentEvent function for Windows 2000.

Thanks in advance,
Sridhar


Get your own “800” number
Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%