We have implemented a faxserver using LPRng.  The faxing is currently
done using a printfilter and has been working quite well on another
machine for some time.

We started developing a problem in which LPRng would "drop"
faxes/printjobs.  I.e.  We could send 2500 "faxes/printjobs" to a
specific queue, and we would lose a percentage of them.  We had since
put in enough "checking" so that the queue couldn't really get
overloaded too badly.

I am now trying to implement a new faxserver (using LPRng 3.8.4 and SuSE
7.3), but I have run into a couple of problems.

At first, I started receiving Open_gdbm errors (using the stock LPRng
3.7.4 with SuSE), and have since stepped up to 3.8.4 building it
myself.  The Open_gdbm errors have disappeared (from what I can tell,
I'm not 100% sure of this because another problem has made itself more
apparent).  I also increased /proc/sys/fs/file-max to 16384.

The problem now is that if I send a single/couple prints to a queue,
they will process through the queue (most of the time), but will still
stay in the queue and remark themselves as "done".  For example:

Printer: fax@new-faxserver
 Queue: no printable jobs in queue
 Server: no server active
 Status: job 'cfA733new-faxserver.alliedbuilding.com' save at
10:02:32.249
Rank     Owner/ID                   Class Job Files                 
Size Time
done     root                         A   733 /tmp/mark_statements. 
3690 10:02:32

Now, if I sent 100 of these at the same time, they eventually go away,
save for a couple.
Is there a way I can disable this "done" message?  BTW, it also keeps
the cf/hf/df files in the queue as well.

I know there is another problem as well, maybe still related to the
Open_gdbm or otherwise, but this one is bothering me pretty badly.

Also, the "fax" queue hands off the printjobs to 17 other fax devices to
actually do the work.  It decides which queue to put it in (i.e. less
full, or same fax number, or print it, or e-mail as a pdf).

Thanks,

--Clint Fast

PS-  Here is an excerpt of the /etc/printcap
===
fax:\
        :lp=/dev/null:\
        :br#57600:\
        :sd=/var/spool/lpd/fax:\
        :mx#0:\
        :sh:\
        :if=/usr/lib/filters/fax_server_printfilter:
fax1:\
        :lp=/dev/null:\
        :br#57600:\
        :sd=/var/spool/lpd/fax:\
        :mx#0:\
        :sh:\
        :if=/usr/lib/filters/fax_client_printfilter:
fax2:\... and on...'

the fax_server_printfilter does a little magic, but in the end runs a
"cat <printjob> | lpr -Pfax<NN> -Z...".  If you'd like to see them, I
can post them.

-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to