473,466 Members | 1,324 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

PrintPreview extremely slow with Samba printers

I am using Microsoft .NET (2.0) PrintPreviewDialog and
all works well when the Windows default printer is set
to a local printer or a network printer on a Windows
server, but if I set it to a Samba network printer, it
slows down to a crawl. With a Windows server
network printer, it takes about 10 seconds to render
100 pages. With a Samba network printer, it takes
over 5 minutes!

I can see that the preview control is generating
heavy network traffic (5-6% of a 1GB network
connection) continuously throughout the 5 minutes
it takes to generate the preview, which probably
is why it is so slow.

My environment:
Workstation: 3.2 GHz Dual Xeon, 1GB RAM, 1GB NIC,
OS: WinXP SP2
Server: Dual Xeon 2.8 GHz, 2GB RAM, 1GB NIC,
OS: RH ES 3.x
Samba version: Samba 3.0.9.
The printer is a HP LaserJet 4200N.
I have tried different printer drivers,
printers and Samba servers + versions.

I have already posted a question on the Samba
list, but not gotten any replies, so I am hoping that
somebody here would have some advice, since it
only happens with the .NET PrintPreview control
(not with other types of print previews).

My samba configuration file:

[global]
Netbios name = main-lin5
workgroup = acme
os level = 33
security = user
server string = Samba Server
hosts allow = 10. 127.
hide unreadable = yes
browseable = yes
encrypt passwords = yes

wins support = yes
create mask = 0660
directory mask = 0770

oplocks = no
level2 oplocks = no
strict locking = no

printcap name = /etc/printcap
load printers = yes
use client driver = yes

printing = lprng

log file = /var/log/samba/%m.log
log level = 1

max log size = 0

socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
dns proxy = no
#Share Definitions
[homes]
comment = Home Directories
browseable = no
writable = yes

[netlogon]
comment = Network Logon Service
path = /d1/home/netlogon
guest ok = no
writable = no
write list = @mis
share modes = no

[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
guest ok = no
printable = yes

[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes

<snip(more disk shares...)

Any help on this would be greatly appreciated!

Thanks,
Lars
Aug 12 '06 #1
0 1191

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: smartin | last post by:
python IIS cgi loading extremely slow I recently uninstalled python 1.5.2 and installed python 2.3 on a Windows 2000 server running IIS 5.0. The issue is that when submitting a cgi request to a...
5
by: garydevstore | last post by:
Hi, I have a table defined as CREATE TABLE ( IDENTITY (1, 1) NOT NULL , NULL , NULL , NOT NULL , NULL , (255) COLLATE SQL_Latin1_General_CP1_CS_AS
83
by: D. Dante Lorenso | last post by:
Trying to use the 'search' in the docs section of PostgreSQL.org is extremely SLOW. Considering this is a website for a database and databases are supposed to be good for indexing content, I'd...
2
by: gcmf8888 | last post by:
I use socket client to connect to a server written in C++. I found out that the C# socket connection(I didn't use TCPClient instead i used socket) is extremely slow(comparing to Java and C++ one I...
6
by: DCC-700 | last post by:
I am running VB for ASP.Net in VS.Net 2003 and am experiencing extremely slow response in the ide at times and the debugger. Below is additional detail on the problem. Any thoughts are much...
4
by: Grace Fang | last post by:
Hi, I am writing code to sort the columns according to the sum of each column. The dataset is huge (50k rows x 300k cols), so i need to read line by line and do the summation to avoid the...
0
by: Carlo Marchesoni | last post by:
I have an application that has a main.aspx page (something like a todo list). Clicking one of the items open an new window (javascript window.open) with a new aspx page. this is extremely slow....
5
by: coldpizza | last post by:
I am trying to fill a sqlite3 database with records, and to this end I have written a class that creates the db, the table and adds rows to the table. The problem is that the updating process is...
1
by: CSmith | last post by:
Design view moving extremely slow ...HELP!!!
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.