--------------------------------------------------------------------------
Setup hints for using BGFAX, Class 2, with FD 2.12/SW             01-01-95
B.J. Guillot
FidoNet 106/400                           InterNet: bjg90783@jetson.uh.edu
--------------------------------------------------------------------------

All FD*.TXT files are good for both FD 2.12/SW and FD 2.20/ML.  One note
is needed for FD 2.20/ML: [FDSETUP] Modem -> Fax -> Internal = "NO".

If you need hints for FD 2.12 and Class 2.0, see "FD-USR.TXT".
If you need hints for FD 2.12 and ZyXEL, see "FD-ZYXEL.TXT".
If you need hints for FD 2.12 and Class 1, see "FD-HAYES.TXT".

Keep in mind that fax commands CANNOT be stored in NVRAM.  Be sure that
your modem is NOT set to "Auto Answer" mode.  REGISTER S0 MUST EQUAL 0.
This is a data register and CAN be set in NVRAM.  Note that for standard
Class 2 modems, your dial strings do NOT need to be modified.

Here is the relevant information from FDSETUP ...

[FDSETUP] Modem -> Default Settings -> 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"|

  +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

Do not attempt to give a 9600 maximum speed send/receive fax modem the 1,5
string as it will cause unpredicable results.

[FDSETUP] Modem -> Default Settings -> Answer control
  Manual answer    Yes
  Force answer ... at+faa=1;a|
  Answer delay ... 2

The "at+faa=1;a" 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.  The Answer delay may need to be modified if you
are using Caller ID.

[FDSETUP] Mailer -> Errorlevels
  Fax ... 255

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

If you are using a modem such as a Supra that returns a "FAX" response
proceed with the following instructions ( METHOD #1 ) ...

[FDSETUP] Modem -> Default Settings -> Messages
   Fax ... FAX             <-- RIGHT
   Fax ... CONNECT FAX     <-- THIS IS WRONG

FDRUN.BAT should contain something similar to ...

@echo off
c:
cd\fd
fd
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
  fdrun.bat
:end

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

If you are using a modem such as a PPI FXMT that returns a "+FCON" response
proceed with the following instructions ( METHOD #2 ) ...

[FDSETUP] Modem -> Default Settings -> Messages
  Fax ... +FCON             <-- RIGHT
  Fax ... CONNECT +FCON     <-- THIS IS WRONG

FDRUN.BAT should contain something similar to ...

@echo off
c:
cd\fd
fd
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 /fast:4 c:\bgfax 1 z
  rem ---if /fast:4 gives you trouble, try using /fcon
  fdrun.bat
:end

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

See BGFAX.DOC for a detailed description of the differences between
/FAX, /FAST and /FCON.

Regards,
B.J. Guillot

