--------------------------------------------------------------------------
Setup hints for BGFAX with MainDOOR 1.02 & US Robotics Modems     11-18-96
B.J. Guillot                                              bgfax@blkbox.com
FidoNet 1:106/400                            http://www.blkbox.com/~bgfax/
--------------------------------------------------------------------------

NOTE: US Robotics owners, please read over the USR section in the READ.ME
      file before proceeding!

Please make sure the following three items are true before proceeding...
(1) Your modem is NOT set to "Auto Answer" mode (REGISTER S0 MUST EQUAL 0)
(2) DIP switch #5 is in the "SUPPRESS AUTO ANSWER" position
(3) You have already put all relevant DATA commands for the BBS into NVRAM

Note that, generally, fax (AT+F) commands CANNOT be stored in NVRAM.

Here is the relevant information from MDSETUP ...

[MDSETUP] Modem -> Strings
  Init string #1 ........... ATZ|~AT+FCLASS=2{.0|
  Init string #2 ........... AT+FNR=1,1,1,1|
  Init string #3 ........... AT+FLI="713 555 1212"|
  Force answer string #1 ... AT+FAA=1;A|
  *** Force answer #2 and #3 should be empty ***
  Dial prefix .............. AT+FCLASS=0DT

: atz                      automatically recalls data commands in NVRAM
: +fclass=2.0              enables fax mode--MainDoor escapes "{." to be "."
: +fnr=1,1,1,1             sets your FAX ID, up to 20 characters
: +fli="713 555 1212"      tells modem to let BGFAX know connect speed
: +fclass=0dt              enables data mode operation on outgoing calls
:
: The "at+faa=1;a" causes the modem to answer adaptively, i.e., to auto-
: matically determine whether the incoming call is fax or data and return
: the response to the modem.

P.S... USR's FAX/ARQ light WILL flash when waiting for calls!

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

[MDSETUP] Modem -> User defined msg.

You will see a list of 10 entries.  Move the highlighted bar to the first
empty line, and press <Enter>...

   # String               Errlvl                Action
   1 +FCO                 0                     Fax Session

MD/OS2: You will need to create a file called EXEFAX.CMD.  (This file is to
be placed in the "flag" directory if it is defined in MDSETUP, otherwise it
must be placed in the main MDOOR directory.)
MD/DOS: The file is called EXEFAX.BAT instead of EXEFAX.CMD.

EXEFAX.CMD (for OS/2)
~~~~~~~~~~
@echo off
c:\bgfax\bgfax2 /fco:4 c:\bgfax h%4 z
if errorlevel 4 echo . > mdfax.now

EXEFAX.BAT (for DOS)
~~~~~~~~~~
@echo off
c:\bgfax\bgfax /fco:4 c:\bgfax 1 z
REM note the "1" stands for "COM1", change if necessary
if errorlevel 4 echo . > mdfax.now

The /FCO:nn parameter may need to be adjusted depending on the speed of
your computer, cache size, etc.  See BGFAX.DOC for details.

Regards,
bgfax author
