Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Faxual II for CA-Clipper - faxspeed http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FaxSpeed
 Get/set serial port speed
------------------------------------------------------------------------------
 Syntax

    FaxSpeed(<nDev>, [<nNewSpeed>]) -> nOldSpeed

 Parameters

    <nDev> is a fax device number.

    <nNewSpeed> is the new serial port speed.

 Returns

    Old serial port speed.

 Description

    The speed set by FaxSpeed() will be used for data transmission during a
    fax operation.  It should be at least 25% faster than the actual data
    rate to make up for overhead, buffering, and other effects.

    In most cases, 19200 BPS (bits per second) is adequate for fax speeds up
    to the maximum of 14400 BPS.  On a slow computer, or when running under
    Windows, you may find that 19200 BPS is not fast enough to keep up a
    14400 BPS fax connection.  (The most common symptom is error 4014, DTE
    data underflow.)  If that happens, you should try setting FaxSpeed() to
    38400 or higher, or reducing FaxMaxSpeed() to 9600 or lower.

    Some fax modems will only work with FaxSpeed() set to 19200.  If you set
    it to some other value, the modems will usually initialize and dial, but
    your program will always report no carrier.

    The default value of FaxSpeed() is 19200.  Acceptable values are 4800,
    9600, 19200, 38400, 57600, and 115200.  (2400 and lower are not usable
    because the slowest speed available for fax transmission is 2400 BPS,
    and FaxSpeed() must be set at least 25% faster.)  FaxSpeed() does not
    check the setting for validity.  If you choose an invalid setting, it
    will not be detected until FaxSend() tries to initialize the modem.

See Also: FaxMaxSpeed FaxMinSpeed

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson