Handling faxes

6.5 Printing a fax

Faxes that lie in a queue for outgoing faxes plus received faxes can be printed out on an HP Laserjet compatible printer. The command that is used is faxprint with the fax’s ID or a file name as an argument. The fax’s ID can be obtained by means of the command faxq.

For example:

# faxprint -d LASER 28

in order to print out a fax with ID 28 on the printer LASER, or

# faxprint -d hplj /usr/spool/fax/D.00023

in order to print out the fax file D.00023 on the printer hplj.

Normally, the UNIX command lp is used for printing and the standard printer in the operativing system. To change this the keywords LP, LP_PRINT_OPTION and DEFAULT_PRINTER in the configuration file can be used.

6.6 Listing faxes in a particular directory

Faxes that it has not been possible to transmit after the maximum number of attempts specified will be, if NO_ERROR_SAVE has not been defined, moved to the directory Fax under the home directory of the user who placed the fax in the queue. In order to list the faxes that are in this, or some other directory, the parameter -dis used to faxq. When this parameter is used alone, files in $HOME/Fax are shown. E.g.:

#faxq -d Directory /Fax

ID

Fax number

Sec Try Time

LC User

Pgs

14

55576861

2 3 11:01 19980601 BUSY stenor

2

The command searches for files which have a name beginning with S. and R. and which are recognized as XFAX files. The information that is listed includes the recipient’s fax number, the time when the fax was first placed in the queue plus the name of the user who placed the fax in the queue.

6.7 Routine maintenance

When XFAX is set up in accordance with requirements and started, the system requires very little maintenance. It can be worth keeping an eye on the size of the statistics file to see that there is no old data and control files remaining in SPOOLDIR. If you run mail integration, there is a debug trigger which creates log files under /tmp or ETCDIR. You will not want to have these files remaining if you run in production.

It is appropriate to set up a job for “cron” which is run each night or similar. Before clearing out the statistics files you can print out the data if you think you might have use for it.

XFAX - User’s Guide 4.3a

21

Page 21
Image 21
Nordic Star Products 4.3A manual Printing a fax, Listing faxes in a particular directory, Routine maintenance