Tech Support > Microsoft Windows > Drivers > Printer Driver -- UniDriver pluginUI -- "DOCUMENT" Property Sheet Pages -- Questions
Printer Driver -- UniDriver pluginUI -- "DOCUMENT" Property Sheet Pages -- Questions
Posted by Rudy on December 23rd, 2005


Printer Driver -- UniDriver pluginUI -- "DOCUMENT" Property Sheet Pages --
Questions

I am using function "IOemUI:ocumentPropertySheets".
I am trying to add/remove "page dialogs" under "case
PROPSHEETUI_REASON_INIT".
I am NOT concerned at all about "OPTITEMS".

I can successfully add my CUSTOM page dialogs using
CPSFUNC_ADD_PROPSHEETPAGE, as shown in the "UI Plugin" example. Is this the
correct way to add my custom pages? Should I be using
CPSFUNC_ADD_PCOMPROPSHEETUI instead?

Also, I would like to remove the two page dialogs that seem to show up
automatically; page dialogs with names "Layout" and "Paper/Quality". I
intend to replace them with custom pages that do something similar.

The device(printer) property sheet page dialogs seem to work fine; I use
function "IOemUI:evicePropertySheets" for this case.

Any ideas?

Thanks,
Rudy


Posted by Radu Cosoveanu on December 24th, 2005


Did you try to modify the GPD file ?

Radu Cosoveanu.

Posted by Rudy on December 27th, 2005


I have a minimal GPD file; meaning I have the required "features" listed. I
know the minidriver causes the particular dialog pages to apppear, but as I
said, I would like to remove/hide/replace them with my custom dialog pages.

Rudy



Posted by Rudy on December 27th, 2005


Regarding one question, removing the standard dialog pages, I found a
solution. Apparently, hiding the "OptItems" listed for the driver will
effectively remove the "standard dialog pages".

Rudy


Posted by Naveen on January 2nd, 2006


Hi!
See SyncSet sample in DDK to replace standard tabs.... In this sample you
can find out how you can sync optitmes from your UI.

To hide standard UI you already have answer..

Hope this helps

-Naveen


"Rudy" wrote: