--------------------------------------------------------------------------
Setup hints for using BGFAX, PC Board 15.22, Class 2 fax modems   07-14-95
B.J. Guillot
FidoNet 1:106/400                         InterNet: bjg90783@jetson.uh.edu
--------------------------------------------------------------------------

If you are using a US Robotics modem, please see "PCB-USR.TXT" instead.
If you are using a Hayes Optima modem, please see "PCB-HAY.TXT" instead.

Please make sure the following two items are true before proceeding...
(1) Your modem is NOT set to "Auto Answer" mode (REGISTER S0 MUST EQUAL 0)
(2) 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.

Run PCBSETUP.EXE and make the following changes in the modem section...
(Do not use PCBMODEM.)

Make the following changes...

Init-1      ATZ^M~~AT+FLID="713 555 1212"
Init-2      AT+FCR=1;+FAA=1;+FDCC=1,3,0,2
Offhook     ATH1M0
Answer      ATA
Dialout     ATDT

If your BOARD.BAT file (or, whatever the file is that starts up your BBS),
after the PCB.EXE line...

  pcb.exe
  if errorlevel 7 rcvfax.bat

(If you have any other "if errorlevel" lines in your BOARD.BAT, remember
that errorlevel numbers must be in DESCENDING order: 9,8,7,6,5, etc.)

Make a new file called RCVFAX.BAT that says the following:
  @echo off
  bgfax /fax c:\bgfax 1 z
  board.bat

The "1" is for COM1.  Change that if necessary for your modem.

NOTE: If you are using a modem that returns the "+FCON" result code instead
of the "FAX" result code upon a fax call (such as a PPI, GVC, Intel) you
will need to use a /fast:4 or different parameter instead of /fax.  See
the BGFAX.DOC for more details.  (Most modems like the Supra and Zoom will
return a "FAX" result code.)

Regards,
bgfax author
