# Fax Reception

Argus has ability of Fax reception using external receiver programs or internal routines. Each modem has a "Fax" tab that defines whether internal or external Fax receiver is to be used. Answer like `+FCON`, `CONNECT FAX`, or `+FCO` from modem signals the established facsimile connection,

Most of modern fax-modems have Class 2 because it is easy to use and implement software support, that is why your fax-modem must be set to use Class 2 to make it possible to receive faxes using Argus as a front-end . To do this, use `+FCLASS=2` (or `+FCLASS=2.0` for USR modems) in modem init string to initiate Fax Class 2 operation. All other fax classes are not supported in the current version of Argus. Please refer to your modem's manual to determine the fax class supported by your modem. Note that Class 1 is not supported when using with either internal or external fax receiver.

## External fax receiver software

When external software is used, and Argus launches an external fax receiver, as mentioned in External Fax Receiver string of Modem configuration dialogue. It is possible to use handshake switches as described in Doors chapter.

This is an example of Config/Dial-up/Modems setting for ZyXEL E+ modem for receiving faxes using BGFAX B.J. Guillot:

External Fax receiver |
    c:\bgfax\bgfax32.exe /fzyx c:\bgfax h%h z /dte:%b
Commands / Init |
    ATZ|AT+FCLASS=6|
Commands / Answer |
    AT+FAA=1;A!

## Internal fax receiver software

Each mailer line now has a "Fax Inbound" fields. Received fax pages are placed there in TIFF (Tagged Image Format File). Internal Fax receiver supports both fax services Class 2 and Class 2.0.

Answer strings are generally the same as for external receiver.

For class 2 fax modems:

    ~AT&F|AT+FCLASS=2|AT+FLID="ID"|AT+FAA=1;a!

For class 2.0 fax modems:

    ~AT&F|AT+FCLASS=2.0|AT+FLI="ID"|AT+FNR=1,1,1,1|at+FAA=1;a!

It is possible to launch an external application (or set a file-flag) to handle a received TIFF fax document. Prefixes are the same as in Externals/Post-processors. Use macros to obtain a file name of received TIFF fax document:

    %PATHNAME%
| fully-qualified file name, e.g. `d:\fl\infax\03Jan003.tif`
    %PATH%
| path to the file, e.g. `d:\fl\infax\`
    %NAME%
| file name (without path and extension, e.g. `03Jan003`)
    %EXT%
| file extension, e.g. `.tif`

Combination `%PATH%%NAME%%EXT%` is identical to `%PATHNAME%`

## DTE rate problem

The most of Class 2 fax modems switch DTE rate to 19.2 Kbps on detection of the first Phase B preamble, but some modems leave DTE rate unchanged. DTE rates of the mailer and the fax modem must be synchronised. This is gained by proper setting of "Switch DTE to 19.2 Kbps" option of "Fax" tab of "Modem configuration" dialogue box. Reception of debris after `+FCON` or `+FCO` means improper DTE switch mode setting.