Re: [Samba] XP SP2 and Samba 3.0.7 - Printing very slow
As mentioned in some other threads, printing is very slow with samba-printers after applying XSP2 to XP. What is especially slow is the point, when you press ctrl-p after working with some document in e.g. MS Word. It takes about 20 seconds on a fast 3 GHZ computer, before you see the printer dialogue.
Walt, I have samba 3.0.7 running on Suse 9.0 pro and Mandrake 7.2. XP clients with SP2. I have fixed numerous slowness issues. I can't decode the debug info below, but what I need to know is "what box you printer is hanging off of??" Is it attached to your linux box or the xp box?? If it is attached to the linux box, you will have to keep working the problem. In this case it is most likely an xp/username problem that you will have to tell cups about so that xp will talk to cups nicely. If it is attached to an xp box, then disable cups 'rccups stop' and I'll bet your printing problem goes away. -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankin-bertin.com -- ----- Original Message ----- From: "Walter Willmertinger" <willmertinger@consys.de> To: <samba@lists.samba.org> Sent: Friday, October 08, 2004 9:01 AM Subject: [Samba] XP SP2 and Samba 3.0.7 - Printing very slow
As mentioned in some other threads, printing is very slow with samba-printers after applying XSP2 to XP. What is especially slow is the point, when you press ctrl-p after working with some document in e.g. MS Word. It takes about 20 seconds on a fast 3 GHZ computer, before you see the printer dialogue.
After setting log level to 10, I noticed some error message in the log file, as error packet at smbd/ipc.c(99) cmd=37 (SMBtrans) STATUS_BUFFER_OVERFLOW this message repeats 22 times for one pressing of ctrl-p
If someone is interested, here is a small part of the debug log:
send_trans_reply: buffer 1024 too large [2004/10/08 15:36:28, 3] smbd/error.c:error_packet(129) error packet at smbd/ipc.c(99) cmd=37 (SMBtrans) STATUS_BUFFER_OVERFLOW [2004/10/08 15:36:28, 5] smbd/ipc.c:copy_trans_params_and_data(62) copy_trans_params_and_data: params[0..0] data[0..1024] [2004/10/08 15:36:28, 5] lib/util.c:show_msg(439) [2004/10/08 15:36:28, 5] lib/util.c:show_msg(449) size=1080 smb_com=0x25 smb_rcls=5 smb_reh=0 smb_err=32768 smb_flg=136 smb_flg2=51201 smb_tid=1 smb_pid=1560 smb_uid=100 smb_mid=62977 smt_wct=10 smb_vwv[ 0]= 0 (0x0) smb_vwv[ 1]= 1024 (0x400) smb_vwv[ 2]= 0 (0x0) smb_vwv[ 3]= 0 (0x0) smb_vwv[ 4]= 56 (0x38) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 1024 (0x400) smb_vwv[ 7]= 56 (0x38) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]= 0 (0x0) smb_bcc=1025 [2004/10/08 15:36:28, 10] lib/util.c:dump_data(1835) [000] 00 05 00 02 03 10 00 00 00 B4 04 00 00 03 00 00 ........ ........ [010] 00 9C 04 00 00 00 00 00 00 B8 BF D9 00 8C 04 00 ........ ........ [020] 00 70 04 00 00 64 04 00 00 00 00 00 00 00 00 00 .p...d.. ........ [030] 00 00 00 00 00 D4 07 0A 00 05 00 08 00 0D 00 24 ........ .......$ [040] 00 1C 00 00 00 1B 03 00 00 00 00 00 00 05 00 93 ........ ........ [050] 08 01 00 00 00 00 00 00 00 00 00 00 00 1B 03 00 ........ ........ [060] 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 ........ ........ [070] 00 4A 02 00 00 00 00 00 00 00 00 00 00 00 00 00 .J...... ........
Maybe this helps someone, as it is very boring to wait for printing!
-- Regards Walter
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
participants (1)
-
David Rankin