Hi, I am with a SUSE 8.0 with Samba 2.2.5, I am with about 20 computers with Windows 98 accessing the files and printers on the samba server! The file access is all OK, but the printer access is slow! when I send a printer job from the windows is takes about a 1 minute to transfer 3 MB spool file to samba spool to start printing! I dont know why! when too many peoples print at the same time the all network stay slow.! the computer is a Pentium III 600 with 384MB ram! I am using LPRNG, the printcap pass thru a Print server. printcap of the samba! Plotter:\ :lp:\ :rm=192.168.0.8:\ :rp=9100:\ :sd=/var/spool/samba:\ :mx#0:\ :sh:\ :sf: epson1520:\ :lp:\ :rm=192.168.0.8:\ :rp=9101:\ :sd=/var/spool/samba:\ :mx#0:\ :sh:\ :sf: hp930c:\ :lp:\ :rm=192.168.0.8:\ :rp=9102:\ :sd=/var/spool/samba:\ :mx#0:\ :sh:\ :sf: hp2200:\ :lp:\ :rm=192.168.0.88:\ :rp=Port1:\ :sd=/var/spool/samba:\ :mx#0:\ :sh:\ :sf: the smb.conf is the follow # Global parameters [global] workgroup = tectran netbios name = server server string = Samba %v em (%L) security = user interfaces = 192.168.0.0/24 bind interfaces only = no domain logons = yes encrypt passwords = Yes update encrypted = Yes min passwd length = 3 # password server = server smb passwd file = /etc/samba/smbpasswd passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* username map = /etc/samba/smbusers unix password sync = Yes log level = 1 log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 os level = 64 preferred master = yes local master = yes domain master = yes dns proxy = No lpq cache time = 15 # wins server = 192.168.0.1 wins support = yes name resolve order = lmhosts host bcast guest account = ftp printer admin = rodrigocoelho, xico, root create mask = 0774 printcap name = /etc/samba/printcap load printers = yes printing = lprng print command = /usr/bin/lpr -r -P%p %s -oraw lpq command = /usr/bin/lpq -P%p lprm command = /usr/bin/lprm -P%p %j client code page = 850 character set = ISO8859-1 code page directory = /usr/share/samba/codepages logon path = \\%L\profiles\%U logon script = %G.bat Please, it is the second time that I send this question and nobody answer me! please! anyone had a IDEA? _______________________________________________________________________ Yahoo! GeoCities Tudo para criar o seu site: ferramentas fáceis de usar, espaço de sobra e acessórios. http://br.geocities.yahoo.com/
Have you checked, with tcpdump or looking at your samba logs, that the transfer rate is really slow, not that there is a delay due to the windows clients holding the jobs before they send them? Does this happen will all printer queues? Could this be a specific printer driver problem? And, the delay is getting the jobs spooled on your samba server, not getting them accepted on your print server? Joel On Mon, Sep 23, 2002 at 05:23:18PM -0300, Rodrigo Sirio Coelho wrote:> Hi, > > I am with a SUSE 8.0 with Samba 2.2.5, I am with about 20 computers with > Windows 98 accessing the files and printers on the samba server! The > file access is all OK, but the printer access is slow! when I send a > printer job from the windows is takes about a 1 minute to transfer 3 MB > spool file to samba spool to start printing! I dont know why! when too > many peoples print at the same time the all network stay slow.! the > computer is a Pentium III 600 with 384MB ram! I am using LPRNG, the > printcap pass thru a Print server. > printcap of the samba! > > Plotter:\ > :lp:\ > :rm=192.168.0.8:\ > :rp=9100:\ > :sd=/var/spool/samba:\ > :mx#0:\ > :sh:\ > :sf: > > epson1520:\ > :lp:\ > :rm=192.168.0.8:\ > :rp=9101:\ > :sd=/var/spool/samba:\ > :mx#0:\ > :sh:\ > :sf: > > hp930c:\ > :lp:\ > :rm=192.168.0.8:\ > :rp=9102:\ > :sd=/var/spool/samba:\ > :mx#0:\ > :sh:\ > :sf: > > hp2200:\ > :lp:\ > :rm=192.168.0.88:\ > :rp=Port1:\ > :sd=/var/spool/samba:\ > :mx#0:\ > :sh:\ > :sf: > > > > the smb.conf is the follow > > # Global parameters > [global] > workgroup = tectran > netbios name = server > server string = Samba %v em (%L) > security = user > interfaces = 192.168.0.0/24 > bind interfaces only = no > domain logons = yes > encrypt passwords = Yes > update encrypted = Yes > min passwd length = 3 > > # password server = server > > smb passwd file = /etc/samba/smbpasswd > passwd program = /usr/bin/passwd %u > passwd chat = *New*UNIX*password* %n\n > *Retype*new*UNIX*password* %n\n > *passwd:*all*authentication*tokens*updated*successfully* > username map = /etc/samba/smbusers > unix password sync = Yes > log level = 1 > log file = /var/log/samba/log.%m > max log size = 50 > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > > os level = 64 > preferred master = yes > local master = yes > domain master = yes > dns proxy = No > lpq cache time = 15 > # wins server = 192.168.0.1 > wins support = yes > name resolve order = lmhosts host bcast > > guest account = ftp > printer admin = rodrigocoelho, xico, root > create mask = 0774 > printcap name = /etc/samba/printcap > load printers = yes > printing = lprng > print command = /usr/bin/lpr -r -P%p %s -oraw > lpq command = /usr/bin/lpq -P%p > lprm command = /usr/bin/lprm -P%p %j > client code page = 850 > character set = ISO8859-1 > code page directory = /usr/share/samba/codepages > logon path = \\%L\profiles\%U > logon script = %G.bat > > > > Please, it is the second time that I send this question and nobody > answer me! please! anyone had a IDEA? > > > _______________________________________________________________________ > Yahoo! GeoCities > Tudo para criar o seu site: ferramentas f?ceis de usar, espa?o de sobra e acess?rios. > http://br.geocities.yahoo.com/ > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Yes! the transfer of the Spool only is really slow! the problem is with all printers. Maybe can be the LPD! there is a delay (about 10 seconds) when the linux is starting the service! (LPD). Thank you to answer me!> Have you checked, with tcpdump or looking at your samba logs, that > the transfer rate is really slow, not that there is a delay due to the > windows clients holding the jobs before they send them? > > Does this happen will all printer queues? Could this be a specific printer > driver problem? > > And, the delay is getting the jobs spooled on your samba server, not > getting them accepted on your print server? > > Joel > > On Mon, Sep 23, 2002 at 05:23:18PM -0300, Rodrigo Sirio Coelho wrote: > > Hi, > > > > I am with a SUSE 8.0 with Samba 2.2.5, I am with about 20 computers with > > Windows 98 accessing the files and printers on the samba server! The > > file access is all OK, but the printer access is slow! when I send a > > printer job from the windows is takes about a 1 minute to transfer 3 MB > > spool file to samba spool to start printing! I dont know why! when too > > many peoples print at the same time the all network stay slow.! the > > computer is a Pentium III 600 with 384MB ram! I am using LPRNG, the > > printcap pass thru a Print server. > > printcap of the samba! > > > > Plotter:\ > > :lp:\ > > :rm=192.168.0.8:\ > > :rp=9100:\ > > :sd=/var/spool/samba:\ > > :mx#0:\ > > :sh:\ > > :sf: > > > > epson1520:\ > > :lp:\ > > :rm=192.168.0.8:\ > > :rp=9101:\ > > :sd=/var/spool/samba:\ > > :mx#0:\ > > :sh:\ > > :sf: > > > > hp930c:\ > > :lp:\ > > :rm=192.168.0.8:\ > > :rp=9102:\ > > :sd=/var/spool/samba:\ > > :mx#0:\ > > :sh:\ > > :sf: > > > > hp2200:\ > > :lp:\ > > :rm=192.168.0.88:\ > > :rp=Port1:\ > > :sd=/var/spool/samba:\ > > :mx#0:\ > > :sh:\ > > :sf: > > > > > > > > the smb.conf is the follow > > > > # Global parameters > > [global] > > workgroup = tectran > > netbios name = server > > server string = Samba %v em (%L) > > security = user > > interfaces = 192.168.0.0/24 > > bind interfaces only = no > > domain logons = yes > > encrypt passwords = Yes > > update encrypted = Yes > > min passwd length = 3 > > > > # password server = server > > > > smb passwd file = /etc/samba/smbpasswd > > passwd program = /usr/bin/passwd %u > > passwd chat = *New*UNIX*password* %n\n > > *Retype*new*UNIX*password* %n\n > > *passwd:*all*authentication*tokens*updated*successfully* > > username map = /etc/samba/smbusers > > unix password sync = Yes > > log level = 1 > > log file = /var/log/samba/log.%m > > max log size = 50 > > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > > > > os level = 64 > > preferred master = yes > > local master = yes > > domain master = yes > > dns proxy = No > > lpq cache time = 15 > > # wins server = 192.168.0.1 > > wins support = yes > > name resolve order = lmhosts host bcast > > > > guest account = ftp > > printer admin = rodrigocoelho, xico, root > > create mask = 0774 > > printcap name = /etc/samba/printcap > > load printers = yes > > printing = lprng > > print command = /usr/bin/lpr -r -P%p %s -oraw > > lpq command = /usr/bin/lpq -P%p > > lprm command = /usr/bin/lprm -P%p %j > > client code page = 850 > > character set = ISO8859-1 > > code page directory = /usr/share/samba/codepages > > logon path = \\%L\profiles\%U > > logon script = %G.bat > > > > > > > > Please, it is the second time that I send this question and nobody > > answer me! please! anyone had a IDEA? > > > > > > _______________________________________________________________________ > > Yahoo! GeoCities > > Tudo para criar o seu site: ferramentas f?ceis de usar, espa?o de sobrae acess?rios.> > http://br.geocities.yahoo.com/ > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba
Just a thought, but, is this dos or a windows program doing the printing? Does this delay happen when you send print jobs directly from the samba server? You do have one odd think in your /etc/printcap. You are using the samba spool directory as the spool directory for the lprng. Is this a good idea? Joel On Mon, Sep 23, 2002 at 09:45:21PM -0300, Rodrigo Sirio Coelho wrote:> Yes! the transfer of the Spool only is really slow! the problem is with all > printers. Maybe can be the LPD! there is a delay (about 10 seconds) when the > linux is starting the service! (LPD). > > Thank you to answer me! > > > Have you checked, with tcpdump or looking at your samba logs, that > > the transfer rate is really slow, not that there is a delay due to the > > windows clients holding the jobs before they send them? > > > > Does this happen will all printer queues? Could this be a specific printer > > driver problem? > > > > And, the delay is getting the jobs spooled on your samba server, not > > getting them accepted on your print server? > > > > Joel > > > > On Mon, Sep 23, 2002 at 05:23:18PM -0300, Rodrigo Sirio Coelho wrote: > > > Hi, > > > > > > I am with a SUSE 8.0 with Samba 2.2.5, I am with about 20 computers with > > > Windows 98 accessing the files and printers on the samba server! The > > > file access is all OK, but the printer access is slow! when I send a > > > printer job from the windows is takes about a 1 minute to transfer 3 MB > > > spool file to samba spool to start printing! I dont know why! when too > > > many peoples print at the same time the all network stay slow.! the > > > computer is a Pentium III 600 with 384MB ram! I am using LPRNG, the > > > printcap pass thru a Print server. > > > printcap of the samba! > > > > > > Plotter:\ > > > :lp:\ > > > :rm=192.168.0.8:\ > > > :rp=9100:\ > > > :sd=/var/spool/samba:\ > > > :mx#0:\ > > > :sh:\ > > > :sf: > > > > > > epson1520:\ > > > :lp:\ > > > :rm=192.168.0.8:\ > > > :rp=9101:\ > > > :sd=/var/spool/samba:\ > > > :mx#0:\ > > > :sh:\ > > > :sf: > > > > > > hp930c:\ > > > :lp:\ > > > :rm=192.168.0.8:\ > > > :rp=9102:\ > > > :sd=/var/spool/samba:\ > > > :mx#0:\ > > > :sh:\ > > > :sf: > > > > > > hp2200:\ > > > :lp:\ > > > :rm=192.168.0.88:\ > > > :rp=Port1:\ > > > :sd=/var/spool/samba:\ > > > :mx#0:\ > > > :sh:\ > > > :sf: > > > > > > > > > > > > the smb.conf is the follow > > > > > > # Global parameters > > > [global] > > > workgroup = tectran > > > netbios name = server > > > server string = Samba %v em (%L) > > > security = user > > > interfaces = 192.168.0.0/24 > > > bind interfaces only = no > > > domain logons = yes > > > encrypt passwords = Yes > > > update encrypted = Yes > > > min passwd length = 3 > > > > > > # password server = server > > > > > > smb passwd file = /etc/samba/smbpasswd > > > passwd program = /usr/bin/passwd %u > > > passwd chat = *New*UNIX*password* %n\n > > > *Retype*new*UNIX*password* %n\n > > > *passwd:*all*authentication*tokens*updated*successfully* > > > username map = /etc/samba/smbusers > > > unix password sync = Yes > > > log level = 1 > > > log file = /var/log/samba/log.%m > > > max log size = 50 > > > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > > > > > > os level = 64 > > > preferred master = yes > > > local master = yes > > > domain master = yes > > > dns proxy = No > > > lpq cache time = 15 > > > # wins server = 192.168.0.1 > > > wins support = yes > > > name resolve order = lmhosts host bcast > > > > > > guest account = ftp > > > printer admin = rodrigocoelho, xico, root > > > create mask = 0774 > > > printcap name = /etc/samba/printcap > > > load printers = yes > > > printing = lprng > > > print command = /usr/bin/lpr -r -P%p %s -oraw > > > lpq command = /usr/bin/lpq -P%p > > > lprm command = /usr/bin/lprm -P%p %j > > > client code page = 850 > > > character set = ISO8859-1 > > > code page directory = /usr/share/samba/codepages > > > logon path = \\%L\profiles\%U > > > logon script = %G.bat > > > > > > > > > > > > Please, it is the second time that I send this question and nobody > > > answer me! please! anyone had a IDEA? > > > > > > > > > _______________________________________________________________________ > > > Yahoo! GeoCities > > > Tudo para criar o seu site: ferramentas f?ceis de usar, espa?o de sobra > e acess?rios. > > > http://br.geocities.yahoo.com/ > > > -- > > > To unsubscribe from this list go to the following URL and read the > > > instructions: http://lists.samba.org/mailman/listinfo/samba > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba