Re: [Samba] Windows XP SP2 slow printing solution

2004-11-22 Thread Martin Zielinski
Hello!

Problem still exists. I failed to find the reason, so here are my 
observations regarding the problem.

On Tuesday 16 November 2004 10:16, Walter Willmertinger wrote:
 Thank you very much, I  tried your solution 3 (the http- or URL
 -printing method). Speed is now very good.
[...]

 Jason Balicki schrieb:
 Walter Willmertinger  wrote:
 I upgraded to 3.0.8 with no difference in the speed of the printer
 dialogue and other printer related topics.
 It is still very, very slow. For example, Adobe 6.0 takes about 10
 seconds to show the printer dialogue.
 
 So it seems, that the problem is not fixed.
 I sure think it is a problem in SP2, because I removed already SP2 and
 all works in normal speed.
 The problem is that you cannot go around SP2 only if you ignore any MS
 XP updates.
[...]
 
 Here's what I've learned:
 
 1) It's NOT universal, and only appears to affect certain printers/
 print drivers.  I have Canon ImageRunners that have this problem,
 but I have several HP printers and a Ricoh color laser that doesn't.
 The Canon printers have the problem no matter what driver I attempt
 to print with (they support PCL and PostScript.)  I've tried every
 version of both languages that I could get my hands on.

True. I use a CANON color driver or a Kyocera KX driver for the KM2530. 
Allways the same problem. HP drivers from the Windows CD does not have the 
problem.


 
 2) It IS an issue with Windows XP SP 2 and Samba.  If I change
 either of those, i.e., uninstall SP2 or share the printer on another
 Windows machine (or use a print method other than smb) the problem
 goes away.

same here.

 
 3) You can work around the problem by printing to CUPS/IPP directly.
 When setting up the printer select network printer and then select
 the connect to a printer on the Internet... radio button.  Then
 you can use the url http://servername:631/printers/printername
 to connect to your printer.  This has the distinct drawback of
[...]
This is a non point 'n print solution...
[...]
 
 Bret Jordan schrieb:
 Also if your printers are in a different VLAN check your firewall
 rules and or router ACLs to make sure the CUPs/Samba server can talk
 about to the clients correctly.  When you do a packet capture you
 will see what I am talking about.
 
 Bret
 
 Darrin Yeager wrote:
 On the printer server, we are running samba 3.0.1, and on the WINS
 server we are running an older version, 2.2.5.
 Recently, some of our computers were upgraded to XP SP2. After the
 upgrade, accessing the samba shared printers from the XP machines
 was incredibly slow. It would take tens of seconds to even bring
 up the printer status window, and printing from acrobat could take
 several minutes.
 
 You'll have to upgrade the 3.0.1 box -  MS introduced a bug in XP
 SP2 for printing which samba fixed in the later versions ( 3.0.5 I
 believe).
 
 Look at the release notes for the latest samba version and search
 for SP2 and you'll see the problem.
 
 http://samba.org/samba/history/samba-3.0.8.html

Not mentioned before:

1st. On my system the problem only occurrs, when the client has a local 
devicemode !
This is created, when the user changes some settings of the printer. 
The devicemode is located in the registry under 
HKEY_CURRENT_USER\Printers\Connections\servername,printer_name.
No more slow down, after deleting the devicemode.

Could you please verify, if this is true in your enviroments?

2nd. All drivers I tried out, only have this problem, if they have a large 
private data field in the devicemode. Maybe the problem is related to this.

3rd. The slow down is a loop through the printer's registry values. In the 
network trace I can see GetPrinterData calls over and over.

Hopefully someone gets an idea, how to work around this MS bug.

Greetings,
Martin

-- 
Martin Zielinski                       [EMAIL PROTECTED]
Software Development
SEH Computertechnik GmbH     www.seh.de
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Windows XP SP2 slow printing solution

2004-11-22 Thread Walter Willmertinger
I think, you found the solution.
Although I did not find the entry
HKEY_CURRENT_USER\Printers\Connections\servername,printer_name
as this tree was empty!
There was no entry for the problematic printer. But I looked the other subkeys 
DevModePerUser and deleted all keys for this printer.
I also find an entry in DevModes2 and Settings, I deleted these also.
Now the printing dialogue is opening with MS Word and Adobe in less than one 
second.
If I find anything new maybe after some reboots, I will tell you!
Regards,  Walter
Martin Zielinski schrieb:
Hello!
Problem still exists. I failed to find the reason, so here are my 
observations regarding the problem.

On Tuesday 16 November 2004 10:16, Walter Willmertinger wrote:
 

Thank you very much, I  tried your solution 3 (the http- or URL
-printing method). Speed is now very good.
   

[...]
 

