Re: Slow printing when Custom User Interface enabled in Group Policy
- From: "James Collington" <james@xxxxxxxxxxxxxxxxxx>
- Date: 5 Jul 2006 14:26:03 -0700
Found the following truly wonderful posting from Christian Kaiser:
Create a dummy window of the "PrintTray_Notify_WndClass" class and
check
whether it is faster.
I read this once:
// (from the Newsgroup microsoft.public.win32.programmer.gdi)
// running in an environment without Explorer, WINSPOOL will take 2
seconds for each ENDDOC() as it notifies
// this window about a change, and the window does only exist is
EXPLORER
is present. According to someone
// in the newsgroup, WINSPOOL tries 20 times with a timeout of 100ms.
Thus
let's make sure such a window is present!
_hWndPrinterNtfyTraySimulation = CreateWindow(
TEXT("PrintTray_Notify_WndClass"),
TEXT(""),
WS_POPUP,
0,0,10,10,
NULL,
NULL,
hInstance,
NULL);
Christian
.
- References:
- Slow printing when Custom User Interface enabled in Group Policy
- From: James Collington
- Slow printing when Custom User Interface enabled in Group Policy
- Prev by Date: Re: Exchange does not receive email
- Next by Date: Re: Exchange Weird Issue
- Previous by thread: Slow printing when Custom User Interface enabled in Group Policy
- Next by thread: RE: Slow printing when Custom User Interface enabled in Group Policy
- Index(es):
Relevant Pages
|