I have setup a dedicated print server running on RH 8 with Samba 2.2.5-10 and LPRng-3.8.9-6 to service a HP9000 printer. The print queue for this HP9000 gets it print jobs from a Windows server via a script and the queue is set to HOLDALL status. The HOLDALL status is necessary because the script runs overnight to produce the print jobs which can total anywhere from 500 to 12,000 individual print jobs. My problem is that samba defaults to accepting up to 1000 print jobs then starts discarding print jobs. I have edited smb.conf and added both Max Print Jobs = 20000 Total Print Jobs = 21000 But it still doesn't work. Once the queue reaches 1000 print jobs it starts deleting print jobs to make room for the newer print jobs being created by the script. Can anyone give me some advice on what I'm missing.. -- Chuck Stuettgen <cstuettgen@myrealbox.com>
I think you need to set longnumber in your lpd.conf (or on this particular printer in the printcap file) - this will increase the 3 digit job number to 6 digits in length. Your best bet may be to ask on the LPRng mailing list if this doesn't work, as it is likely a problem in there. However, this should do it. Good luck! Bill Knox Senior Operating Systems Programmer/Analyst The MITRE Corporation On 5 Jul 2003, Chuck Stuettgen wrote:> Date: 05 Jul 2003 14:35:10 -0500 > From: Chuck Stuettgen <cstuettgen@myrealbox.com> > To: samba <samba@lists.samba.org> > Subject: [Samba] Max Print Jobs Problem > > I have setup a dedicated print server running on RH 8 with Samba > 2.2.5-10 and LPRng-3.8.9-6 to service a HP9000 printer. The print queue > for this HP9000 gets it print jobs from a Windows server via a script > and the queue is set to HOLDALL status. The HOLDALL status is necessary > because the script runs overnight to produce the print jobs which can > total anywhere from 500 to 12,000 individual print jobs. > > My problem is that samba defaults to accepting up to 1000 print jobs > then starts discarding print jobs. > > I have edited smb.conf and added both > > Max Print Jobs = 20000 > Total Print Jobs = 21000 > > But it still doesn't work. Once the queue reaches 1000 print jobs it > starts deleting print jobs to make room for the newer print jobs being > created by the script. > > Can anyone give me some advice on what I'm missing.. > > > > -- > Chuck Stuettgen <cstuettgen@myrealbox.com> > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
I have setup a dedicated print server running on RH 8 with Samba 2.2.5-10 and LPRng-3.8.9-6 to service a HP9000 printer. The print queue for this HP9000 gets it print jobs from a Windows server via a script and the queue is set to HOLDALL status. The HOLDALL status is necessary because the script runs overnight to produce the print jobs which can total anywhere from 500 to 12,000 individual print jobs. My problem is that samba defaults to accepting up to 1000 print jobs then starts discarding print jobs. I have edited smb.conf and added both Max Print Jobs = 20000 Total Print Jobs = 21000 But it still doesn't work. Once the queue reaches 1000 print jobs it starts deleting print jobs to make room for the newer print jobs being created by the script. Can anyone give me some advice on what I'm missing.. -- Chuck Stuettgen <cstuettgen@myrealbox.com>
Chuck, Try setting Max Print Jobs = 0 (unlimited), restart samba, then run "testparm -x" to see if the change took effect. NOTE: I just changed the value, and ran "testparm -x" without restarting samba, and the value changed from the default of 1000 to 0. I'd still restart, just to be sure the running daemon reread smb.conf. Jim> -----Original Message----- > From: Chuck Stuettgen [mailto:cstuettgen@myrealbox.com] > Sent: Monday, July 07, 2003 5:49 PM > To: samba > Subject: [Samba] Max Print Jobs Problem > > > I have setup a dedicated print server running on RH 8 with Samba > 2.2.5-10 and LPRng-3.8.9-6 to service a HP9000 printer. The > print queue > for this HP9000 gets it print jobs from a Windows server via a script > and the queue is set to HOLDALL status. The HOLDALL status > is necessary > because the script runs overnight to produce the print jobs which can > total anywhere from 500 to 12,000 individual print jobs. > > My problem is that samba defaults to accepting up to 1000 print jobs > then starts discarding print jobs. > > I have edited smb.conf and added both > > Max Print Jobs = 20000 > Total Print Jobs = 21000 > > But it still doesn't work. Once the queue reaches 1000 print jobs it > starts deleting print jobs to make room for the newer print jobs being > created by the script. > > Can anyone give me some advice on what I'm missing.. > > > > -- > Chuck Stuettgen <cstuettgen@myrealbox.com> > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >