--------------------------------------------------------------------------
Setup hints for using with the USR V.34 Everything/FD 2.12        01-01-95
B.J. Guillot
FidoNet 106/400                           InterNet: bjg90783@jetson.uh.edu
--------------------------------------------------------------------------

All FD*.TXT files are good for both FD 2.12/SW and FD 2.20/ML.  One note
is needed for FD 2.20/ML: [FDSETUP] Modem -> Fax -> Internal = "NO".

NOTE: USR Class 1 _only_ modems cannot be used with BGFAX.
      I recommend using the USR V.Everything modem with 12/02/94 firmware.

NOTE: If you want to use a 09/20/93 v.32terbo model USR modem with BGFAX,
      you will need to use the /OU switch on the command line.  The 09/20
      firmware has a bug which will cause the USR to lockup on incoming HST
      datacalls (9600/14400/16800 HST, _not_ v.32/v.32bis/v.32terbo).
      BGFAX defaults to 12/08/93 firmware.  The 12/08/93 firmware, if run
      at a locked speed of 38400, will require a 19200 shift in fax mode.
      BGFAX will do this by itself.  This 38400 bug is corrected in the
      V.FC model, and you will need to put an exclamation point (!) after
      com port on the BGFAX command line to alert BGFAX to NOT go to 19200.
      THE EASIEST THING TO DO: LOCK AT 57600 OR 115200 AND FORGET ALL THAT.

Keep in mind that fax commands CANNOT be stored in NVRAM.  Be sure that
your modem is NOT set to "Auto Answer" mode.  REGISTER S0 MUST EQUAL 0.
This is a data register and CAN be set in NVRAM.

Here is the relevant information from FDSETUP ...

[FDSETUP] Modem -> Default Settings -> Command Strings
  On-hook ... ATZ|
  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 -> Default Settings -> 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              <-- RIGHT
   Fax ... CONNECT +FCO      <-- THIS IS WRONG

FDRUN.BAT should contain something similar to ...

@echo off
c:
cd\fd
fd
if errorlevel 255 goto fax
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:4 c:\bgfax 1 z
  rem ---if /fco:4 gives you problems, try using /fcos
  fdrun.bat
:end

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

Regards,
B.J. Guillot

