Sending a fax

This sends the file news.txt to the recipients who are shown in the file customer- fax.

If this method is used then only one copy of the fax file is saved, plus a small control file per recipient, which means that a minimum of hard disk space is taken up.

4.4 Scheduled transmissions

A particular time for transmission can be given by using the parameter -t with the time as an argument. E.g.:

# faxsend -t 12:18 7586535 letter

which means that the file letter is put in the queue for transmission at 18 minutes past 12.

Naturally it is possible to combine the above functions so that e.g.:

# cat newsletter faxsend -l customerlist -t 0:30 -

puts newsletter in a queue for transmission to all customers whose fax number is in the customerlist file. However the actual transmission does not begin before

12.30at night, perhaps to minimize telephone costs.

4.5The ID of the fax in the queue

Each fax is given its own unique identity number before being placed in its respective queue. When being transmitted, the fax’s ID can be shown on the screen, after the fax has been placed in the queue, by giving the parameter -id to faxsend. It can look like this:

#faxsend -id 7586535 letter Converting files...OK Placing fax in queue...OK 1136

The above fax received the ID 1136.

4.6 Printing a fax before sending

By using the parameter -d, the fax can be printed out on a printer.

# faxsend -d laser 7586535 letter

prints out the fax on the laser printer before it is placed in the queue. Normally the UNIX command 1p is used for the printouts as well as the standard printer in the operating system. In order to change this the keywords LP, LP_PRINT- OPTION and DEFAULT_PRINTER in the configuration file are used.

4.7 The script xfax

Accompanying the XFAX distribution is a small command script known as xfax, which can be found under BINDIR. This command is for sending a fax, together

XFAX - User’s Guide 4.3a

14

Page 14
Image 14
Nordic Star Products 4.3A Scheduled transmissions, ID of the fax in the queue, Printing a fax before sending, Script xfax