--------------------------------------------------------------------------
Setup hints for using BGFAX with the USR 21.6K/FD 2.12            03-24-94
B.J. Guillot
FidoNet 106/400                              InterNet: st1r8@jetson.uh.edu
--------------------------------------------------------------------------

NOTE: If you want to use a 09/20/93 model USR modem with BGFAX, you
      will need to use the /OU switch on the command line.  BGFAX defaults
      to use the 12/08/93 firmware.

Keep in mind that fax commands cannot be stored in NVRAM.

Here is the relevant information from FDSETUP ...

[FDSETUP] Modem -> Command Strings
  Dial ..... AT
   Prefix .. +FCLASS=0DT
  Init-1 ... ATZ|
  Init-2 ... AT+FCLASS=2.0|
  Init-3 ... AT+FLI="713 555 1212"|

  +fclass=0dt              enables data mode operation on outgoing calls
  +fclass=2.0              enables fax mode operation
  +fli="713 555 1212"      sets your FAX ID, up to 20 characters
  +fnr=1,1,1               tells modem to let BGFAX know connect speed

[FDSETUP] Modem -> Answer control
  Manual answer    Yes
  Force answer ... AT+FCLASS=2.0|~AT+FAA=1+FNR=1,1,1;A|
  Answer delay ... 2

The "+faa=1" causes the modem to answer adaptively, i.e., to automatically
determine whether the incoming call is fax or data and return the response
to the modem.  Why are we duplicating the "+fclass=2.0" command?  In case
you were attempting to dial out and experience a "NO DIALTONE" situation,
it will cause the modem to reinitialize fax mode so that the +faa=1 command
will be accepted.  The answer delay may need to be modified if you are
using an external Caller ID box.

[FDSETUP] Mailer -> Errorlevels
  Fax ... 255

[FDSETUP] Modem -> Default Settings -> Messages
   Fax ... +FCO

FDRUN.BAT should contain something similar to ...

@echo off
c:
cd\fd
fd
if errorlevel 255 goto bgfax
if errorlevel 103 maint.bat
if errorlevel 102 toss.bat
if errorlevel 101 local.bat
if errorlevel 100 dobbs.bat
goto end
:fax
  rem ---1 is for com1, and z is for zfax format
  bgfax /fco c:\bgfax 1 z
  rem ---if /fco gives you problems, try using /fcos
  fdrun.bat
:end

==========================================================================

Regards,
B.J. Guillot

