tricom2842
上传用户:weiyuanprp
上传日期:2020-05-20
资源大小:1169k
文件大小:2k
源码类别:

传真(Fax)编程

开发平台:

C/C++

  1. # $Id: tricom2842,v 1.1.1.1 2005/11/11 21:32:01 faxguy Exp $
  2. #
  3. # HylaFAX Facsimile Software
  4. #
  5. # Copyright (c) 1990-1996 Sam Leffler
  6. # Copyright (c) 1991-1996 Silicon Graphics, Inc.
  7. # HylaFAX is a trademark of Silicon Graphics, Inc.
  8. # Permission to use, copy, modify, distribute, and sell this software and 
  9. # its documentation for any purpose is hereby granted without fee, provided
  10. # that (i) the above copyright notices and this permission notice appear in
  11. # all copies of the software and related documentation, and (ii) the names of
  12. # Sam Leffler and Silicon Graphics may not be used in any advertising or
  13. # publicity relating to the software without the specific, prior written
  14. # permission of Sam Leffler and Silicon Graphics.
  15. # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
  16. # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
  17. # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
  18. # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
  19. # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
  20. # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21. # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
  22. # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
  23. # OF THIS SOFTWARE.
  24. #
  25. #
  26. # Configuration for using the Class 1 command interface with
  27. # a Tricom Tornado28/42 modem
  28. #
  29. # XON/XOFF flow control is used.
  30. #
  31. # CONFIG:CLASS1:2882:.*:.*: Manufacturer=Tricom Model=Tornado
  32. #
  33. # BEGIN-SERVER
  34. # END-SERVER
  35. #
  36. # Modem-related stuff: should reflect modem command interface
  37. # and hardware connection/cabling (e.g. flow control).
  38. #
  39. ModemType: Class1 # use class 1 interface
  40. ModemRate: 19200 # lock rate for DCE-DTE communication
  41. ModemFlowControl: xonxoff # default
  42. #
  43. ModemNoFlowCmd: ATQ0 # disable flow control cmd
  44. ModemSoftFlowCmd: ATQ1 # XON/XOFF flow control cmd
  45. ModemHardFlowCmd: ATQ3 # RTS/CTS flow control cmd
  46. ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem
  47. ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
  48. ModemResultCodesCmd: ATX4 # enable result codes
  49. #
  50. ModemMfrQueryCmd: !Tricom
  51. ModemModelQueryCmd: !Tornado
  52. ModemRevQueryCmd: ATI0