From the DDK:
All printer interface DLLs **must** provide a DrvDevicePropertySheets
function, which is defined using the PFNPROPSHEETUI function type. The
function’s purpose is to call the ComPropSheet function, provided by
CPSUI, to specify a property sheet page containing user-modifiable
properties for the printer.
The function should perform operations as described for the
PFNPROPSHEETUI function type. The function **should** create the
printer’s Device Settings property sheet page (see the pDlgPage member
of the COMPROPSHEETUI structure).
Printer device settings should be stored in the registry. If a user with
administrator privilege modifies options on the Device Settings page,
the DrvDevicePropertySheets function should write the updated values to
the registry by calling SetPrinterData (described in the Platform SDK
documentation).
On W2K DDK, there is no way for you to “hide” the standard device
property sheet. But on XP, pscript plugins have that option by using the
IPrintOemUI2::HideStandardUI method. Note that at present this is
avalaible only for pscript5 UI plugins. So if you are writing a unidrv
based plugin, you *will* require a device settings page. What you
actually have on the page is upto you.
FYI, there is a plan to extend the HideStandardUI method into unidrv as
well. No specific timeline on this though.
This posting is provided “AS IS” with no warranties, and confers no
rights.
-----Original Message-----
From: xxxxx@yahoo.com [mailto:xxxxx@yahoo.com]
Sent: Friday, June 07, 2002 7:20 AM
To: NT Developers Interest List
Subject: [ntdev] Is adding a page thru DrvDevicePropertySheets a MUST ?
Hi all,
i’m writing a particular printer driver UI portion without any need of
device settings :-}
tried commenting out DrvDevicePropertySheets but on clicking properties
Windows gives message saying “…driver not installed…”
Even if DrvDevicePropertySheets call is present but doesnt add pages ,
same result
Any suggestions/way out ?
Thanks in anticipation,
Rajeev
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%