Computing.Net > Forums > Linux > Samba Slow communication.

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Samba Slow communication.

Reply to Message Icon

Name: Pere
Date: July 18, 2002 at 10:26:52 Pacific
Comment:

Hi:

I've configured a rh7.3 linux machine as a samba server in order to share a HP printer with a win98 machine.

No problem when trying to print from linux (pretty fast), but form win98 it takes more than 2 minutes to start printing. (I have a 60 machines network).

Any idea??

Thank you
Pere.



Sponsored Link
Ads by Google

Response Number 1
Name: Hmmm
Date: July 18, 2002 at 16:38:23 Pacific
Reply:

2 minutes is'nt bad considering the printer is shared with 60 other machines. The job has to run through the pcs redirector across the network cable to the host machine, spooled, put in the print que then printed.

And of course printing directly from linux it will be spolled, qued and the printed-no nics, cable, switches or hubs to go through.


0

Response Number 2
Name: Tex
Date: July 19, 2002 at 08:44:36 Pacific
Reply:

The reason it seems slow, is that in order for the windows machine to print to your linux box, it has to spool the file.

The windows hosts have to completely create the spool file and then transfer that file to your shared printer. In fact what it happening is that a printer share on linux is nothing more than a shared directory where a spool file is sent. Once the entire file is sent, linux rips the file and prints it.

The lag time you are expiriencing is the complete time it takes for you windows box to spool the entire file. Normally when a machine goes to print (to a local printer) it will print while it is spooling the file in the background. That's why it seems like it is printing really fast.

Just for kicks, take a look in your temp directory where the spooled files are sent and print something from the windows machine. You will see that it takes forever for the windows mahinge to finally send the spooled file. But you will see that once it is there, it prints fast.

Check your samba settings to find the location of your spooled tmp directory.

I hope this helped!


0

Response Number 3
Name: Craig Harper
Date: August 26, 2002 at 00:47:23 Pacific
Reply:

Try configuring the linux box using the Raw Print Queue
instead of the HP Driver. Meaning the Client PC
configures the print out and the Server just forwards
the job to the printer. With out getting involved with
every job


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


linux 6.2 instalation automatically detect ip



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Samba Slow communication.

samba slow listing connection www.computing.net/answers/linux/samba-slow-listing-connection/11205.html

Slow mapping to Samba Server www.computing.net/answers/linux/slow-mapping-to-samba-server/1944.html

samba is slow, help www.computing.net/answers/linux/samba-is-slow-help/19237.html