SetupCommand

This command is sent before every send and before every answer (after the reset command).

Use a single command string. For example,

HKR, Fax, SetupCommand,, "ATS7=255&D3&K4"
 

The command should configure the modem as follows:

Windows 95 and NT-SUR fax software require software (Xon/Xoff) flow control. The software uses the following algorithm to determine the command to be used for flow control: first it tries "AT&K4". It

then (even if the modem returned OK to AT&K4) tries "AT\Q1", and if that worked, it tries "ATJ0'. If no commands worked so far, it tries "AT&K5". Using this algorithm results in one of the following flow control commands: "AT&K4", "AT&K4\Q1", "AT&K4\Q1\J0", "AT\Q1", "AT\Q1\J0", or "AT&K5".

This algorithm works is a vast majority of cases. Two known exceptions are US Robotics(r) and certain Hayes(r) modems. These are special-cased in the fax driver (but could equally easily have been taken care of via the INF file).

See also

Protocol and Port Settings