From: Axel Haag To: All Thread: Problem with BGFAX2 /send (1/2) Date: 24-Jun-97, 10:17pm (Ref# 5444) Hallo All! I'm trying to send a fax via cmdline, but it doesnt work. Recieving works fine on OS/2-Port H3. I'm runnning Warp3, the modem is on COM2. The call is: @call SENDFAX c:\mb_syst\msg2fax\faxtemp\22223137.0 5253188 SENDFAX.CMD: @echo off rem === Check if the file is there set BGFAX=c:\mb_syst\bgfax if not exist %1 goto exit c:\mb_syst\bgfax\bgfax2 /SEND %1 %2 rem === Run the fax send software (%1=FAX FILENAME %2=FAX PHONENUMBER) rem === Check to see if the fax software sent it and delete if so. if errorlevel 5 goto sent_ok if errorlevel 1 goto sent_error echo Systemfehler beim Senden von %1 an %2 mit BGFAX2 goto end resulting Error-Msg: OS2/BGFAX/UART1: {Open Port}: 32 Systemfehler beim Senden von c:\mb_syst\msg2fax\faxtemp\22223137.0 an 5253188 mit BGFAX2 what's the problem? Always keep cool! MfG Sysop Axel --- timEd/2 1.10+ * Origin: Neues aus der ZENICA, Stuttgart (2:2471/1200)
From: B.J. Guillot To: Axel Haag Thread: Problem with BGFAX2 /send (2/2) Date: 27-Jun-97, 11:51am (Ref# 5457) > I'm trying to send a fax via cmdline, but it doesnt work. Recieving works fin > resulting Error-Msg: > OS2/BGFAX/UART1: {Open Port}: 32 > Systemfehler beim Senden von c:\mb_syst\msg2fax\faxtemp\22223137.0 an 5253188 This means the port is already open by another application. Instead of shelling to BGFAX2 from your mailer, try dumping the mailer first, then running BGFAX2. Regards, bgfax author