--------------------------------------------------------------------------
Setup hints for using BGFAX with Intermail 2.28                   06-11-94
B.J. Guillot
FidoNet: 106/400                             InterNet: st1r8@jetson.uh.edu
--------------------------------------------------------------------------

Keep in mind that fax commands cannot be stored in NVRAM.

Here is the relevant information from IMSETUP ...

[IMSETUP] Modem -> Advanced Setup -> Command Strings
  Init-1 ... atz|
  Init-2 ... at+fcr=1;+fdcc=1,5,0,2,0,0,0,0|
  Init-3 ... at+flid="713 555 1212"|

[IMSETUP] Modem -> Advanced Setup -> Answer Control
  Manual answer    Yes
  Force answer     at+faa=1a|

  +fcr=1                   enables fax receiption
  +flid="713 555 1212"     sets your FAX ID, up to 20 characters

  +fdcc=1,5,0,2,0,0,0,0    enable high resolution, 14400, 1D compression
  +fdcc=1,3,0,2,0,0,0,0    enable high resolution, 9600, 1D compression
  +fdcc=1,5,0,2,1,0,0,0    enable high res, 14400, 1D and 2D compression

The force answer string should really be "at+faa=1;a", but this will not
fit.  The Supra modem will not care.  Others might.

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

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

You will see a list of 14 or so preconfigured connect strings, press
<INSERT> to add one.  If your modem returns "FAX" on a fax call, like the
Supra, use the first string provided.  If your modem returns "+FCON" on a
fax call, like the PPI FXMT, use the second string.

  Connect Message                          Speed  EC  BBSexit  Terminate

  FAX                                      19200  N   0        255
  +FCON                                    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.)

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 /fax c:\bgfax 1 z
  imrun.bat
:end

The /fax means your modem reports "FAX".  If it reports "+FCON" use one of
these two lines.

bgfax /fast c:\bgfax 1 z
   or
bgfax /fcon c:\bgfax 1 z

You will have to experiment to determine which is correct.  See BGFAX.DOC
for a detailed description of the differences between /FAX, /FAST, /FCON.

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

Regards,
B.J. Guillot

