-------------------------------------------------------------------------- Setup hints for using BGFAX, PC Board 15.22, Class 2 fax modems 07-14-95 B.J. Guillot bgfax@blkbox.com FidoNet 1:106/400 http://www.blkbox.com/~bgfax/ -------------------------------------------------------------------------- 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.) If you are using PC Board/2 and BGFAX/2 (OS/2 executables), instead of the "1" for COM1, you might need "H%pcbhandle%" or "V1" depending upon what version of PC Board/2 you are using. The "H" tells BGFAX that instead of a port number, a port handle follows. The "V" tells BGFAX to open the port followed by the "V" in VBBS-compatability mode, which is needed on some of the newer versions of PC Board/2. Example: bgfax2 /fax c:\bgfax v1 z Note: QFront uses errorlevel 9 for incoming faxes instead of 7 Regards, bgfax author