Printing delayed when using alternate shell (not explorer.exe)

B

Berni

Hello,

I am quite desperate because I have to build a "closed system", that is,
nobody may be able to easily delete files or change configuration.
Therefore I wrote my own little shell
("HKLM\...\WindowsNT\Winlogon\shell=xxx") which does nothing but
starting some programs and then waits until they have been closed.

The effect is that if I start notepad.exe and print a text like "TEST",
printing takes 5 sec after I pressed OK button on the printer dialog. In
case I use "explorer.exe" as the windows shell,
it will only take less than 1 sec. There is no difference in case I
print eg. six times consecutively. Each time the print dialog shows up
it will again 5 secs before printing starts.

I already listet up all the .DLLs explorer.exe uses and loaded them
using "LoadLibrary". I opened the printer myself and kept the printer
handle and printer spooler open but even this did not speed up printing.
As far as I can see, Windows XP does not load any further DLL while
notepad is printing but even this did not lead to an acceleration.

When using Windows 2000 everything works 100%, but under Windows XP it
does not work. I do not get rid of the delay.

I even tested some free shells "liteshell" etc, they all have the same
problem. Printing is much slower than using "explorer.exe" as the shell.

Does anybody have an idea on that? How can I print fast without using
explorer.exe as the shell?

Thank you at least for reading.
Berni.
 
C

Carey Frisch [MVP]

Microsoft Shared Computer Toolkit for Windows XP
http://www.microsoft.com/downloads/...56-e3da-42ea-857d-92b716077a84&displaylang=en

--
Carey Frisch
Microsoft MVP
Windows - Shell/User
Microsoft Community Newsgroups
news://msnews.microsoft.com/

-------------------------------------------------------------------------------------------

:

| Hello,
|
| I am quite desperate because I have to build a "closed system", that is,
| nobody may be able to easily delete files or change configuration.
| Therefore I wrote my own little shell
| ("HKLM\...\WindowsNT\Winlogon\shell=xxx") which does nothing but
| starting some programs and then waits until they have been closed.
|
| The effect is that if I start notepad.exe and print a text like "TEST",
| printing takes 5 sec after I pressed OK button on the printer dialog. In
| case I use "explorer.exe" as the windows shell,
| it will only take less than 1 sec. There is no difference in case I
| print eg. six times consecutively. Each time the print dialog shows up
| it will again 5 secs before printing starts.
|
| I already listet up all the .DLLs explorer.exe uses and loaded them
| using "LoadLibrary". I opened the printer myself and kept the printer
| handle and printer spooler open but even this did not speed up printing.
| As far as I can see, Windows XP does not load any further DLL while
| notepad is printing but even this did not lead to an acceleration.
|
| When using Windows 2000 everything works 100%, but under Windows XP it
| does not work. I do not get rid of the delay.
|
| I even tested some free shells "liteshell" etc, they all have the same
| problem. Printing is much slower than using "explorer.exe" as the shell.
|
| Does anybody have an idea on that? How can I print fast without using
| explorer.exe as the shell?
|
| Thank you at least for reading.
| Berni.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top