[Samba] Samba Printing Extremely Slow from Windows XP

Gerald (Jerry) Carter jerry at samba.org
Thu Sep 8 11:29:41 GMT 2005

Hash: SHA1

david rankin wrote:

|> This is an XP client bug.  It has been covered before in the
|> Samba ml archives.  You need to clean out the cached devmodes
|> from the HCU portion of the registry on the client machine.
|> Also check network traffic and I expect that you will see
|> a stream of GetPrinterData() requests coming from the client
|> looking up the value for "ChangeID"
| In English Jerry ... in English???? Is this what you
| are talking about??

Ahhh David... You're *killing* me :-)  Yes.  This is exactly
what I was talking about.

| Procedure:
| 1. Edit the registry observing usual caution.
| 2. Locate the key HKEY_CURRENT_USER\Printers\DevModePerUser
| 3. Remove all VALUES for Network printers of the form:
| \<print_server_name ><printer_queue_name>
| 4. Locate the key HKEY_CURRENT_USER\Printers\DevModes2
| 5. Remove all VALUES for Network printers of the form:
| \<print_server_name><printer_queue_name>

The Windows print cache is timestamp based.  The client
spooler gets in a loop where it continually asks the
server for the timestamp (ChangeID) on a given printer.
In spite of the fact that the timestamp has been incremented
by some change to the printer, the client never updates
its local cache of printer data.  And so it continually
thinks it is out of date.

cheers, jerry
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back."     Ethan Hawk in Gattaca
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org


More information about the samba mailing list