home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
fax010.lzh
/
FSEND20.CFG
< prev
next >
Wrap
Text File
|
1994-12-29
|
11KB
|
297 lines
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; FAXSEND.CFG
;
; Created by Harald Pollack
;
; Configurations for FSEND.EXE Vers. 0.08b, Sept 4, 1994
; Version 0.09b, working in Class 2.0 on Zyxel :-)
; Version 0.93b, additional features
; Each entry must start on FIRST position in line
; Each line can be 255 characters long (incl. CR+LF)
; Character-values may be up to 40 characters
; Only ';' as comment is valid
; Leading blanks in values are ignored, trailing blanks NOT !!!
;
; ComPort for transmission. THIS IS A MUST !!!
ComPort COM2
; The two following values are used in the headerline of each page. LocalID
; is also send to the modem.
LocalID +43 1 701 99 3414
LocalName Dr. Harald Pollack
LocalPhone +43 1 701 99 3102
; Optinaly, a coverpage is generated.
CoverPage Yes
; Declare a predefined graphic (BMP, black & white)
CoverGraphic d:\tif\cover1.bmp
; FSEND is able to colaborate with FAXWORKS (tm):
;
; Use commandline switch '-#nnnnnn' to select a FXnnnnnn.FAX or
; '-#?' to send last edited fax (FAX.IDX - 1). Both FaxIdx and FaxLog
; MUST be defined to use this feature!
FaxIdx e:\faxworks\fax.idx
FaxLog e:\faxworks\fax.log
FaxPath e:\faxworks
; DialRetry 1
; Time to wait between redial in seconds
;DialWait 5
; Some FaxModem need fixed speed for data and fax transmission
; for Class 2 (except Zyxel) you must use 'FaxBaudRate 19200'. Baudrate
; is switched in modem_init(), see below for explanation.
;DataBaudRate 2400
DataBaudRate 38400
;FaxBaudRate 19200
FaxBaudRate 38400
; FSEND must know, what your modem is able to do. Use a terminalprogram and
; enter: AT+FCLASS=?
; If your modem responses with ERROR, then forget FSEND, else if a value
; of '2' or '2.0' is reported, you can use FSEND. Enter AT+FCLASS=2 (or
; AT+FCLASS=2.0 if possible) and if 'OK' is reported then AT+FDCC=? (or
; AT+FCC=? in Class 2.0). Chose the highest value for first, second, forth and
; fifth value and the lowest for the eighth value. You can simulate it by
; entering AT+FDCC=x,x,x,x,x,x,x,x and receiving 'OK'.
; for highres, 9600 bps max
;Capabilities 1,3,0,2,0,0,0,0
; for normal, 14400 bps max
;Capabilities 0,5,0,2,0,0,0,0
; for highres, 14400 max and 2-D Read compression
Capabilities 1,5,0,2,1,0,0,0
; Bring your modem in a stable and repoduceable state. 'ModemReset' is sent
; as FIRST command after initialising the ComPort (at DataBaudRate).
Reset ATZ
; Finaly, you can make a controlled cleanup with
CleanUp ATZ
; It is a very bad kind of doing, to initialise a modem with a long, cryptic
; string. Store all the values in a profile (with AT&Wn) and recall them with
; the above ATZ. Normaly, the manufacturer of your modems knows it better than
; you, so once AT&F and AT&Wn should be enough for proper working.
; Possibility for sending some extra commands, response is checked for 'OK'
; In Class 2.0 you MUST enter the +FNR=1,1,1,1 or FSEND will NOT work!
;Init AT+FBOR=0
Init AT+FIP
Init AT+FBO=0
Init AT+FNR=1,1,1,1
; The following 'ModemInit' sends a NonStandardFacility-Frame, resulting in
; most fax machine to show callers name. First string is an unknown leadin:
Init AT+FNS= "0000118000805F10"
; The callers prename 'Harald' in hex representation
Init AT+FNS="486172616C6420"
; The callers name in hex ...
Init AT+FNS="506f6C6C61636B2020"
; Unknown leadout. It works!
;Init AT+FNS="010C010F0013008091050100"
;Init AT+FNS="010C010F008400808000"
; Overwrite the default value 1 (XON/XOFF handshake) with 2 for hardware
; handshake. This is the prefered mode for USR in Class 2.0 !!!
Init AT+FLO=2
; enable Class 2.0 Modem HDLC frame reporting
AT+FBU=1
; Choose a fax class your modem can handle:
;FaxClass 2
FaxClass 2.0
; Dialprefix, here and only here you should add dial modifier eg. X3 or 0W.
Dial ATDT
; FSEND is able to use either TIFF, BMP or plain ASCII (8-Bit) Text to send.
; To distinguish between them, FSEND uses 'TextExtention' for plain ASCII.
; You can enter as much 'TextExtention' as you need. If the file
; (entered with '-i') has <TextExtention>, than it is handled as ASCII text.
; Files with an extention of '.BMP' are treated as (OS/2 or WINDOWS) BitMap.
; Files with no or any other extention are assumed to be TIFF (Tagged Image
; File Format). Currently compression 1 (uncompressed) and 3 (1-D Huffman as
; in CCITT T.4) is supported.
; TIFF and BMP must be black & white. Wether greyscale nor palett-color is
; supported!
TextExtention .TXT
TextExtention .ASC
TextExtention .SYS
; Normally, FSEND creates each time called, a file FSEND.DEB and stores
; all activities in it. You can redefine this filename and prefix it with '+'
; to get a continous logfile. Try '?' as filename :-)
FaxDebug +D:\POINT\LOG\FSEND.LOG
; Some older (or cheaper) faxmodems echo all faxdata they receive from FSEND.
; To suppress the recording of this in the log, use
;NoGarbage
; Can your Class 2.0 modem deal with 'buffer credits' ?
NoBufferCredit
; You do not want to have a headerline ?
; NoHeaderLine
; You do not want to have a footerline ?
; NoFooterLine
; Some explantion for the initialisation of your modem:
; FSEND, in modem_init() does the following
; 1) setting baudrate to <DataBaudrate>
; 2) sending <Reset> and waits for <OK>
; 3) sending <Init> and waits for <OK> (up to 10 times)
; 5) setting baudrate to <FaxBaudrate>
; Each of this steps you can verify in FSEND.DEB or what name you ever gave
; these file.
; At first tries, FSEND aborts often while doing the above. Try ATE1V1&W to
; switch to verbose mode and echo mode.
; FSEND works well in Class 2 with Zyxel and Rockwell chipset based Modems.
; Class 2.0 is implemented yet only by Zyxel and USR. Class 2 works fine,
; Class 2.0 is tested on Zyxel (ROM 6.12 and 6.13) and works also fine!
; FSEND with USR was not tested by the autor. Users had reported, they can not
; bring USR to work with FSEND in Class 2.0.
; FSEND Class 2.0 is implemented 'from the paper' of the standard.
; Maybe FSEND is wrong.
; Maybe the standard is wrong.
; Maybe manufacturers had not made their homework.
; Finaly, FSEND will never be ported to DOS, but for serious callers, the
; source code is available from the autor. There is NO copyright. You can
; do anything with FSEND or the source code EXCEPT:
; DO NOT RENAME FSEND to elsewhat and distribute it!
; DO NOT ALTER THE SOURCE CODE, COMPILE AND NAME IT "FSEND".
; Please fell free to contact the autor:
; FidoNet 2:313/9.59
; Internet HPOLLACK@gw1-x203.uibk.ac.at
; Error reports without a copy of the FSEND.DEB are SENSELESS.
; Many thanks to Bernhard Seidl and Gerold Pummer
; for excessive tests of various (beta) versions of FSEND.
; Commandline parameters:
;C:\FSEND /?
;--------------------------------------------------
;FSEND Fax Send with Class 2/2.0 Modem Vers. 0.08b
;Serial No. 0000-0000-000000 No Rights Reserved
;Sep 04 1994 Dr.H.Pollack
;--------------------------------------------------
;FSEND.EXE -p<phonenumber> -i<filename> [options]
;Options: -i<filename> . Filename(s) to send [*.TIF or *.TXT]
; -p######### .. Phonenumber to call
; -d<anything> . Recipient of Message [empty]
; -c<filename> . Configurationfile [FSEND.CFG]
; -testdcdoff... Do NOT test carrier (DCD)
; -r[#] ........ Inputfile is FAX-RAW [FillOrder 1/2]
; -t ........... Trace activities on screen
; -x ........... Save each page as FXDTnnnn.BMP [off]
; -h or /h or -? or /? showes this.
; -i
; You can enter input file as much as you like (and the OS/2 can handle :-).
; Wildcards like '*' and '?' are supported. Filenames without extention are
; treated as '*.TIF'. Single and multi page TIFF is supported.
; -p
; You can enter the phone number in one string or splitted by blanks (e.g.
; '-p0321 543 76 98') but do not use dashes or slashes inbetween the number.
; The phone number is put in the headerline of the fax.
; -d
; The same rule as in '-p'. There is no casetranslation.
; -c
; selfexplanating, I hope :-)
; -testdcdoff
; FSEND tests (in a background thread) the existence of Data Carrier. Some
; modems do not handle this signal in the right way, so you can switch off
; this test. An idication is, if an error is reported while 'handshaking sound'
; is produced. FSEND will (should :-) never hang to infinity even if this test
; is disabled, because all is checked by timeout. Checking DCD only speeds up
; the aborting sequence.
; -r[#]
; FSEND can send raw fax data (in the form BinkleyTerm produces PAGEnnnn.FAX),
; but it is strongly recommanded, to DO NOT USE THIS FEATURE because
; unpredictable results are the rule :-). This switch is only for testing.
; -t
; All informations which are written to FSEND.DEB is copied to the screen.
; Senseful while testing, but timeconsuming.
; -x
; For checking the validy of your source (TIF or TXT or RAW). A file
; FXDTnnnn.BMP is stored for each page. The BMP is inverse (last scanline
; first). This switch should be used only to test pagegeneration.
; Finaly:
; There is, in fact, no purpose, why FSEND should realy work. The Class 2
; fax communication rules (right, there is NO STANDARD) are crippled and each
; manufactuerer of faxmodem uses its own rules. Commercial faxprograms works
; fine with a great number of modems, but in fact, they tread each modem in a
; certain manner. It can not be the result of a free available faxprogram
; to work with each and every modem on the market. But it works with a lot
; of modems, more then expected :-).
; Class 2.0 is an adopted and recommanded standard, but at the time, FSEND
; was written, only two modems (Zyxel and USR) was available with this class.
; Hint (in case of errors :-)
; 1) You are misinterpreting this document
; 2) FSEND could not interpret some lines, because you had mixed up Class 2
; and Class 2.0 commands.
; 3) FSEND could not handle your TIF.
; 4) Your modem is misinterpreting commands from FSEND (the normal case :-)
; 5) Public telephone lines were NOT build for fax. Each errorfree page
; should be treaded as a surprise.
; 6) Do NOT try to transmit at high speeds. Faxmachines normally sends with
; 4800 bps or less!
; 7) Your preferred faxprogram works well, FSEND not. Well that's a fact.