home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / fax-3.2.1 / include / conf.h next >
Encoding:
C/C++ Source or Header  |  1992-07-31  |  2.5 KB  |  103 lines

  1. /*
  2.   This file is part of the NetFax system.
  3.  
  4.   (c) Copyright 1989 by David M. Siegel. 
  5.       All rights reserved.
  6.  
  7.     This program is free software; you can redistribute it and/or modify
  8.     it under the terms of the GNU General Public License as published by
  9.     the Free Software Foundation.
  10.  
  11.     This program is distributed in the hope that it will be useful, 
  12.     but WITHOUT ANY WARRANTY; without even the implied warranty of 
  13.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.     GNU General Public License for more details.
  15.  
  16.     You should have received a copy of the GNU General Public License
  17.     along with this program; if not, write to the Free Software
  18.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19. */
  20.  
  21. /*
  22.  * The default serial port that the faxmodem is connected to:
  23.  */
  24. #define FAX_DEVICE        "/dev/fax"
  25.  
  26. /*
  27.  * The service that clients use for connecting to the daemon:
  28.  */
  29. #define FAX_SERVICE        "1122"
  30.  
  31. /*
  32.  * The default fax spooler host:
  33.  */
  34. #define FAX_HOST        "wheat-chex.ai.mit.edu"
  35.  
  36. /*
  37.  * The queue directories:
  38.  */
  39. #define OUTGOING_QUEUE         "/com/fax/outgoing"
  40. #define INCOMING_QUEUE      "/com/fax/incoming"
  41.  
  42. /*
  43.  * Base filename for sequence files:
  44.  */
  45. #define SEQ_FILE           ".seq"
  46.  
  47. /*
  48.  * Maximum time to try to deliver a fax, in seconds:
  49.  */
  50. #define MAX_DELIVERY_TIME   60*60*24
  51.  
  52. /*
  53.  * Minimum number of seconds to wait between delivery attempts:
  54.  */
  55. #define MIN_RETRY_WAIT        60*5
  56.  
  57. /*
  58.  * Number of retrys (requested by remote fax) allowed for each page:
  59.  */
  60. #define MAX_PAGE_RETRIES    3
  61.  
  62. /*
  63.  * Mail notification of incoming faxes to this address.
  64.  */
  65. #define INCOMING_EMAIL_ADDR "incoming-fax-notification@ai.mit.edu"
  66.  
  67. /*
  68.  * How many times should I try to sync the modem?
  69.  */
  70. #define FAXMODEM_SYNC_TRIES 1000
  71.  
  72. /*
  73.  * Command for enqueuing faxes:
  74.  */
  75. #define FAX_ENQ_PROG    "/usr/local/lib/fax/faxenq"
  76.  
  77. /*
  78.  * Command for spooling a Postscript file to the fax system:
  79.  */
  80. #define FAX_PS_PROG    "/usr/local/bin/faxps"
  81.  
  82. /*
  83.  * Command for postscript interperter:
  84.  *
  85.  * This depends on the digifax driver being compiled into Ghostscript.
  86.  */
  87. #define PS_PROG  "/usr/local/bin/gs -dNOPAUSE -q -sDEVICE=dfaxhigh "
  88.  
  89. /*
  90.  * Postscript program to convert to ppm format files:
  91.  */
  92. #define PS_TO_PPM_PROG    "/usr/local/lib/fax/pstofaxbits.ps"
  93.  
  94. /*
  95.  * Postscript program for generating a cover sheet:
  96.  */
  97. #define PS_TO_COVER_PROG "/usr/local/lib/fax/coverpage.ps"
  98.  
  99. /*
  100.  * Command for converting from ppm to G3 format files:
  101.  */
  102. #define PPM_TO_G3_PROG    "/usr/local/lib/fax/ppmtog3"
  103.