Jason Balicki schrieb:
   

Walter Willmertinger  wrote:
 

I upgraded to 3.0.8 with no difference in the speed of the printer
dialogue and other printer related topics.
It is still very, very slow. For example, Adobe 6.0 takes about 10
seconds to show the printer dialogue.
So it seems, that the problem is not fixed.
I sure think it is a problem in SP2, because I removed already SP2 and
all works in normal speed.
The problem is that you cannot go around SP2 only if you ignore any MS
XP updates.
   

[...]
 

Here's what I've learned:
1) It's NOT universal, and only appears to affect certain printers/
print drivers.  I have Canon ImageRunners that have this problem,
but I have several HP printers and a Ricoh color laser that doesn't.
The Canon printers have the problem no matter what driver I attempt
to print with (they support PCL and PostScript.)  I've tried every
version of both languages that I could get my hands on.
 

True. I use a CANON color driver or a Kyocera KX driver for the KM2530. 
Allways the same problem. HP drivers from the Windows CD does not have the 
problem.

 

2) It IS an issue with Windows XP SP 2 and Samba.  If I change
either of those, i.e., uninstall SP2 or share the printer on another
Windows machine (or use a print method other than smb) the problem
goes away.
 

same here.
 

3) You can work around the problem by printing to CUPS/IPP directly.
When setting up the printer select network printer and then select
the connect to a printer on the Internet... radio button.  Then
you can use the url http://servername:631/printers/printername
to connect to your printer.  This has the distinct drawback of
 

[...]
This is a non point 'n print solution...
[...]
 

Bret Jordan schrieb:
   

Also if your printers are in a different VLAN check your firewall
rules and or router ACLs to make sure the CUPs/Samba server can talk
about to the clients correctly.  When you do a packet capture you
will see what I am talking about.
Bret
Darrin Yeager wrote:
 

On the printer server, we are running samba 3.0.1, and on the WINS
server we are running an older version, 2.2.5.
Recently, some of our computers were upgraded to XP SP2. After the
upgrade, accessing the samba shared printers from the XP machines
was incredibly slow. It would take tens of seconds to even bring
up the printer status window, and printing from acrobat could take
several minutes.
 

You'll have to upgrade the 3.0.1 box -  MS introduced a bug in XP
SP2 for printing which samba fixed in the later versions ( 3.0.5 I
believe).
Look at the release notes for the latest samba version and search
for SP2 and you'll see the problem.
http://samba.org/samba/history/samba-3.0.8.html
   

Not mentioned before:
1st. On my system the problem only occurrs, when the client has a local 
devicemode !
This is created, when the user changes some settings of the printer. 
The devicemode is located in the registry under 
HKEY_CURRENT_USER\Printers\Connections\servername,printer_name.
No more slow down, after deleting the devicemode.

Could you please verify, if this is true in your enviroments?
2nd. All drivers I tried out, only have this problem, if they have a large 
private data field in the devicemode. Maybe the problem is related to this.

3rd. The slow down is a loop through the printer's registry values. In the 
network trace I can see GetPrinterData calls over and over.

Hopefully someone gets an idea, how to work around this MS bug.
Greetings,
Martin
 

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Windows XP SP2 slow printing solution

2004-11-16 Thread Walter Willmertinger
Thank you very much, I  tried your solution 3 (the http- or URL 
-printing method). Speed is now very good.
As I run CUPS and always have my local drivers, I have no problem with 
the non automatic load of printer drivers.

But I hope for people which do not meet these conditions, that someone 
finds a solution to this problem. I still will support with debug logs 
etc, but as you write I've been met with silence as well

Best regards from Germany,
Walter
Jason Balicki schrieb:
Walter Willmertinger  wrote:
 

I upgraded to 3.0.8 with no difference in the speed of the printer
dialogue and other printer related topics.
It is still very, very slow. For example, Adobe 6.0 takes about 10
seconds to show the printer dialogue.
So it seems, that the problem is not fixed.
I sure think it is a problem in SP2, because I removed already SP2 and
all works in normal speed.
The problem is that you cannot go around SP2 only if you ignore any MS
XP updates.
   

For what it's worth, I've had this same issue and I've been
met with silence as well.  Also, 10 seconds is child's play,
I'd have considered that GOOD.  :)  I was waiting for 30 seconds
or more for print related dialogs to pop up.
Here's what I've learned:
1) It's NOT universal, and only appears to affect certain printers/
print drivers.  I have Canon ImageRunners that have this problem,
but I have several HP printers and a Ricoh color laser that doesn't.
The Canon printers have the problem no matter what driver I attempt
to print with (they support PCL and PostScript.)  I've tried every
version of both languages that I could get my hands on.
2) It IS an issue with Windows XP SP 2 and Samba.  If I change
either of those, i.e., uninstall SP2 or share the printer on another
Windows machine (or use a print method other than smb) the problem 
goes away.

