Sending a fax
XFAX - User’s Guide 4.3a
15
with a cover sheet, in a simple way. The user is requested to feed in the recipi-
ent’s fax number, name and company, and then a page with this is created and the
sender’s (your) information plus a message which can be entered in. You can
also add files that are to be sent after the introductory cover sheet. This is useful
if you wish, for example, to send a price list that is stored in a file to a prospec-
tive customer together with a few polite words.
You can also set up a telephone book to use together with xfax. Not only can glo-
bal telephone books be arranged for all users of XFAXDIR/faxdir but personal
telephone books can also be set up for each user in the directory .faxdir under the
user’s home directory. The format on the file is one recipient per line and each
line consists of four fields with “:” as a field separator. The first field contains the
name you want to use and the second field contains the fax number. Fields three
and four can contain the recipient’s name and company respectively, but these
need not be given. E.g.:
icab:7586535:Stefan Norlin:Infoflex Connect AB
nisses:012-345678:Nisse Karlsson
If a recipient is chosen from a telephone book the system proposes the recipient’s
name and company on the cover sheet, but this can be changed if so required.
Windows clients also use the telephone books in the system.
Note. If an area code given in the telephone number corresponds with that which
is defined by LOCAL_PREFIX in the configuration file, it is automatically
removed before the fax is placed in the queue. This means that it is possible to
always give the area code, e.g. in the telephone book, without any problems aris-
ing during transmission.
4.8 The script faxadm
Faxadm is another script that gives a simple menu for the user’s fax handling.
This program is an example of how, with simple aids, you can create a more easy
to use user interface for your fax users. You are welcome to look in both xfax and
faxadm scripts to get your own ideas on how the tools in XFAX can be used.
4.9 Document codes
In order to facilitate transmission from an environment where it is not possible to
give a fax number in a simple way, the faxsend command can handle codes that
the user places in the document. During conversion faxsend searches for these
codes and makes use of the information. The actual code is naturally removed
and is not included in the finished fax.
The code is given in the document within square brackets (if it is not defined
with the aid of the keywords CODE_START and CODE_END), e.g.
[[FAX=123456]].
Note. If an area code given in the telephone number corresponds with that which
is defined by LOCAL_PREFIX in the configuration file, it is automatically
removed before the fax is placed in the queue. This means that it is possible to