Disable Printer Property Pages

I am using a unidrv based printer driver with a custom ui. Is it possible
to disable the pages on the driver properties ie Color Management and
Sharing. I have to implement this on W2K, and saw that HideStandardUI
wasn’t available on it. If possible I would like to just display a simple
‘About Box’ when the user enters into the printer properties and not display
any settings available to be changed. Any help will be appreciated.

Thanks,
Keith

Hi Keith…
I think you need to modify this in unidrv.dll code, that
will make the UI of color management tab to disappear. I didnt remember
exactly, but sure you need to concentrate on color related things in
unidrv.dll code.

Thanks
Hariharasudhan.S


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Keith Dickerson
Sent: Tuesday, January 29, 2008 9:58 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Disable Printer Property Pages

I am using a unidrv based printer driver with a custom ui. Is it
possible to disable the pages on the driver properties ie Color
Management and Sharing. I have to implement this on W2K, and saw that
HideStandardUI wasn’t available on it. If possible I would like to just
display a simple ‘About Box’ when the user enters into the printer
properties and not display any settings available to be changed. Any
help will be appreciated.

Thanks,
Keith
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging
and other seminars visit: http://www.osr.com/seminars To unsubscribe,
visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Thanks for the response. Right now I’m looking at disabling by hooking
inside the ui tab and grabbing the window handle of the display property
dialog and removing the pages through that. Any drawbacks through that
method? Also that may work for color, but what about disabling the printer
sharing tab if I am doing it through the unidrv.dll code?

Thanks,
Keith

On Jan 29, 2008 10:58 PM, wrote:

> Hi Keith…
> I think you need to modify this in unidrv.dll code, that
> will make the UI of color management tab to disappear. I didnt remember
> exactly, but sure you need to concentrate on color related things in
> unidrv.dll code.
>
> Thanks
> Hariharasudhan.S
>
>
> ------------------------------
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] *On Behalf Of *Keith Dickerson
> Sent: Tuesday, January 29, 2008 9:58 PM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] Disable Printer Property Pages
>
> I am using a unidrv based printer driver with a custom ui. Is it
> possible to disable the pages on the driver properties ie Color Management
> and Sharing. I have to implement this on W2K, and saw that HideStandardUI
> wasn’t available on it. If possible I would like to just display a simple
> ‘About Box’ when the user enters into the printer properties and not display
> any settings available to be changed. Any help will be appreciated.
>
> Thanks,
> Keith
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
> the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

How abt trying …PropSheet_RemovePage,check MSDN.


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Keith Dickerson
Sent: Wednesday, January 30, 2008 10:08 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Disable Printer Property Pages

Thanks for the response. Right now I’m looking at disabling by hooking
inside the ui tab and grabbing the window handle of the display property
dialog and removing the pages through that. Any drawbacks through that
method? Also that may work for color, but what about disabling the
printer sharing tab if I am doing it through the unidrv.dll code?

Thanks,
Keith

On Jan 29, 2008 10:58 PM, wrote:

Hi Keith…
I think you need to modify this in unidrv.dll
code, that will make the UI of color management tab to disappear. I
didnt remember exactly, but sure you need to concentrate on color
related things in unidrv.dll code.

Thanks
Hariharasudhan.S

________________________________

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Keith Dickerson
Sent: Tuesday, January 29, 2008 9:58 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Disable Printer Property Pages

I am using a unidrv based printer driver with a custom ui. Is
it possible to disable the pages on the driver properties ie Color
Management and Sharing. I have to implement this on W2K, and saw that
HideStandardUI wasn’t available on it. If possible I would like to just
display a simple ‘About Box’ when the user enters into the printer
properties and not display any settings available to be changed. Any
help will be appreciated.

Thanks,
Keith
— NTDEV is sponsored by OSR For our schedule of WDF, WDM,
debugging and other seminars visit: http://www.osr.com/seminars To
unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars
visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging
and other seminars visit: http://www.osr.com/seminars To unsubscribe,
visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer