--------------------------------------------------------------------------
Setup hints for BGFAX with MDOOR/2 1.02 & US Robotics Modems      12-19-95
B.J. Guillot
FidoNet 1:106/400                         InterNet: bjg90783@jetson.uh.edu
--------------------------------------------------------------------------

NOTE: THIS SETUP FILE IS ONLY FOR THE *OS/2* VERSION OF MAINDOOR

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

You will need to create a file called EXEFAX.CMD.  (This file is to be
placed in the "flag" direction if it is defined in MDSETUP, otherwise
it must be placed in the main MDOOR directory.)

EXEFAX.CMD
~~~~~~~~~~
@echo off
c:\bgfax\bgfax2 /fco:4 c:\bgfax h%4 z
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
