LPRng: Chooser problem
I have an external chooser program that is called for the load balancing queues. This worked great, when there were less than 10 jobs in the queue. I tested it for weeks like this. Now suddenly LPRng has started to send a list of no printers to the chooser's STDIN even though both serving queues are free. This seem to happen when there are 20 or more jobs in the load balancing queue. It continues to send an empty printer list for 2-3 minutes even though both serving queues are empty. Then finally LPRNg sends a list of the now two free printers to the script so it can choose. This effectivly halts any printing for 2-3 minutes. Anyone run into this? I tried changing chooser_interval from default 10 seconds to 2 seconds, but difference. It works great when the number of jobs in the load balancing queue are few. If I turn off the chooser script and let LPRNG round-robin it works without problems and jobs are moved to the serving queues without delay. Suggestions? Thanks, Henrik - YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST mailaddr | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST mailaddr | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -
Re: LPRng: Datafile and incoming_control_filter
Hi Stefan, the datafile is in the spool directory (which is defined in the 'printcap' or globally in the 'lpd.conf' file). See the manual for the incoming_control_filter option or read it online: http://www.lprng.com/LPRng-HOWTO/LPRng-HOWTO.html#INCOMINGCONTROLFILTER best regards ~christoph -- /* Christoph Beyer | Office: Building 2b / 23 *\ * DESY|Phone: 040-8998-2317* * - IT - | Fax: 040-8998-4060* \* 22603 Hamburg | http://www.desy.de */ On 2 Sep 2003, Gruber Stefan wrote: Hi everybody! Got a little question: how can i read the datafile produced by lprng? I've tried every $Variable vom 0-99 and A-Z a-z, I cannot get the information where my datafile is placed (Path/Name). In another posting here I saw that someone wrote to the controlfile in an incoming_control_filter but I couldn't find that routine. Thx a lot stg # This e-mail message has been scanned for Viruses and Content by MailMarshal For more information please visit www.marshalsoftware.com # - YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST mailaddr | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST mailaddr | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. - - YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST mailaddr | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST mailaddr | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -
LPRng: Re: Chooser problem
On Tue, 2 Sep 2003, Henrik Edlund wrote: HE The patch will only do this for external chooser programs/scripts and HE not if using the internal (written in C) chooser function. Sorry about this. It will affect both external and internal chooser as I had to place it where it is so that thre is no memory leak. Have to free that memory before break-ing. - YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST mailaddr | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST mailaddr | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -