Hi, I have an issue in dos printing. My okidata dot matrix printer is directly connected to linux box and is a shared printer in samba . I am using lprng. My problem is with dos printing. When i print, it spools first indicated in the windows printer window. It takes a minute before it actually sends to the linux box, you will see an indicator of spooled bytes. Once it is submitted it prints right away. Is there a way I can speed this up a little bit. My clients are complaining about this. I tried options of print directly to printer, but it is the same result. I use the net use lpt1 \\server\printshare option to make dos apps print work. Any help or link is highly appreciated. Thank you. Dominic Y. Deferia
I don't know anything about dos printing. Frequently odd delays like this are due to attempts of the windows client to authenticate in ways that samba is not expecting or supporting. Or, there may be a name resolution problem and the delay you see is a timeout waiting for a non-existent host to respond. I have had success using tcpdump to track down this sort of problem. Have you looked in the samba logs? Joel On Fri, Sep 13, 2002 at 09:41:32PM -0400, Dominic Deferia wrote:> Hi, > > I have an issue in dos printing. My okidata dot matrix printer is directly > connected to linux box and is a shared printer in samba . I am using lprng. > My problem is with dos printing. When i print, it spools first indicated in > the windows printer window. It takes a minute before it actually sends to > the linux box, you will see an indicator of spooled bytes. Once it is > submitted it prints right away. Is there a way I can speed this up a little > bit. My clients are complaining about this. I tried options of print > directly to printer, but it is the same result. I use the net use lpt1 > \\server\printshare option to make dos apps print work. Any help or link is > highly appreciated. > > Thank you. > > > Dominic Y. Deferia > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
If a DOS application does not close the printer port Windows waits 45 seconds after receiving data before printing. The delay can be shortened to 10 seconds by adding the following lines after the [386enh] section in the system.ini file on the client workstations: [Network] PrintBufTime=10 [IFSMGR] PrintBufTime=10 Dominic Deferia wrote:> > Hi, > > I have an issue in dos printing. My okidata dot matrix printer is directly > connected to linux box and is a shared printer in samba . I am using lprng. > My problem is with dos printing. When i print, it spools first indicated in > the windows printer window. It takes a minute before it actually sends to > the linux box, you will see an indicator of spooled bytes. Once it is > submitted it prints right away. Is there a way I can speed this up a little > bit. My clients are complaining about this. I tried options of print > directly to printer, but it is the same result. I use the net use lpt1 > \\server\printshare option to make dos apps print work. Any help or link is > highly appreciated. > > Thank you. > > Dominic Y. Deferia > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba-- =====================================================================Herb Lewis Silicon Graphics Networking Engineer 1600 Amphitheatre Pkwy MS-510 Strategic Software Organization Mountain View, CA 94043-1351 herb@sgi.com Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 ======================================================================
Thanks , I was able to do this. In 2000 it can be done too by setting the following parameters in registry: Hklm > system > CurrentControlSet > Control > Wow > Lpt timeout Thanks for all the support. -----Original Message----- From: herb@chomps.engr.sgi.com [mailto:herb@chomps.engr.sgi.com]On Behalf Of Herb Lewis Sent: Monday, September 16, 2002 11:44 AM To: Dominic Deferia Cc: Samba (E-mail) Subject: Re: [Samba] printing in dos slows If a DOS application does not close the printer port Windows waits 45 seconds after receiving data before printing. The delay can be shortened to 10 seconds by adding the following lines after the [386enh] section in the system.ini file on the client workstations: [Network] PrintBufTime=10 [IFSMGR] PrintBufTime=10 Dominic Deferia wrote:> > Hi, > > I have an issue in dos printing. My okidata dot matrix printer is directly > connected to linux box and is a shared printer in samba . I am usinglprng.> My problem is with dos printing. When i print, it spools first indicatedin> the windows printer window. It takes a minute before it actually sends to > the linux box, you will see an indicator of spooled bytes. Once it is > submitted it prints right away. Is there a way I can speed this up alittle> bit. My clients are complaining about this. I tried options of print > directly to printer, but it is the same result. I use the net use lpt1 > \\server\printshare option to make dos apps print work. Any help or linkis> highly appreciated. > > Thank you. > > Dominic Y. Deferia > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba-- =====================================================================Herb Lewis Silicon Graphics Networking Engineer 1600 Amphitheatre Pkwy MS-510 Strategic Software Organization Mountain View, CA 94043-1351 herb@sgi.com Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 ======================================================================