--------------------------------------------------------------------------
Setup hints for BGFAX with USR V.34 Everything/Intermail 2.29c    03-01-97
B.J. Guillot                                              bgfax@blkbox.com
FidoNet 1:106/400                            http://www.blkbox.com/~bgfax/
--------------------------------------------------------------------------

DO NOT USE THIS HELP FILE FOR IM 2.28 OR LOWER.  IM 2.29c ADDED AN EXTENDED
ANSWER FIELD, AND IT IS ASSUMED YOU ARE USING 2.29c OR HIGHER!

NOTE: US/Canada Sportster 14.4K modems cannot be used with BGFAX and IM

NOTE: I do not recommend using the 21600 USR modem (v.32terbo) with BGFAX

The only USR modem I recommend using with BGFAX is the Courier V.Everything
with at the 12/02/94 or 09/20/96 FLASH firmware.

Please make sure the following item is true before proceeding...
(*) 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 IMSETUP ...

[IMSETUP] Modem -> Advanced Setup -> Command Strings
  On-hook ... ATZ|
  Dial ...... AT
   Prefix ... +FCLASS=0DT
  Init-1 .... ATZ|
  Init-2 .... ATS0=0+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

[IMSETUP] Modem -> Advanced Setup -> 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.

[IMSETUP] Modem -> Advanced Setup -> Connect Strings

You will see a list of 14 or so preconfigured connect strings, press
<INSERT> to add one.  The USR modem will report "+FCO" on when an incoming
fax call is detected when in Class 2.0 adaptive answering mode.

  Connect Message                          Speed  EC  BBSexit  Terminate

  +FCO                                     19200  N   0        255

-------------------------------------------------------------------------

Notice that "BBSexit" is equal to ZERO.  "Terminate" instructs IM to exit
IMMEDIATELY as it receives the fax response.  ("BBSexit" tells the user
to press <Esc>, and obviously, a fax machine cannot do that.)  The "19200"
speed is basically a dummy variable, as it could be any speed number.

IMRUN.BAT should contain something similar to ...

@echo off
c:
cd\im
im
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 instead
  imrun.bat
:end

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

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

Regards,
B.J. Guillot