3) You can work around the problem by printing to CUPS/IPP directly.
When setting up the printer select network printer and then select
the connect to a printer on the Internet... radio button.  Then
you can use the url http://servername:631/printers/printername
to connect to your printer.  This has the distinct drawback of
not being able to automatically load printer drivers.  Of course,
you also must be running CUPS as your print backend.  Also, I
don't know if you can do this with Windows 9x clients, but you
shouldn't be running those any more, and you don't have the
slow print problem with 9x anyway. :)  By using IPP, I've decreased
the amount of wait time to near zero.  Print related dialogs
are near instant at this point.
Disclaimer:  I have yet to upgrade to 3.0.8 on my production server,
I am still at 3.0.7.  However, I've set up a test box with
3.0.8 and I have the same issues.
HTH,
--J(K)
 

Bret Jordan schrieb:
   

Also if your printers are in a different VLAN check your firewall
rules and or router ACLs to make sure the CUPs/Samba server can talk
about to the clients correctly.  When you do a packet capture you
will see what I am talking about. 

Bret
Darrin Yeager wrote:
 

On the printer server, we are running samba 3.0.1, and on the WINS
server we are running an older version, 2.2.5.
Recently, some of our computers were upgraded to XP SP2. After the
upgrade, accessing the samba shared printers from the XP machines
was incredibly slow. It would take tens of seconds to even bring
up the printer status window, and printing from acrobat could take
several minutes.
 

You'll have to upgrade the 3.0.1 box -  MS introduced a bug in XP
SP2 for printing which samba fixed in the later versions ( 3.0.5 I
believe). 

Look at the release notes for the latest samba version and search
for SP2 and you'll see the problem.
http://samba.org/samba/history/samba-3.0.8.html
   

 


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Windows XP SP2 slow printing solution

2004-11-15 Thread Walter Willmertinger
I upgraded to 3.0.8 with no difference in the speed of the printer 
dialogue and other printer related topics.
It is still very, very slow. For example, Adobe 6.0 takes about 10 
seconds to show the printer dialogue.

So it seems, that the problem is not fixed.
I sure think it is a problem in SP2, because I removed already SP2 and 
all works in normal speed.
The problem is that you cannot go around SP2 only if you ignore any MS 
XP updates.

Bret Jordan schrieb:
Also if your printers are in a different VLAN check your firewall 
rules and or router ACLs to make sure the CUPs/Samba server can talk 
about to the clients correctly.  When you do a packet capture you will 
see what I am talking about.

Bret
Darrin Yeager wrote:
On the printer server, we are running samba 3.0.1, and on the WINS
server we are running an older version, 2.2.5.
Recently, some of our computers were upgraded to XP SP2. After the
upgrade, accessing the samba shared printers from the XP machines was
incredibly slow. It would take tens of seconds to even bring up the
printer status window, and printing from acrobat could take several
minutes.

You'll have to upgrade the 3.0.1 box -  MS introduced a bug in XP SP2 
for printing which samba fixed in the later versions ( 3.0.5 I 
believe).

Look at the release notes for the latest samba version and search for 
SP2 and you'll see the problem.

http://samba.org/samba/history/samba-3.0.8.html

--
Mit freundlichen Grüßen,
Dr. Walter Willmertinger
CONSYS Gesellschaft für Softwaretechnologie und Systementwicklung mbH
Dr. Walter Willmertinger
Landsberger Strasse 402   EMail: [EMAIL PROTECTED]
81241 MuenchenPhone: 089-589 789 0
Germany Fax: 089-589 789 99
WWW-Homepage: http://www.consys.de
So finden Sie zu uns: http://mail.map24.com/consys-muenchen
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Windows XP SP2 slow printing solution

2004-11-15 Thread Jason Balicki
Walter Willmertinger  wrote:
 I upgraded to 3.0.8 with no difference in the speed of the printer
 dialogue and other printer related topics.
 It is still very, very slow. For example, Adobe 6.0 takes about 10
 seconds to show the printer dialogue.
 
 So it seems, that the problem is not fixed.
 I sure think it is a problem in SP2, because I removed already SP2 and
 all works in normal speed.
 The problem is that you cannot go around SP2 only if you ignore any MS
 XP updates.

For what it's worth, I've had this same issue and I've been
met with silence as well.  Also, 10 seconds is child's play,
I'd have considered that GOOD.  :)  I was waiting for 30 seconds
or more for print related dialogs to pop up.

Here's what I've learned:

