Debian Codegraph @

config/att-dataport-2

raw
1 # $Id$
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 #
9 # Permission to use, copy, modify, distribute, and sell this software and
10 # its documentation for any purpose is hereby granted without fee, provided
11 # that (i) the above copyright notices and this permission notice appear in
12 # all copies of the software and related documentation, and (ii) the names of
13 # Sam Leffler and Silicon Graphics may not be used in any advertising or
14 # publicity relating to the software without the specific, prior written
15 # permission of Sam Leffler and Silicon Graphics.
16 #
17 # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
18 # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
19 # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
20 #
21 # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
22 # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
23 # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
24 # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
25 # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
26 # OF THIS SOFTWARE.
27 #
28
29 #
30 # Configuration for using the Class 2 command interface with
31 # an AT&T DataPort 14.4 modem. Firmware version 166 (ati1)
32 # or newer.
33 #
34 # Hardware flow control is used by default.
35 #
36 # CONFIG: CLASS2: AT?T*Paradyne*-*
37 #
38 # BEGIN-SERVER
39 # END-SERVER
40 #
41 # Modem-related stuff: should reflect modem command interface
42 # and hardware connection/cabling (e.g. flow control).
43 #
44 ModemType: Class2 # use class 2 interface
45 ModemRate: 19200 # set rate for DCE-DTE communication
46 ModemFlowControl: rtscts # default
47 #
48 ModemHardFlowCmd: AT&R0\D1\Q3 # use RTS/CTS and enable RS232 handling
49 ModemSoftFlowCmd: AT&R1\D0\Q1 # use RTS/CTS and enable RS232 handling
50 ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem
51 ModemSetupDCDCmd: AT&C1 # setup so DCD follows carrier
52 ModemSetupAACmd: AT+FAA=1 # enable adaptive-answer in Class 2
53 #
54 ModemRecvFillOrder: MSB2LSB # bit order of received facsimile
55 ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit
56 #
57 # The modem returns "OK" when there is a timeout before carrier is
58 # established. This is treated as "NO CARRIER" by faxd. Thus we
59 # need to up the NoCarrierRetrys parameter to avoid having the server
60 # reject jobs prematurely.
61 #
62 NoCarrierRetrys: 3 # retry 3 times on no carrier
63 #
64 # Rev C01.66.10 firmware gives a bogus result string for
65 # +FDCC=? query so we override it here. Syntax is:
66 #
67 # (vr),(br),(wd),(ln),(df),(ec),(bf),(st)
68 # where,
69 # vr vertical resolution
70 # br bit rate
71 # wd page width
72 # ln page length
73 # df data compression
74 # ec error correction
75 # bf binary file transfer
76 # st scan time/line
77 #
78 # Note that if your modem does not support V.17 then you'll need
79 # to restrict the values of br to (0-3) intead of (0-5).
80 #
81 Class2DCCQueryCmd: "!(0,1),(0-5),(0-4),(0-2),(0),(0),(0),(0-7)"
82 #
83 # There's no support for HDLC frame tracing; silence the avoid
84 # error message so naive folks don't ask if it's a problem.
85 #
86 Class2BugCmd: AT+FBUG=0
87 #
88 # Enable copy quality checking with some "average" parameters:
89 #
90 # +FBADMUL=20 <20% bad lines for OK quality
91 # +FBADLIN=10 no more than 10 consecutive bad line on a page
92 #
93 # Note that default values set by the rev 1.76 firmware are 20 and 0.
94 #
95 Class2CQCmd: AT+FCQ=1;+FBADMUL=20;+FBADLIN=10
96 #
97 PagerSetupCmds: ATS41=10%B300 # use V.21 at 300 bps