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 - faxmodemtype http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FaxModemType
 Get/set modem type
------------------------------------------------------------------------------
 Syntax

    FaxModemType(<nDev>, [<nNewType>]) -> nOldType

 Parameters

    <nDev> is a fax device number.

    <nNewType> is the new modem type:

    Modem types defined in FAXUAL2.CH
    ----------------------------------------------------------------------
    Value   Constant        Modem type
    ----------------------------------------------------------------------
      0     DETECT_MODEM    Autodetect modem type.
      1     CLASS1_MODEM    Class 1 modem.
      2     CLASS2_MODEM    Class 2 modem.
      3     CLASS20_MODEM   Class 2.0 modem.
    ----------------------------------------------------------------------

 Returns

    Old modem type.

 Description

    The default value of FaxModemType() is DETECT_MODEM.  This value tells
    the library to autodetect the modem type on the first FaxSend()
    operation.  After that, you can check FaxModemType() to find out what
    kind of modem was detected.

    Many fax modems implement more than one class, for example, 1 and 2, or
    1 and 2.0.  If you allow FaxSend() to autodetect, it will pick Class 2.0
    over Class 2 or 1, and Class 1 over Class 2.  (We have found Class 1 to
    be more reliable than Class 2, use use the latter only as last resort.)

See Also:

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