--------------------------------------------------------------------------
Setup hints for using BGFAX with TAG                              06-29-96
B.J. Guillot                                              bgfax@blkbox.com
FidoNet 1:106/400                            http://www.blkbox.com/~bgfax/
--------------------------------------------------------------------------

Because TAG does not offer the ability to exit when it detects a fax
response code from the modem, you must run BGFAX in /HOST mode.  Thus,
BGFAX will answer the phone rather than TAG.

1. From now on, to get your system ready to answer calls, start up your
   BBS by using the FBBS.BAT file included with BGFAX
2. Be sure all the BGFAX files are copied into the directory as specified
   by the BGFAX environment variable (A "SET BGFAX=C:\BGFAX" line must
   exist in either your AUTOEXEC.BAT or FBBS.BAT file).
3. Make sure your BGFAX.CNF file is configured to use the proper fax class
   that your modem supports (you may need to comment and uncomment some
   lines in the BGFAX.CNF file).
4. There is a specific line in BGFAX.CNF that must be uncommented for
   TAG compatibility mode (ec=MNP).

You need to make a file called EXEBBS.BAT in the BGFAX directory.

EXEBBS.BAT
~~~~~~~~~~
@echo off
cd\bbs
if %1==LOCAL goto local
if %1==MNP goto mnp
tag connectrate=%1 com=%2 afterusererrlvl=255
goto end
:mnp
tag connectrate=%1 com=%2 errorcorrecting afterusererrlvl=255
goto end
:local
tag local logon afterusererrlvl=255
goto end
:end
%bgfax%\fbbs

The most frequent problem people have with this setup... Once people get
every thing configured, a data call comes into BGFAX, it transfers control
to TAG, but the user that called in sees only garbage characters on
their screen.  The problem is that you have BGFAX's DTE speed set to a
speed different than that of what TAG is using.  The port speeds in
BGFAX and TAG **MUST BE LOCKED AT THE SAME SPEED**  (BGFAX.CNF defaults
to sp=57600, while TAG may default to a locked speed of 38400.  You
must change the speed in either BGFAX or TAG so that they are the same!)

Regards,
bgfax author

