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 - faxoptions http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FaxOptions
 Get/set device options
------------------------------------------------------------------------------
 Syntax

    FaxOptions(<nDev>, [<cNewOptions>]) -> <cOldOptions>

 Parameters

    <nDev> is a fax device number.

    <cNewOptions> is the new option string.

 Returns

    Old option string.

 Description

    The option string is a string of options (multiple options separated by
    commas) that controls various features of the fax device and modem.
    Individual options are:

    Fax Device Options
    ----------------------------------------------------------------------
    Option          Effect
    ----------------------------------------------------------------------
    "XFLOW-"        Disable XON/XOFF flow control.
    "XFLOW+"      * Enable XON/XOFF flow control.
    "DIALTONE-"     Disable dial tone detection.
    "DIALTONE+"   * Enable dial tone detection.
    "BUSY-"         Disable busy signal detection.
    "BUSY+"       * Enable busy signal detection.
    "TONE"        * Touchtone dialing.
    "PULSE"         Pulse (rotary) dialing.
    ----------------------------------------------------------------------
    * = Default

    You might disable XON/XOFF flow control if you know that the modem
    supports hardware (RTS/CTS) flow control, which is faster and more
    reliable.  If you disable XON/XOFF and the modem does not support
    hardware flow control, you will almost certainly be unable to send any
    faxes.

 Example

    // For a U.S. Robotics modem, enable hardware flow control and turn off
    // XON/XOFF.

    FaxInitString(1, "AT&H1&R2")
    FaxOptions(1, "XFLOW-")

    // The same thing for a Practical Peripherals modem.

    FaxInitString(1, "AT&K3")
    FaxOptions(1, "XFLOW-")

See Also: FaxInitString

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