1) It's NOT universal, and only appears to affect certain printers/
print drivers.  I have Canon ImageRunners that have this problem,
but I have several HP printers and a Ricoh color laser that doesn't.
The Canon printers have the problem no matter what driver I attempt
to print with (they support PCL and PostScript.)  I've tried every
version of both languages that I could get my hands on.

2) It IS an issue with Windows XP SP 2 and Samba.  If I change
either of those, i.e., uninstall SP2 or share the printer on another
Windows machine (or use a print method other than smb) the problem 
goes away.

3) You can work around the problem by printing to CUPS/IPP directly.
When setting up the printer select network printer and then select
the connect to a printer on the Internet... radio button.  Then
you can use the url http://servername:631/printers/printername
to connect to your printer.  This has the distinct drawback of
not being able to automatically load printer drivers.  Of course,
you also must be running CUPS as your print backend.  Also, I
don't know if you can do this with Windows 9x clients, but you
shouldn't be running those any more, and you don't have the
slow print problem with 9x anyway. :)  By using IPP, I've decreased
the amount of wait time to near zero.  Print related dialogs
are near instant at this point.

Disclaimer:  I have yet to upgrade to 3.0.8 on my production server,
I am still at 3.0.7.  However, I've set up a test box with
3.0.8 and I have the same issues.

HTH,

--J(K)

 
 Bret Jordan schrieb:
 
 Also if your printers are in a different VLAN check your firewall
 rules and or router ACLs to make sure the CUPs/Samba server can talk
 about to the clients correctly.  When you do a packet capture you
 will see what I am talking about. 
 
 Bret
 
 Darrin Yeager wrote:
 
 On the printer server, we are running samba 3.0.1, and on the WINS
 server we are running an older version, 2.2.5.
 Recently, some of our computers were upgraded to XP SP2. After the
 upgrade, accessing the samba shared printers from the XP machines
 was incredibly slow. It would take tens of seconds to even bring
 up the printer status window, and printing from acrobat could take
 several minutes.
 
 
 
 You'll have to upgrade the 3.0.1 box -  MS introduced a bug in XP
 SP2 for printing which samba fixed in the later versions ( 3.0.5 I
 believe). 
 
 Look at the release notes for the latest samba version and search
 for SP2 and you'll see the problem.
 
 http://samba.org/samba/history/samba-3.0.8.html
 
 
 
 --
 Mit freundlichen Grüßen,
 
 Dr. Walter Willmertinger
 
 CONSYS Gesellschaft für Softwaretechnologie und Systementwicklung mbH
 Dr. Walter Willmertinger
 Landsberger Strasse 402   EMail: [EMAIL PROTECTED]
 81241 MuenchenPhone: 089-589 789 0
 Germany Fax: 089-589 789 99
 WWW-Homepage: http://www.consys.de
 So finden Sie zu uns: http://mail.map24.com/consys-muenchen


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Windows XP SP2 slow printing solution

2004-11-12 Thread Darrin Yeager
 On the printer server, we are running samba 3.0.1, and on the WINS
 server we are running an older version, 2.2.5. 

 Recently, some of our computers were upgraded to XP SP2. After the
 upgrade, accessing the samba shared printers from the XP machines was
 incredibly slow. It would take tens of seconds to even bring up the
 printer status window, and printing from acrobat could take several
 minutes.

You'll have to upgrade the 3.0.1 box -  MS introduced a bug in XP SP2 for 
printing which samba fixed in the later versions ( 3.0.5 I believe).

Look at the release notes for the latest samba version and search for SP2 
and you'll see the problem.

http://samba.org/samba/history/samba-3.0.8.html
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Windows XP SP2 slow printing solution

2004-11-12 Thread Bret Jordan
Also if your printers are in a different VLAN check your firewall rules 
and or router ACLs to make sure the CUPs/Samba server can talk about to 
the clients correctly.  When you do a packet capture you will see what I 
am talking about.

Bret
Darrin Yeager wrote:
On the printer server, we are running samba 3.0.1, and on the WINS
server we are running an older version, 2.2.5. 

Recently, some of our computers were upgraded to XP SP2. After the
upgrade, accessing the samba shared printers from the XP machines was
incredibly slow. It would take tens of seconds to even bring up the
printer status window, and printing from acrobat could take several
minutes.

You'll have to upgrade the 3.0.1 box -  MS introduced a bug in XP SP2 for 
printing which samba fixed in the later versions ( 3.0.5 I believe).

Look at the release notes for the latest samba version and search for SP2 
and you'll see the problem.

http://samba.org/samba/history/samba-3.0.8.html
--
~~~
Bret Jordan   Dean's Office
Director of Networking   College of Engineering
801.585.3765 University of Utah
[EMAIL PROTECTED]
~~~
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba