Dennis Leeuw
The use of mgetty+sendfax is based on lpr and sendfax. The printcap file needs to describe where a fax holds it's faxfiles, but that is for later. Let's start simple.
In the directory /etc/mgetty or /etc/mgetty+sendfax are the following configuration files:
Faxheader contains the string on the top of a fax sheet. Change to your liking (watch out! the first line needs to be empty):
FAX FROM: Made IT TO: @T@ PAGE: @P@ OF @M@
mgetty needs to be compiled with AutoPPP so login.conf configuration should look like this:
* - - /bin/login @
The faxrunq.config file contains information for the faxrunq program. A basic setup could look like this:
failure-send-mail n
maxfail-costly 5
maxfail-total 20
delete-sent-jobs y
fax-devices ttyS0
The mgetty configuration file. Modem definitions and init strings can be found here. A basic setup might look like this:
fax-id
speed 38400
issue-file /etc/issue.mgetty
The sendfax configuration file. Default configuration:
debug 5
fax-devices ttyS0
fax-id
max-tries 3
max-tries-continue y
A test might look like this. First we convert the PostScript file to G3 format:
faxrunq
Now create a printcap entry and restart lpd:
:sd=/var/spool/lpd/fax:\
:lp=/dev/null:\
:if=/usr/bin/faxspool:
This document was generated using the LaTeX2HTML translator Version 2K.1beta (1.48)
Copyright © 1993, 1994, 1995, 1996,
Nikos Drakos,
Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999,
Ross Moore,
Mathematics Department, Macquarie University, Sydney.
The command line arguments were:
latex2html -no_subdir -split 0 -show_section_numbers /tmp/lyx_tmpdir32589VvqP8o/lyx_tmpbuf32589rmdfOv/Fax_Manual.tex
The translation was initiated by Dennis Leeuw on 2002-06-06