From: George Lee George on
Hello.

I am developing a new printer driver. And want to show status monitor at
local desktop and client side desktop on Vista/7.
I have read the document of AsyncUI. And modified AsyncUI sample to show
customUI on local desktop ok.

I use on server side DLL and one client side DLL.

The server side DLL creates channel by:

hResult = CreatePrintAsyncNotifyChannel(szPrinterNameW,
const_cast<GUID*>(&MS_ASYNCNOTIFY_UI),
kAllUsers,
kBiDirectional,
pIAsynchCallback,
&pIAsynchNotifyChannel);

Then client side DLL will be launched by XML as:
<customUI dll=\"clientUI.dll\" entrypoint=\"ShowStatusMonitor\" bidi=\"true\">


But how to show customUI on local desktop when the print job is come from
remote client PC?


Please help me. Thanks!


From: Maxim S. Shatskih on
> But how to show customUI on local desktop when the print job is come from
> remote client PC?

You want the Spooler service to be able of displaying the UI?

This is banned in Vista+ OSes.

--
Maxim S. Shatskih
Windows DDK MVP
maxim(a)storagecraft.com
http://www.storagecraft.com

From: George Lee on
Dear Sir:

I have a printer Canon i905D. There is inbox driver in Vista.
When the printer is shared at Vista, I can print from a remote Vista
PC.
When paper out, it will show paper out error dislog at both desktop.
I really want to know how to implement this feature.

The MS-PAN.pdf says it is based on RPC protocal.
So I believe it is possible to show UI on user desktop.
Please advice. Thanks!

George


"Maxim S. Shatskih" wrote:

> > But how to show customUI on local desktop when the print job is come from
> > remote client PC?
>
> You want the Spooler service to be able of displaying the UI?
>
> This is banned in Vista+ OSes.
>
> --
> Maxim S. Shatskih
> Windows DDK MVP
> maxim(a)storagecraft.com
> http://www.storagecraft.com
>
> .
>