--------------------------------------------------------------------------
Setup hints for BGFAX with USR V.34 Everything/Intermail 2.29c    03-01-97
                      (Class 1 alternative setup)
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 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=0;DT
  Init-1 .... ATZ|
  Init-2 .... ATS0=0+FCLASS=1|
  Init-3 .... AT+FAA=1|

  +fclass=0;dt             enables data mode operation on outgoing calls
  +fclass=1                enables fax mode operation
  +fli="713 555 1212"      sets your FAX ID, up to 20 characters

[IMSETUP] Modem -> Advanced Setup -> Answer Control
  Manual answer    Yes
  Force answer ... ATA|
  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.

[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 "FAX" on when an incoming
fax call is detected when in Class 1 adaptive answering mode.

  Connect Message                          Speed  EC  BBSexit  Terminate

  FAX                                      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
\BGFAX\ATOTSR.COM
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 f is for tiff-class-f (faxworks format)
  bgfax /fax:713_555_1212 c:\bgfax 1 f
  rem ---if /fax:xxxxxx gives you problems, try using /fhay:xxxxxxx instead
  imrun.bat
:end

NOTICE THE "ATOTSR.COM" file in beginning of the batch file.  This is a
small TSR file that is needed when using a USR modem in Class 1 adaptive
answering mode.  ATOTSR hooks onto the FOSSIL driver, and when it sees
the response "DATA" come from the modem, it will then send an "ATO" command
back to the modem, so that the modem will return the "CONNECT nnnnn" response.
YOU MUST MAKE INTERMAIL USE A FOSSIL DRVIER OR ATOTSR.COM WILL NOT FUNCTION.

If your computer does not appear to have enough power to run in Class 1
mode successfully, see the "Shell-to-mailer mode" section BGFAX.DOC file
for a big hint on speeding up BGFAX.

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

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

Regards,
B.J. Guillot

