home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / Fax / AFAX1431.LHA / AmigaFax / docs / UserGuide < prev   
Encoding:
Text File  |  1995-11-14  |  77.5 KB  |  2,163 lines

  1.  
  2. AmigaFax
  3. *********
  4.  
  5. A Facsimile Software Package for the Amiga Computer
  6. Copyright (C) 1991-1995 by C-Born Software Systems
  7.  
  8.  
  9. Introduction
  10. *************
  11.  
  12. This manual describes the AmigaFax software package for the Amiga
  13. family of computers. AmigaFax was originally written both to solve a
  14. personal need for shared facsimile and data on a single telephone line,
  15. and to become a commercial software product. When changing company
  16. circumstances dictated that bringing the product to commercial release
  17. level in a reasonable time frame would not be possible, it was decided
  18. to release the package in `Shareware' form, rather than deprive the
  19. Amiga community of the work that had already gone into it. While total
  20. returns from the registration fee charged have not even covered code
  21. maintenance and distribution costs, we still feel it has been a
  22. worthwhile project, especially due to the many contacts it has allowed
  23. us to form with the worldwide Amiga community.
  24.  
  25.  
  26. What is AmigaFax?
  27. ==================
  28.  
  29. AmigaFax is a software package that, in combination with a FaxModem,
  30. allows you to send and receive facsimile information from your Amiga
  31. computer.  Received faxes can be viewed, printed, forwarded to other
  32. fax machines, and saved as ILBM files which can then be accessed using
  33. many standard Amiga programs.  You can transmit text, ILBM graphics,
  34. and combinations of these as faxes. Using the AmigaFax command language
  35. you can add text from any Amiga font, along with logos and ILBM
  36. graphics, to create high quality multi-page fax documents.
  37.  
  38. AmigaFax can be set up to automatically send documents to multiple
  39. recipients, to send faxes at or after set times, to answer incoming fax
  40. calls automatically, and even to forward received faxes (useful as a
  41. vacation mechanism).
  42.  
  43. Faxes can be printed on plain paper, using your normal Amiga printer.
  44.  
  45. AmigaFax is highly configurable, allowing you to set up a custom
  46. environment that best suits your hardware and way of working.
  47.  
  48.  
  49. Summary of Features
  50. ====================
  51.  
  52.    * *Automatic Reception*
  53.      AmigaFax may be configured to receive faxes in the background, or
  54.      to answer an already ringing line in Fax mode. Autoanswer may also
  55.      be integrated with a UUCP or BBS environment, where incoming calls
  56.      may be Fax or data, by using a specially modified version of the
  57.      getty program that recognises Fax calls.
  58.  
  59.    * *Automatic Transmission*
  60.      Faxes may be queued for transmission after a particular time, to
  61.      take advantage of lower off-peak telecom rates, for example. You
  62.      may specify the number of times to try before giving up on
  63.      transmission, and the period at which retry attempts should be
  64.      made. All call progress is logged, and progress may be monitored
  65.      from the main program. Call logging displays when attempts were
  66.      made, the success or failure of the call, and the Called Number ID
  67.      of the remote Fax machine reached.
  68.  
  69.    * *Multiple Recipients*
  70.      Fax numbers may be entered either directly, or using defineable
  71.      aliases. Therefore instead of sending to `99123456', you could
  72.      send it to `Fred'. In the same way, an alias can refer to a list
  73.      of other aliases, or numbers, so that one fax could be sent to
  74.      `Customers', representing a list of customers.
  75.  
  76.    * *Flexible Fax Viewer*
  77.      The Fax viewer allows you to view a fax document at scales of from
  78.      1:1 to 1:8. A 1:3 scale igenerally gives a quite readable image
  79.      while still fitting the entire Fax width across a standard Amiga
  80.      screen. You can easily zoom in on areas of particular interest if
  81.      required. The viewer may be configured to take advantage of new
  82.      display modes (eg Productivity) and add-in high resolution display
  83.      cards (eg Retina).
  84.  
  85.    * *Powerful Document Builder*
  86.      This allows you to mix any Amiga font or ILBM graphic on a page,
  87.      to include text, ILBM, Fax, or AmigaFax command files anywhere on
  88.      a page or in a document, perform alignment at character or pixel
  89.      level, justify text regardless of font size, automatically add
  90.      standard information such as address, signature, logo, and current
  91.      time/date. Text conversion includes selectable fonts size and
  92.      styles, including underline, bold and italic.
  93.  
  94.    * *TeX to fax conversion*
  95.      The `dvifax' program (registered version only) allows TeX `dvi'
  96.      files to be converted directly to fax files.
  97.  
  98.    * *Fax Printer-Driver*
  99.      The fax printer driver allows the output of wordprocessing, DTP,
  100.      painting and drawing programs to be converted directly to fax
  101.      files.
  102.  
  103.    * *Highly User Configurable*
  104.      The configuration file allows you to set the system up to suit your
  105.      requirements. You can define your prefered editor for text and for
  106.      graphics, set a standard file to use as a template when creating
  107.      new Fax documents, customize your dial type (pulse/tone, special
  108.      prefix to get outside line, etc), set the Caller ID string to
  109.      identify yourself to remote Fax machines, define the modem type
  110.      you are using, and set many system default values.
  111.  
  112.    * *Multiple Serial Port Support*
  113.      Using the A2232 multi-serial port card, AmigaFax can support
  114.      multiple FaxModems simultaneously, each modem being able to
  115.      transmit and receive facsimiles and data.
  116.  
  117.    * *Uses Preferences Printer*
  118.      Because the Amiga Preferences printer is used to print out the
  119.      documents, you can tradeoff speed for resolution as you require.
  120.  
  121.    * *Workbench or CLI interface*
  122.      AmigaFax can be run either from the workbench, or from a shell or
  123.      CLI interface. In either case, an easy to use graphical
  124.      presentation makes operation straightforward.
  125.  
  126.  
  127. System Requirements
  128. ====================
  129.  
  130. AmigaFax requires AmigaDOS version 1.3 or greater. It operates with
  131. AmigaDOS 2.0, and will run on Amigas from the original A1000 through to
  132. the A3000. It is possible to run on an unexpanded A1000 with 512K RAM
  133. and 1 disk drive, but in this case memory and disk restraints will
  134. limit the number and size of faxes that may be generated or received.
  135. In general the more memory and disk available the better. For
  136. unattended Auto-receive operation a hard disk system is highly
  137. desirable.
  138. Certain features, such as font scaling, ASL file requester, and
  139. demand-loading of the printer symbiont rely on AmigaDOS 2.0 features,
  140. and will not operate under 1.3
  141. As of AmigaFax version 1.40, support for AmigaDOS 1.3 will not be
  142. guaranteed, however we will endeavour to maintain basic operation as
  143. long as possible, and will listen to any user feedback in this area.
  144.  
  145. AmigaFax was designed to work with the Class-2 fax interface standard,
  146. it will `not' work with Class-1 FaxModems. Versions 1.42 and above of
  147. AmigaFax can also be configured to operate with the Class-2.0 FaxModem
  148. standard.
  149.  
  150.  
  151. Installation
  152. *************
  153.  
  154. *Warning:* Be sure to back up your original disks, and use working
  155. copies of the disks for normal operation.
  156.  
  157.  
  158. Installing the Software
  159. ========================
  160.  
  161. Information on installing the AmigaFax software on your system is given
  162. in the  ReadMe  file on the distribution disk. Insert the distribution
  163. disk, and from the WorkBench double-click on the ReadMe icon for
  164. instructions.
  165.  
  166. The installation script should automatically handle most installations.
  167. To use it, from the WorkBench double-click the Install_Now icon, or
  168. from a Shell window type  amigafax:install . The script will prompt you
  169. for information required to complete the installation.
  170.  
  171. If you are updating to a later revision, the installation procedure
  172. will not overwrite your configuration or alias files, so you will not
  173. lose information. However in this case you may want to examine the
  174. files in the directories  `lib.user'  and  `s.user' on the distribution
  175. disk for examples of more recent configuration options.
  176.  
  177. The AmigaFaX software requires certain logical assignments to be made.
  178. The installation procedure will create a file `afax:s/User-Startup'. 
  179. You must edit your `S:User-Startup' (2.0) or `S:Startup-Sequence' (1.3)
  180.  to include the contents of that file, which will be typically
  181. something like:
  182.  
  183.      assign afax: Work:AmigaFax
  184.      mount null:
  185.      run >nil: <nil: l:fifo-handler
  186.      if exists afax:s/AFAX-Startup
  187.              execute afax:s/AFAX-Startup
  188.      endif
  189.  
  190. If your `devs:MountList' doesn't contain an entry for the NULL: device,
  191. append the `MountList' file from the `devs' directory on the AmigaFax
  192. to it.
  193.  
  194.  
  195. Basic Configuration
  196. ====================
  197.  
  198. There are many possible ways to operate the AmigaFax software. You may
  199. wish to operate it as the only software using your FaxModem, or have it
  200. share the modem with other software such as AmigaUUCP. The AmigaFax
  201. spooler may be started when you boot up your computer, or only when you
  202. want to send a fax. Fax Auto-Answer may be left on all the time,
  203. started only when you are expecting a fax, or not used at all.
  204.  
  205. If you want the fax-spooler to start when you boot up your system, you
  206. must add the line
  207.  
  208.      run >nil: <nil: AFAX:C/afaxspl
  209.  
  210. to your startup sequence. This can be done in the `AFAX:s/AFaxAssign' 
  211. file, for example. Normally this would only be necessary if you send a
  212. lot of faxes with delayed spooling, and your computer may be rebooted
  213. often, as the spooler is automatically started when sending a fax.
  214.  
  215. If you want auto-answer with Fax detection running constantly in
  216. background, you may either use the modified `Getty' command, or use
  217. `faa' directly, by adding the line
  218.  
  219.      run >nil: <nil: faa
  220.  
  221. somewhere in your startup sequence.
  222.  
  223. Note that the modified `getty' will allow you to receive data and fax
  224. calls effectively, and is the recommended approach. However if you only
  225. wish to receive faxes, `faa' is effective and may be started by
  226. double-clicking on the *FaxAutoAnswer* icon.
  227.  
  228.  
  229. Hardware
  230. =========
  231.  
  232. The cable between your Amiga and Modem MUST connect CTS,RTS,DTR, DCD,
  233. TXD, RXD and GND conductors. CTS and RTS are used for flow control
  234. handshaking. DTR is used to keep the modem on line - hangup occurs if
  235. it is dropped. DCD is used for carrier detection.
  236.  
  237.      TXD   2  Transmit Data
  238.      RXD   3  Receive Data
  239.      RTS   4  Request to Send
  240.      CTS   5  Clear to Send
  241.      GND   7  Signal Ground
  242.      DCD   8  Data Carrier Detect
  243.      DTR  20  Data Terminal Ready
  244.  
  245.  
  246. ARP
  247. ====
  248.  
  249. If you have the ARP library installed (`Libs:arp.library') the system
  250. will make use of it for file requesters.
  251.  
  252. Support for the ASL library under AmigaDOS2.0 has now been added to
  253. AmigaFax.  It is used in preference to ARP.
  254.  
  255.  
  256. Extra FONTS
  257. ============
  258.  
  259. Some extra fonts have been included in the FaxFonts directory. You may
  260. let the installation script copy them into your `FONTS:' directory, or
  261. under AmigaDOS2.0 you may copy them into another directory, and modify
  262. your startup to extend the `FONT:' assign to that directory. The extra
  263. fonts are from the *Computer Modern* series, as used with TeX.
  264. These fonts will normally *not* be required under AmigaDOS2.0. You are
  265. much better off using the built-in font scaling where it is available.
  266.  
  267.  
  268. Printer Setup
  269. ==============
  270.  
  271. AmigaFax currently uses the standard printer driver, as configured in
  272. `Preferences'.  Using a dot-matrix printer, Halftone Dithering, Integer
  273. Scaling, Black and White, Density 7 appears to work reasonably well.
  274.  
  275.  
  276. Configuring for Hardware and User Preferences
  277. ==============================================
  278.  
  279. You will need to modify the file  `FAXLIB:Config'  to suit your
  280. specific hardware and preferences. See Configuring the System, for
  281. details on how to do this.
  282.  
  283.  
  284. Configuring the System
  285. ***********************
  286.  
  287. The file `FAXLIB:Config'  is used to configure the basic operation of
  288. AmigaFax to suit your particular hardware and preferences. You must
  289. edit this file carefully, using a text editor. You should always keep a
  290. backup copy of this file. The configuration options are continually
  291. being added to as AmigaFax grows, so if you are upgrading you should
  292. look at the latest copy. This will *NOT* overwrite your existing
  293. configuration as part of the installation process.
  294.  
  295. From version 1.30, AmigaFax configuration can be done using local or
  296. global environmental variables. This will override the values read in
  297. from the  `FAXLIB:Config'  file. For example typing from the CLI/Shell
  298.  
  299.      SetEnv LocalID +61-52-504140
  300.  
  301. will override the `LocalID' string with the new number. Parameters set
  302. by command-line switches will override both environmental and
  303. config-file values.
  304.  
  305.  
  306. General Configuration
  307. ======================
  308.  
  309.    * *Debug*
  310.      Debug level, 0-9. Takes one numeric argument. Useful for
  311.      fault-finding, observing handshake between the Amiga and your
  312.      FaxModem.
  313.  
  314.      For version 1.42 I've made some changes, including level-3 debug
  315.      now printing configuration information, so you can now see whether
  316.      you are in XonXoff, SyncEOL, etc. modes. To make sure you see all
  317.      the config. information, you should use the -d3 command line
  318.      switch, which will be checked early in startup (before config-file
  319.      read in).
  320.  
  321.    * *LogFile*
  322.      Specifies the file for logging debug and error information. If not
  323.      given, information will not be logged.
  324.  
  325.    * *LocalID*
  326.      The rest of the line is used as the local identifier string, which
  327.      is passed to the remote fax machine. This is usually your fax
  328.      number, and is limited to 20 characters. Some faxmodems (eg Supra)
  329.      require the ID string to be enclosed in double-quotes, others do
  330.      not allow this. *Important:* This seems to be the setting which
  331.      gives new users the most problems when trying to get AmigaFax
  332.      working. If you have difficulties please try setting your
  333.      `LocalID' both with and without the enclosing double-quotes.
  334.           LocalID "123-4567"
  335.           LocalID  123-4567
  336.  
  337.    * *Device*
  338.      The device to use for connecting to the modem, usually
  339.      serial.device  (default). This should only be changed if using a
  340.      different serial device, as with a third-party serial hardware.
  341.  
  342.    * *Unit*
  343.      Takes one numeric parameter as the unit number to use on the given
  344.      device. Default is 0. For example when using the first port on the
  345.      A2232 multi-serial, set this to 2.
  346.  
  347.    * *FCLASS*
  348.      Currently must be set to 2.0 for Class-2.0 FaxModems, otherwise
  349.      will use Class-2 interface standard.
  350.  
  351.  
  352. AmigaFax User Interface
  353. ========================
  354.  
  355. These items are used by the  `afax'  program.
  356.    * *Editor*
  357.      The name of the your prefered text editor, for example `TxEd, ced,
  358.      memacs, dme, mg', or `Ed' (default). I use `mg' (MicroGnuEmacs).
  359.  
  360.    * *ILBMEditor*
  361.      The editor you prefer for editing IFF ILBM graphics, for example
  362.      `dpaint'.
  363.  
  364.    * *Template*
  365.      The name of a file to use as a template for building fax
  366.      documents, If given, the editor will be given a copy of this file
  367.      to work on when you ask for a new fax file. This may include
  368.      references to your address, your signature, etc.
  369.  
  370.  
  371. Fax Page Layout Options
  372. ========================
  373.  
  374. These items are used by the  `mkafax'  program.
  375.    * *DefaultFont*
  376.      This is the default font, used for normal text unless otherwise
  377.      specified. It takes two parameters, the font name, and size. The
  378.      TeXfont  `cmtt10 41'  looks quite good for standard text, as does
  379.      the Amiga font `courier 32'.
  380.  
  381.    * *HeaderFont*
  382.      This is the font used for page headers. My current setting is
  383.      `courier 16'.
  384.  
  385.    * *PHeader*
  386.      If given, a header will be printed on each fax page, and the rest
  387.      of the line used as the main text, along with the date, local ID
  388.      string, and page number. If not given, no header will be printed.
  389.  
  390.    * *LeftIndent*
  391.      The left indentation (border) to be used, in pixels. Many fax
  392.      machines will not print to the full fax width, and typically an
  393.      indentation of at least 50 pixels (approx 1/4 inch) on each size
  394.      is required to avoid losing characters.
  395.  
  396.    * *RightIndent*
  397.      The right indentation (border) to be used, in pixels.
  398.  
  399.    * *SyncEOL*
  400.      When set, `mkafax' will create faxes with EOL (End-Of-Line)
  401.      markers byte-aligned. While this should not be necessary, and
  402.      results in larger files, some fax modems to not correctly identify
  403.      EOL sequences which are not byte aligned, and this can cause
  404.      problems. ZyXEL modems with ROM versions before 6.00 had this
  405.      problem, and certain rare fax files could cause the modem to lock
  406.      up completely.
  407.  
  408.    * *DateFormat*
  409.      Allows user definable date format to be used in the page header.
  410.      Uses `locale.library' if available. Possible formats are:
  411.              "INTERNAL"  ........ internal date format like in AFax until V1.35
  412.              "D"         ........ internal date format for Germany (new)
  413.              "F"         ........ internal date format for France (new)
  414.              "E"         ........ internal date format for "English" (new)
  415.              "SHORT"     ........ short format from locale.library
  416.              "LONG"      ........ long format from locale.library
  417.              "%d.%m.%y"  ........ a valid format string for AmigaOS>=2.1 -
  418.                                   FormatDate()-routine in locale.library
  419.  
  420.  
  421. Fax Viewer Configuration
  422. =========================
  423.  
  424. These items are used by the  `viewafax'  program.
  425.    * *ViewScale*
  426.      Takes one numeric argument, 1-8. This is the default scale used by
  427.      the fax viewer when it starts up. A value of three allows a
  428.      standard fax to fit across the screen. A scale of 1 shows maximum
  429.      detail.
  430.  
  431.    * *CustomScreen*
  432.      Under AmigaDOS2.0 only, the value of this parameter is passed to
  433.      the OpenScreen() call in the ti_Data field of the SA_DisplayID tag
  434.      item. This allows users to define what type of screen the viewer
  435.      will appear on. The default values passed are PAL_MONITOR_ID and
  436.      HIRESLACE_KEY. The value should be entered as a hex number,
  437.      without the leading 0x, eg
  438.  
  439.      CustomScreen 00031000
  440.  
  441.      Some possible values are:
  442.           DEFAULT_MONITOR_ID        0x00000000
  443.           NTSC_MONITOR_ID           0x00011000
  444.           PAL_MONITOR_ID            0x00021000
  445.           VGA_MONITOR_ID            0x00031000
  446.           
  447.             or'ed with
  448.           
  449.           LORES_KEY                 0x00000000
  450.           HIRES_KEY                 0x00008000
  451.           SUPER_KEY                 0x00008020
  452.           HAM_KEY                   0x00000800
  453.           LORESLACE_KEY             0x00000004
  454.           HIRESLACE_KEY             0x00008004
  455.           SUPERLACE_KEY             0x00008024
  456.           HAMLACE_KEY               0x00000804
  457.           LORESDPF_KEY              0x00000400
  458.           HIRESDPF_KEY              0x00008400
  459.           SUPERDPF_KEY              0x00008420
  460.           LORESLACEDPF_KEY          0x00000404
  461.           HIRESLACEDPF_KEY          0x00008404
  462.           SUPERLACEDPF_KEY          0x00008424
  463.           LORESDPF2_KEY             0x00000440
  464.           HIRESDPF2_KEY             0x00008440
  465.           SUPERDPF2_KEY             0x00008460
  466.           LORESLACEDPF2_KEY         0x00000444
  467.           HIRESLACEDPF2_KEY         0x00008444
  468.           SUPERLACEDPF2_KEY         0x00008464
  469.           EXTRAHALFBRITE_KEY        0x00000080
  470.           EXTRAHALFBRITELACE_KEY    0x00000084
  471.           VGAEXTRALORES_KEY         0x00031004
  472.           VGALORES_KEY              0x00039004
  473.           VGAPRODUCT_KEY            0x00039024
  474.           VGAHAM_KEY                0x00031804
  475.           VGAEXTRALORESLACE_KEY     0x00031005
  476.           VGALORESLACE_KEY          0x00039005
  477.           VGAPRODUCTLACE_KEY        0x00039025
  478.           VGAHAMLACE_KEY            0x00031805
  479.           VGAEXTRALORESDPF_KEY      0x00031404
  480.           VGALORESDPF_KEY           0x00039404
  481.           VGAPRODUCTDPF_KEY         0x00039424
  482.           VGAEXTRALORESLACEDPF_KEY  0x00031405
  483.           VGALORESLACEDPF_KEY       0x00039405
  484.           VGAPRODUCTLACEDPF_KEY     0x00039425
  485.           VGAEXTRALORESDPF2_KEY     0x00031444
  486.           VGALORESDPF2_KEY          0x00039444
  487.           VGAPRODUCTDPF2_KEY        0x00039464
  488.           VGAEXTRALORESLACEDPF2_KEY 0x00031445
  489.           VGALORESLACEDPF2_KEY      0x00039445
  490.           VGAPRODUCTLACEDPF2_KEY    0x00039465
  491.           VGAEXTRAHALFBRITE_KEY     0x00031084
  492.           VGAEXTRAHALFBRITELACE_KEY 0x00031085
  493.  
  494.  
  495. Fax Printer Configuration
  496. ==========================
  497.  
  498. These items are used by the `afaxprt' program.
  499.    * *MinLines*
  500.      `MinLines' is used to scale a fax page to fit on a printer page.
  501.      If the fax page is longer then the printer page by less than
  502.      MinLines, it will be scaled to fit. A value of around 500 works
  503.      for most faxes.
  504.  
  505. `MinLines' had a different meaning in versions of AmigaFax prior to
  506. 1.32, as follows:
  507.      Takes one numeric argument. This is the minimum number of lines
  508.      that must be on a fax page before we print it. The default value
  509.      is 0 (zero), meaning print all pages. This is for cut-sheet
  510.      feeders (Laser Printers), where the fax may be just a little
  511.      longer than one page. Use a value of around 100 here to stop
  512.      getting `blank pages' printed out.
  513.  
  514.  
  515. Fax Spooler Configuration
  516. ==========================
  517.  
  518. These items are used by the `afaxspl'  program.
  519.    * *SpoolInterval*
  520.      This is the time interval, in minutes, at which the outbound fax
  521.      queue is scanned for untransmitted files.
  522.  
  523.  
  524. Fax Receiver Configuration
  525. ===========================
  526.  
  527. These items are used by the  `faa'  program.
  528.    * *RSetup*
  529.      The receive setup string. This optional string is sent to the
  530.      modem. Unlike versions before 1.23, the string is *not* preceded
  531.      by AT . Instead, the line is sent as it appears. This allows
  532.      multiple commands to be sent when initializing the modem. This
  533.      allows you to add commands to set such things as speaker use and
  534.      volume.
  535.  
  536.    * *RStatus*
  537.      Receive Status. If present, a status window will pop up when a fax
  538.      is being received, showing various details such as name, connect
  539.      speed, transmitter ID, amount of data received. It takes two
  540.      optional numeric parameters, which are used for the top and left
  541.      edge pixel positions to place the window.
  542.  
  543.    * *DLEmode*
  544.      There are many incompatible modems and modem ROM revisions about.
  545.      This allows you to specify certain things about how your FaxModem
  546.      sends your data. It currently takes one numeric argument, (0, 1 or
  547.      3).     
  548.               
  549.  
  550.         * 0  (default) treat DLE in received data as escape          
  551.           (Maestro 3.1, ZyXEL 3.99+)     
  552.  
  553.         * 1  Received DLE is g3 data  (ZyXEL Vn3.90, Supra?)     
  554.  
  555.         * 3  RAW input mode. Data is saved raw. For debug only.     
  556.  
  557.    * *RRate*
  558.      Sets the initial baud rate (`Receive Rate') for modem
  559.      communications. This defaults to 2400, for simple faxmodems that
  560.      normally communicate at 2400, but switch to 19200 for actual fax
  561.      data. More advanced modems, such as the ZyXEL, will communicate at
  562.      19200 baud or greater, at a locked DCE-DTE rate, as per the
  563.      FaxModem specification. I have this set to 19200, which is the
  564.      highest speed common to my FaxModem and the AS2232 multiport
  565.      serial card.
  566.  
  567.      When receipt handshaking is via the `getty' program, `RRate' is
  568.      not used.
  569.  
  570.  
  571. Fax Transmitter Configuration
  572. ==============================
  573.  
  574. These items are used by the `afaxsend'  program.
  575.  
  576.    * *WSetup*
  577.      The transmit setup string. This optional string is sent to the
  578.      modem. As in the `RSetup' line, the line is sent to the modem as it
  579.      appears (since 1.23). This allows you to add commands to set such
  580.      things as speaker use and volume.
  581.  
  582.    * *DialType*
  583.      Takes the parameters `Pulse' (default) or `Tone'.
  584.  
  585.    * *DialPrefix*
  586.      Prefix to add before number when dialling. I use it to get an
  587.      outside line (dials 0 first), by setting it to `ATDP0,DT,' which
  588.      will pulse-dial 0, then tone-dial the rest of the number.
  589.  
  590.    * *DoPadding*
  591.      This should not be necessary. However, some FaxModems to not
  592.      observe the minimum scan-time restrictions set by the standard.
  593.      When connecting to slower fax machines, this may result in missed
  594.      scan-lines. Note that if you set this parameter, it will usually
  595.      result in fax transmissions taking longer, as worst-case padding
  596.      must be added.
  597.  
  598.    * *WStatus*
  599.      Write Status. If present, a status window will pop up when a fax is
  600.      being transmitted, showing various details such as name, connect
  601.      speed, receiver ID, percent of file sent. It takes two optional
  602.      numeric parameters, which are used for the top and left edge pixel
  603.      positions to place the window.
  604.  
  605.    * *ScriptBeforeSending*
  606.      This may contain the name of a CLI command script to be executed
  607.      before a fax is sent. The script is executed synchronously before
  608.      the serial device is locked or opened.
  609.  
  610.    * *ScriptAfterSending*
  611.      This may contain the name of a CLI command script to be executed
  612.      after a fax has been sent. The script is executed synchronously
  613.      just before `afaxsend' terminates.
  614.  
  615.    * *XonXoff*
  616.      If set, causes `afaxsend' to use XON/XOFF handshaking with the
  617.      faxmodem while transmitting fax data. This is not normally
  618.      necessary, as the modems should implement CTS/RTS hardware
  619.      handshaking, but some modems, such as the NetComm M7F, have a
  620.      hardware bug that prevents the hardware handshake working.
  621.      Symptoms are buffer overrun, and loss of fax data.
  622.  
  623.      For version 1.42 and above, use of the XonXoff config variable has
  624.      been changed as follows:
  625.  
  626.           XonOff 0  - disabled
  627.                  1  - Use maximum buffer (1000 bytes)
  628.                 nnn - Use nnn size line buffer
  629.  
  630.      This allows you to set the size of the line AmigaFax uses for
  631.      asynchronous writes, which controls the granularity of XONXOFF
  632.      checking.
  633.  
  634.      For testing, I'd start off with something like
  635.  
  636.           XonOff 10
  637.  
  638.      which means that AmigaFax will check for XOFF every 10 characters
  639.      sent. As the value is increased, overall throughput should
  640.      increase, until the point where the modem buffer overflows with a
  641.      single line.
  642.  
  643.      If that doesn't help, perhaps the USR hasn't used the default
  644.      XonXoff control like it should. You can force this by putting an
  645.      AT+FLO=1 in your setting string. Alternatively, AT+FLO=2 will
  646.      force hardware handshake, if the modem supports it.
  647.  
  648.  
  649. PrintSymb Configuration
  650. ========================
  651.  
  652. These items are used by the `PrintSymb' program.
  653.  
  654.    * *FAXFILE*
  655.      This contains the name of the file to write fax-data from the
  656.      printer-driver to. If not defined, data will be written to the file
  657.      `FAXSPOOL:P_xxxx.AFX', where `xxxx' is used to create a new
  658.      sequential name, or if that cannot be done it will be written to
  659.      `Ram:fax.prt'.
  660.  
  661.      When you do not with the fax file to be retained, you may direct
  662.      is to a temporary file, eg `SetEnv FAXFILE t:fx'. The variable
  663.      will be read in again every time file is created, so you may
  664.      change it dynamically.
  665.  
  666.    * *ClipPage*
  667.      This is used to clip whitespace from the top and bottom of a page
  668.      sent to the fax printer driver. At present only bottom-clipping is
  669.      implemented, but for future compatability use the following values:
  670.           ClipPage 1    # Remove whitespace at bottom of page
  671.           ClipPage 2    # Remove whitespace at top of page
  672.           ClipPage 3    # Remove whitespace at top and bottom of page
  673.  
  674.    * *FaxPrintNotify*
  675.      This may be optionally used to specify another command to run when
  676.      the afax printer-driver has captured a fax-file, rather than the
  677.      standard `afax:c/afax'. It may be a standard command, or a
  678.      shell-script. The command will be run with one parameter, the name
  679.      of the Fax-File. For example:
  680.  
  681.           FaxPrintNotify AFAX:S/afax.scp
  682.  
  683.      The shell script AFAX:S/afax.scp will be run, with the name of the
  684.      fax-file as its only parameter.
  685.  
  686.  
  687. Class-2.0 Operation
  688. ====================
  689.  
  690. The protocol used by AmigaFax for communication between the Amiga and
  691. the FaxModem is known as `Class-2'. This standard has been around in
  692. draft form for several years, and the majority of FaxModems on the
  693. market use a version of it. However the standard went through many
  694. draft revisions without passing industry ballot and being approved, and
  695. modem manufacturers came up with different interpretations of the draft
  696. versions. When the standard was finally approved in April 1993, it was
  697. known as Class-2.0 to differentiate it from the many Class-2
  698. implementations. The released standard is `ANSI/TIA/EIA-592-1993', or
  699. `Asynchronous Facsimile DCE Control Standard - Service Class II'.
  700.  
  701. Versions 1.42 and above of AmigaFax can be configured to use the
  702. approved standard interface. We have tested the software satisfactorily
  703. with some manufacturers implementations of the standard, we have found
  704. other implementations of Class-2.0 that do not fully comply. There are
  705. some sample configuration files included with the distribution that
  706. have been provided by AmigaFax testers, which have been found to work
  707. with specific FaxModems. Users are encouraged to submit configurations
  708. they find to work with other hardware.
  709.  
  710. To determine whether your modem uses Class-2 or Class-2.0 interface
  711. standards, use a terminal emulator program to connect to the FaxModem,
  712. and enter the command:
  713.  
  714.      AT+FCLASS=?
  715.  
  716. The modem should respond with a string containing a 2, a 2.0, or
  717. possibly both. The ZyXEL U-1496 responds with both as it can be
  718. configured to use either standard. If your modem does not respond with
  719. a 2 or 2.0, it will `NOT' with with AmigaFax.
  720.  
  721. To configure `faa' and `afaxsend' to operate in Class-2.0 mode, you
  722. must have the line:
  723.  
  724.      FCLASS 2.0
  725.  
  726. in your FAXLIB:Config file, or set it in your global or local
  727. environment:
  728.  
  729.      SetEnv FCLASS 2.0
  730.  
  731. The new getty uses bit 3 of the -F flags to indicate Class-2.0
  732. operation, so you must add 8 to these flags on getty startup.
  733.  
  734.      getty -Mh -B19200 -x9 -F6 AT&C1&D3+FCC=1,5,0,2
  735.      
  736.       becomes
  737.      
  738.      getty -Mh -B19200 -x9 -F14 AT&C1&D3+FCC=1,5,0,2
  739.  
  740. If you are upgrading from a previous version of AmigaFax to version
  741. 1.42 and you have any configuration values setup in config file or
  742. environment for WSetup, RSetup, XONXOFF, or various modem command
  743. overrides, you should remove them, or modify them according to
  744. specifications below.
  745.  
  746.    * AFaxSend
  747.  
  748.      For Class-2.0 the default WSetup string is:
  749.  
  750.           AT&C1&D3S7=255+FCLASS=2.0+FNR=1,1,1,0+FCC=1,5,0,2
  751.  
  752.    * Faa
  753.  
  754.      For Class-2.0 the default RSetup string is:
  755.  
  756.           AT&C1&D3S7=255+FCLASS=2.0+FNR=1,1,1,0+FCR=1+FAA=1+FCC=1,5,0,2 ATS0=2
  757.  
  758.      With the change to 2.0, the Phase-C bit order on receive appears to
  759.      have been reversed. I am not sure if this is universal, or a fault
  760.      with the ZyXEL 6.13 ROMs, as the ZyXEL currently disregards the
  761.      +FBO bit-order control. I am currently reversing when in 2.0,
  762.      UNLESS the config variable "OldBitOrder" is defined. If you
  763.      receive faxes that appear unreadable in Class-2.0 mode, try a
  764.  
  765.           SetEnv OldBitOrder 1
  766.  
  767.      and see if that helps. If so, PLEASE let me know as soon as
  768.      possible.
  769.  
  770.    * Modem Commands
  771.  
  772.      The inbuilt modem commands are shown below. You should not need to
  773.      override these, as 2.0 is now an approved standard. Some of these
  774.      (eg +FPTS) are not used by AmigaFax.
  775.  
  776.           +FCO +FCI +FTI +FCS +FIS +FKS +FPTS +FET +FHS
  777.           +FDT +FDR +FLI +FIS
  778.  
  779.      Note that some of the Class-2 inbuilts have been modified also. 
  780.      The current Class-2 commands are:
  781.  
  782.           +FCON +FCSI +FTSI +FDCS +FDIS +FK +FPTS +FET +FHNG
  783.           +FDT  +FDR  +FLID +FDIS
  784.  
  785.    * Flow Control
  786.  
  787.      Class-2.0 defaults to Xon/Xoff flow control, which I am not too
  788.      fond of. This will be set automatically (afaxsend only) when in
  789.      2.0 mode. However you can override this with the XONXOFF config
  790.      variable.
  791.  
  792.           SetEnv XonXoff 1
  793.  
  794.      will force Xon/Xoff flow control to be used,
  795.  
  796.           SetEnv XonXoff 0
  797.  
  798.      will disable it, regardless of the FCLASS setting.
  799.  
  800.      However if you have hardware handshaking, and want your modem to
  801.      use it, you should add
  802.  
  803.           AT+FLO=2
  804.  
  805.      to your RSetup and WSetup strings, as well as to your getty startup
  806.      initialization array. This may become the default later. Comments ?
  807.  
  808.    * getty
  809.  
  810.      Under the original Class-2 specification, it was possible to leave
  811.      the modem in FCLASS=0 (data) mode, with FAA=1, and to automatically
  812.      receive a fax, along with data on connect speed and remote ID.
  813.  
  814.      With the ZyXEL U-1946, supporting Class-2 and Class-2.0, in data
  815.      mode the modem reports fax connection parameters in Class-2 format
  816.      only. With other Class-2.0 modems, it may not do so at all.
  817.      Instead the standard allows for a modem in FCLASS=2.0 with FAA=1 to
  818.      automatically detect a data call, and to connect in data mode. The
  819.      parameter +FNR=1,1,1,0 must be set in order to get connection data,
  820.      and to negotiate transfer rates greater than 2400 baud!
  821.  
  822.      To cope with this, the getty -F flag has been extended so that bit
  823.      3 set (=8) means connect as FCLASS=2.0. The modem will be set to
  824.      FCLASS=2.0, FAA=1, FNR=1,1,1,0. Whenever another program requests
  825.      use of the serial port from getty, getty will set the modem back to
  826.      FCLASS=0, or data mode. This is also done when getty exits.
  827.  
  828.      While adding this code, I also traced and fixed a (long-standing
  829.      ?) bug in getty, which was causing my machine to crash when getty
  830.      shut down. It was caused by the order of closing in the myexit()
  831.      function. This effects other versions of getty, including the one
  832.      distributed with AmigaUUCP 1.17beta.
  833.  
  834.    * Other Changes for 1.42
  835.  
  836.      I've made some changes, including level-3 debug now printing
  837.      configuration information, so you can now see whether you are in
  838.      XonXoff, SyncEOL, etc. modes. To make sure you see all the config.
  839.      information, you should use the -d3 command line switch, which
  840.      will be checked early in startup (before config-file read in).
  841.  
  842.      I've also changed the use of the XonXoff config variable, as
  843.      follows:
  844.  
  845.           XonOff 0  - disabled
  846.                  1  - Use maximum buffer (1000 bytes)
  847.                 nnn - Use nnn size line buffer
  848.  
  849.      This allows you to set the size of the line AmigaFax uses for
  850.      asynchronous writes, which controls the granularity of XONXOFF
  851.      checking.
  852.  
  853.      For testing, I'd start off with something like
  854.  
  855.           XonOff 10
  856.  
  857.      which means that AmigaFax will check for XOFF every 10 characters
  858.      sent. As the value is increased, overall throughput should
  859.      increase, until the point where the modem buffer overflows with a
  860.      single line.
  861.  
  862.      If that doesn't help, perhaps the USR hasn't used the default
  863.      XonXoff control like it should. You can force this by putting an
  864.      AT+FLO=1 in your setting string. Alternatively, AT+FLO=2 will
  865.      force hardware handshake, if the modem supports it.
  866.  
  867.  
  868. Modem Command and Status Strings
  869. =================================
  870.  
  871. Certain  modem commands and status codes have now been made variable.
  872. The variables default to their own value, and may be set in the Config
  873. file, or as environment variables.
  874.  
  875.      eg    setenv +FLID +FLI
  876.  
  877. will result in the string `+FLI' rather than `+FLID' being used for
  878. setting the local ID code.
  879.  
  880. Variables are:
  881.  
  882.    * Status     
  883.               
  884.  
  885.         * +FCON      Fax connect established     
  886.  
  887.         * +FCSI     Called station identifier follows     
  888.  
  889.         * +FTSI     Transmitting station identifier follows     
  890.  
  891.         * +FDCS     Current session parameters follow     
  892.  
  893.         * +FK     
  894.  
  895.         * +FPTS     
  896.  
  897.         * +FHNG     Fax hangup (terminal)     
  898.  
  899.    * Command     
  900.               
  901.  
  902.         * +FDT     Fax Data Transmit (I am about to transmit)     
  903.  
  904.         * +FDR     Fax Data Receive     
  905.  
  906.         * +FLID     Local ID string follows     
  907.  
  908.    * Dual Use     
  909.               
  910.  
  911.         * +FET     Fax End of Transmission (Followed by status code)     
  912.  
  913.         * +FDIS     Constrain session parameters     
  914.  
  915.  
  916. Configuration Variables Index
  917. ==============================
  918.  
  919.  
  920. The Workbench Interface
  921. ************************
  922.  
  923. Once configured, AmigaFax may be operated either from a Shell or CLI
  924. (Command Line Interface), or from the Workbench. If you choose to
  925. operate from the Workbench, you will find three main icons, `AmigaFax',
  926. `FaxAutoAnswer' and `FaxSpool'.
  927.  
  928.  
  929. AmigaFax
  930. =========
  931.  
  932. When you double-click on the `AmigaFax' icon, the main AmigaFax control
  933. window will open. This allows you to edit, compile and view faxes,
  934. queue them for transmission, review previously queued transmissions,
  935. and so forth. There are currently six string gadgets, six pushbutton
  936. gadgets, and one toggle gadget on the control window.
  937.  
  938. The gadget functions are:
  939.  
  940.    * *FINE/STD*
  941.      This toggle gadget allows the user to toggle between `Fine' (200
  942.      DPI) and `Standard' (100 DPI) vertical resolution, when creating
  943.      AFax files.  Standard resolution takes half the space, and half the
  944.      time to transmit, of `Fine' mode, but `Fine' looks *much* nicer !!
  945.  
  946.    * *To:*
  947.      This is the intended recipient of the Fax. It may be just a phone
  948.      number, or it may be an alias. When you enter a string and press
  949.      return, if the first character is a digit it will be treated as a
  950.      number, otherwise it will be checked for aliases. If no aliases are
  951.      found, the string is removed, otherwise the number of aliases
  952.      found is shown. See Aliases, for more information on aliases.
  953.  
  954.    * *From:*
  955.      This is picked up from the `LocalID' field in your Config file, if
  956.      present. You may override this value. It is a 20 character string
  957.      sent to the remote Fax to identify you as the sender, usually your
  958.      phone number for return faxes.
  959.  
  960.    * *Source:*
  961.      This is the name of the fax source document, usually an AmigaFax
  962.      command (`.FCOM') file, although plain text or ILBM files may also
  963.      be used.  If you press return with an empty string, and ARP is
  964.      installed, a requester will prompt you for a filename.
  965.  
  966.    * *AFAX:*
  967.      This is the name for the actual fax file. The system will usually
  968.      pick a name for you, but you may wish to override it.  Note that
  969.      the AFAX file name will be reserved, but not actually created,
  970.      until time to send the Fax. You may force creation with the "Make"
  971.      gadget if you wish to test that it is created correctly.  If a
  972.      document is to be faxed to multiple recipients, only one copy of
  973.      the AFAX file will be made. It is automatically deleted when all
  974.      recipients have been reached.
  975.  
  976.    * *Tries:*
  977.      The maximum number of times to try to get a fax through to a
  978.      specific recipient if problems are encountered, such as remote
  979.      phone being engaged. Defaults to three.
  980.  
  981.    * *Time:*
  982.      The Fax will not be sent until after this time. An empty field
  983.      means send at any time. Fill in as hh:mm, (24 hour format) then
  984.      press return. The system will interpret the time, and display the
  985.      result. Time can only be in the future, past time is rounded up by
  986.      a day.
  987.  
  988.    * *New*
  989.      Create a new Fax document, and edit it using your configuration
  990.      editor.  The file pointed to by the configuration entry `Template'
  991.      will be used as a fax pro-forma.  The system will pick a default
  992.      document name for you, which you may keep or override.
  993.  
  994.    * *Edit*
  995.      Edit a Fax document, using your configuration editor. Note that you
  996.      may set both a text and a graphic editor in your  `config' file.
  997.  
  998.    * *Make*
  999.      The system will attempt to build an AFAX file from your source
  1000.      document. This is not necessary when sending faxes, but does allow
  1001.      you to check whether the document will appear as you wish.
  1002.  
  1003.    * *Preview*
  1004.      Invokes the AFAX viewer program, so you can preview the completed
  1005.      document.
  1006.  
  1007.    * *Send*
  1008.      Your facsimile document will be queued for sending to the
  1009.      appropriate recipients.  If the fax-spooler is not running, you
  1010.      will be asked if you wish to start it.
  1011.  
  1012.    * *QCheck*
  1013.      This gadget will bring up the queue check window, to monitor the
  1014.      progress of outgoing Faxes. From here it is possible to requeue
  1015.      Faxes that have exceeded their error allowance, and to remove the
  1016.      spool files for faxes that have been successfully sent, or that
  1017.      are still queued for transmission.
  1018.  
  1019.  
  1020. FaxAutoAnswer
  1021. ==============
  1022.  
  1023. This icon will activate the background automatic-answer facility. If it
  1024. is already operating, you will get the choice of removing the existing
  1025. application (stopping it), or replacing it with the new version. You
  1026. may wish to replace it if you have modified the configuration file
  1027. settings.
  1028.  
  1029. Note that you should only activate the auto-answer system in this
  1030. fashion if you are  not  using the GETTY mode of operation, and only
  1031. want to receive facimile transmissions, not data.
  1032.  
  1033.  
  1034. FaxSpool
  1035. =========
  1036.  
  1037. This icon will activate the background fax-spooler program. If it is
  1038. already operating, you will get the choice of removing the existing
  1039. application (stopping it), or replacing it with the new version.  Note
  1040. that in normal operation the main AmigaFax program will start the
  1041. spooler for you when you queue a fax for transmission, or you will run
  1042. it up automatically in your startup sequence.  You may wish to replace
  1043. it if you have modified the configuration file settings.
  1044.  
  1045.  
  1046. Operating from the Shell
  1047. *************************
  1048.  
  1049. The main executable modules included in the release are:
  1050.  
  1051.    * `afax'       Intuitionized interface for AFAX create/edit/send etc
  1052.  
  1053.    * `newfax'
  1054.      Notifies new fax received, allows print/view/delete, etc
  1055.      [Intuitionized interface]
  1056.  
  1057.    * `afaxspl'
  1058.      Fax spooler daemon, many options/features
  1059.  
  1060.    * `mkafax'
  1061.      Convert documents to AmigaFax AFAX IFF file format
  1062.  
  1063.    * `afaxprt'
  1064.      Print and AmigaFax AFAX IFF file using preferences printer
  1065.  
  1066.    * `afaxsend'
  1067.      Send an AmigaFax AFAX IFF file to a remote Fax machine
  1068.  
  1069.    * `faa'
  1070.      Receive Fax documents in auto-answer mode
  1071.  
  1072.    * `afaxilbm'
  1073.      Convert pages from an AmigaFax AFAX IFF file to ILBM format
  1074.  
  1075.    * `viewafax'
  1076.      AmigaFax document viewer
  1077.  
  1078.    * `fxfx'
  1079.      Manipulates fax files
  1080.  
  1081.    * `dvifax'
  1082.      Converts TeX .dvi file to fax format (Registered version only)
  1083.  
  1084.    * `showlib'
  1085.      Display licence status
  1086.  
  1087.    * `printsymb'
  1088.      AmigaFax printer-driver print symbiont (assists afax.driver)
  1089.  
  1090.    * `FPrint'
  1091.      Redirect printer output to afax.driver
  1092.  
  1093.    * `FaxInfo'
  1094.      Print information about fax file
  1095.  
  1096.  
  1097. AFAX
  1098. =====
  1099.  
  1100. `AFAX:c/afax'
  1101. `Afax' takes only one command line option at present:
  1102.      afax [-f faxfile]
  1103. If the `faxfile' option is given, `Afax' will come up with the given
  1104. file name set as both its source and FAX file. This is used when `Afax'
  1105. is started from the fax printer-driver. A common source and fax file is
  1106. treated as a special case by the spooler, which will not delete the fax
  1107. file when transmission is complete.
  1108.  
  1109. This brings up a window which you can use to create new Fax documents,
  1110. edit the documents, create the actual AFAX files, and send your faxes.
  1111. It also allows you to monitor the status of faxes queued for
  1112. transmission and maintain the queues, and to re-queue faxes that have
  1113. exceeded teir allowed retry count.
  1114.  
  1115.  
  1116. NEWFAX
  1117. =======
  1118.  
  1119. `AFAX:C/newfax faxname'
  1120. This program is automatically invoked by faa when a fax is received. It
  1121. puts up a window informing you of the Fax, with details about it (name,
  1122. sender ID, number of pages), and allows you to view, print or delete
  1123. the document.
  1124.  
  1125.  
  1126. AFAXSPL
  1127. ========
  1128.  
  1129.      [run >nil: <nil:] afax:c/afaxspl  [-s] [-i n] [-d num]
  1130.  
  1131. With the `-s' option, the spooler will run once only, checking for any
  1132. faxes waiting to be spooled out. In this mode, it could be launched
  1133. using cron/dcron/amicron at whatever times you wish to send faxes.
  1134.  
  1135. Otherwise it will run in background and check for faxes to spool at
  1136. intervals of every `n' minutes, where `n' is the interval in minutes
  1137. from the configuration file default, optionally overridden by the `-i'
  1138. command-line switch. You could do this perhaps every 1/2 hour, (n =
  1139. 30), or even at 1 minute intervals while testing.
  1140.  
  1141. The spooler checks for files of the form `FAXSPOOL:*.SPL'. These are
  1142. human-readable. As calls progress, results are added to the end of the
  1143. file. If successfully sent, the file is renamed `FAXSPOOL:*.OK' . If
  1144. unsuccessful for more than the specified number of tries, it is renamed
  1145. `FAXSPOOL:*.ERR'.
  1146.  
  1147. See Spool-File Format, for specifics on spool-file contents.
  1148.  
  1149. The queues are maintained from the `QCheck' module of the `afax'
  1150. command. See AFAX.
  1151.  
  1152. `-d' is used to specify the debug level (0-9).
  1153.  
  1154.  
  1155. MKAFAX
  1156. =======
  1157.  
  1158.      mkafax [-s][-f][-dn][-Rresfile] <docfilename> <AFAX_filename>
  1159.  
  1160. `mkafax' currently recognizes the IFF file types AFAX and ILBM, plain
  1161. text files, and AFAX command text files, as input.
  1162.  
  1163. A plain text file will be converted to an AFAX file using default
  1164. settings.
  1165.  
  1166. An IFF ILBM will be converted to a single-page FAX document. Only the
  1167. first plane is converted, to convert multi-plane (eg DigiView Pics) use
  1168. another tool, such as PfiltView (AmigaTeX).
  1169.  
  1170. See AmigaFax Command File Format, for a full description of the
  1171. command-file formatting instructions.
  1172.  
  1173. The switches `-s' and `-f' are used to force `Standard' and `Fine'
  1174. resolution repectively.
  1175.  
  1176. `-d0' to `-d9' sets the debug level.
  1177.  
  1178. The `-R' option specifies the name of the file to pass operational
  1179. results in. This is meant for internal use only, and is not a feature
  1180. guaranteed to be maintained. However some users have found it useful in
  1181. their environment, if you need to know the file format please ask me
  1182. for it.
  1183.  
  1184.  
  1185. AFAXSEND
  1186. =========
  1187.  
  1188.      afaxsend [-options]  <dialstring | alias> <AFAX_filename>
  1189.  
  1190. The present options are:
  1191.      -t         Tone Dial (default is Pulse)
  1192.      -P         DoPadding on  (Uppercase P)
  1193.      -p         DoPadding off (Lowercase p)
  1194.      -d n       Set debug level, 0-9
  1195.      -D device  Use named device    (default serial.device)
  1196.      -U unit    Use specified unit  (default 0)
  1197.      -Rfile     Write result in file
  1198.  
  1199. Command line options are normally not used, and settings are taken from
  1200. environment values of `Faxlib:config'. If given, the command line
  1201. switches take precedence.
  1202.  
  1203. The `-R' option specifies the name of the file to pass operational
  1204. results in. This is meant for internal use only, and is not a feature
  1205. guaranteed to be maintained. However some users have found it useful in
  1206. their environment, if you need to know the file format please ask me
  1207. for it.
  1208.  
  1209. `afaxsend' attempts to dial out, connect to the remote fax machine, and
  1210. tranfer the specified document.
  1211.  
  1212. `afaxsend Jeff MyFaxFile'
  1213.  
  1214. If the first character of dialstring is not a digit, and not a name
  1215. alias, the whole string will we be sent to the modem non-prefixed as a
  1216. dial string. If an alias is used, it may be a group alias, resulting in
  1217. the fax being sent to everyone in that group.
  1218.  
  1219.  
  1220. AFAXPRT
  1221. ========
  1222.  
  1223.      afaxprt [-pnum] [-n] [-dn]<AFAX_filename>
  1224.  
  1225. eg `afaxprt -p2 MyFaxFile'
  1226.  
  1227. If the `-p' option is not used, all pages are printed.
  1228.  
  1229. Using the `-n' option causes `afaxprt' not to send the data to the
  1230. printer. Useful with the debug option `-d'.
  1231.  
  1232. `afaxprt' sends the AmigaFax document to the preferences printer. It is
  1233. a good idea to set your printer for high density.  Using a dot-matrix,
  1234. Halftone Dithering, Integer Scaling, Black and White, Density 7 appears
  1235. to work ok.
  1236.  
  1237.  
  1238. FAA
  1239. ====
  1240.  
  1241. `faa [BaseName]'
  1242.  
  1243. Fax auto-answer. Sets up the FaxModem to auto-answer and recognise Fax
  1244. or data tranmissions. Incoming Faxes will be saved in AFAX format. the
  1245. default BaseName is `FAXREC:FAX', so that incoming faxes will be named
  1246.      FAXREC:FAX0000
  1247.      FAXREC:FAX0001
  1248.      FAXREC:FAX0002
  1249.  
  1250. etc.
  1251.  
  1252. Note also that although `faa' recognises the difference between Fax and
  1253. Data, it currently does nothing special with data. This may be
  1254. integrated with the UUCP system in the future, along with *VoiceMail*
  1255. capability.
  1256.  
  1257. To terminate the `faa' program, send it a CTL_C break. If you ran it
  1258. directly from your shell, just type control-C and wait. If you used
  1259. `RUN' or `RUNBACK', send a break to its process number. (eg break 7 all)
  1260.  
  1261. Command Line switches are:
  1262.      -a    - Immediate Answer
  1263.      -dn    - Set debug on, level n     (default 1)
  1264.      -D name    - Use name for the device     (default serial.device)
  1265.      -U num    - Use device unit num         (default 0)
  1266.      -G    - Run from a Getty
  1267.      -z    - Diagnostic, do not detach, so debug messages can be read
  1268.      -p    - Bump task priority by 1
  1269.      -Q    - Qtest mode
  1270.  
  1271. The Immediate Answer switch assumes phone is ringing, configures the
  1272. modem & answers immediately. It probably makes sense to attach this to
  1273. an alias if you use it this way. eg. `alias fa "faa -a"'
  1274.  
  1275. The Getty option specifies that faa was run from a Getty. It will not
  1276. modify the serial port parameters. It assumes that the Getty has
  1277. answered the phone, detected a Fax call, and set up the line
  1278. accordingly. Faa will connect, collect a Fax document, and return
  1279. control to the Getty.
  1280.  
  1281. If the `Qtest' option is specified, however, the baud rate will be set
  1282. to `RRate' even if `Getty' mode is specified. This was added for
  1283. compatability testing with `TrapDoor', a Getty-type front-end program.
  1284.  
  1285. As `faa' will normally detach, and so debug diagnostics are not
  1286. visible, the `-z' option was added to keep its STDIO attached to the
  1287. launching console.
  1288.  
  1289.  
  1290. AFAXILBM
  1291. =========
  1292.  
  1293.      afaxilbm [-pnum] <AFAX_filename> <ILBM_filename>
  1294.      
  1295.      eg
  1296.      
  1297.      afaxilbm -p2 RAM:AFAXR001 FX.ILBM
  1298.  
  1299. This will extract the specified page from the AFAX file to the named
  1300. ILBM file. It may then be viewed using standard ILBM viewing programs,
  1301. such as LoadImage from Fish disks 281 and 355, of programs like
  1302. DeluxePaint.
  1303.  
  1304. If no page number is given, all pages will be extracted to separate
  1305. files, and given names of the format base.1 base.2, etc
  1306.  
  1307. The default ILBM file base name is afax_ilbm
  1308.  
  1309.  
  1310. VIEWAFAX
  1311. =========
  1312.  
  1313.      viewafax [opts] <FaxFile>
  1314. The fax viewer is normally started automatically by from the `NewFax'
  1315. window. When invoked from the CLI, it takes the options:
  1316.      -d debug_level
  1317.      -p Page_Number
  1318.      -s Scale
  1319.  
  1320. The current version of the viewer keeps one entire fax page in memory.
  1321. If the page will not fit in the requested scale, it tries to reduce the
  1322. resolution until it finds one that will fit. Once a page is displayed,
  1323. you can move about the page using the arrow keys. There is a scale
  1324. gadget at the top left of the window, in the form of 1:n, where n is
  1325. the current scale (say 3). You can click on the gadget, delete the
  1326. current scale, and enter your own, in the range 1 to 8, where 1 is 1:1
  1327. (full size), 2 is 1:2 (half size) etc. To the right of that gadget is
  1328. another of the form Page: n where n is the current page displayed.
  1329. Again you may enter the required page number in this gadget.
  1330.  
  1331. To the top right of the window is a group of gadgets of the form
  1332. `|<<-->>|'. These are actually four gadgets, which allow moving through
  1333. the pages of the fax. From left to right they are First Page, Previous
  1334. Page, Next Page, and Last Page.
  1335.  
  1336. You may use the windows sizing gadget to resize the window. However
  1337. with the current viewer, sizing the window larger than the fax page
  1338. will result in the window shrinking to the page size at the next
  1339. movement.
  1340.  
  1341. Several keys are active in the viewer window.
  1342.  
  1343.    * *Down Arrow* (Cursor Key or Numeric Pad) Move window down fax page.
  1344.  
  1345.    * *Up Arrow* (Cursor Key or Numeric Pad) Move window up fax page.
  1346.  
  1347.    * *Right Arrow* (Cursor Key or Numeric Pad) Move window right on fax
  1348.      page.
  1349.  
  1350.    * *Left Arrow* (Cursor Key or Numeric Pad) Move window left on fax
  1351.      page.
  1352.  
  1353.    * *Numeric pad keys 1,3,7,9* Diagonal window movement
  1354.  
  1355.    * *i* Flip fax page vertically. Useful when faxes are sent
  1356.      upside-down.
  1357.  
  1358.    * *q* Quit from viewer
  1359.  
  1360.    * *b* Move back on page in fax file
  1361.  
  1362.    * *n* Move to next page in fax file
  1363.  
  1364.    * *f* Move to first page in fax file
  1365.  
  1366.    * *e* Move to end page in fax file
  1367.  
  1368.    * *s* Make fax smaller - reduce scale one step
  1369.  
  1370.    * *l* Make fax larger - increase scale one step
  1371.  
  1372.  
  1373. FXFX
  1374. =====
  1375.  
  1376. This utility allows you to split and merge AFAX format fax files. A
  1377. typical use is where you have a complete fax document, perhaps
  1378. generated by TeX->dvifax, or received as an AFAX fax-file and you want
  1379. to sent it with an attached cover page, or you want to extract one or
  1380. more pages from the document.
  1381.  
  1382.      The command-line format is:
  1383.      
  1384.      fxfx [-f][-s] infile [-range] [infile[-range]] [...] outfile
  1385.      
  1386.      Some examples:
  1387.      
  1388.      fxfx file1 file2
  1389.      
  1390.       copies fax files file1 to file2
  1391.      
  1392.      fxfx file1 file2 file3 file4
  1393.      
  1394.       merges all pages from file1-3 to create file4
  1395.      
  1396.      fxfx file1 file2 -1,3,5-7,9- file3 -4 file4
  1397.      
  1398.       merges all pages from file1, pages 1,3,5-7 and 9 on from file2, and
  1399.       page 4 from file3, to create file4
  1400.      
  1401.      
  1402.      The range is currently sorted, so to reverse page order is currently
  1403.      not simple, eg
  1404.      
  1405.      fxfx file1 -3 file1 -2 file1 -1 file2
  1406.      
  1407.       to create file2 from pages 1-3 of file1 in reverse order.
  1408.  
  1409. The flags `-s' and `-f' are used to override the resolution flags when
  1410. translating. This may be useful when a fax machine has sent you a fax
  1411. with the incorrect resolution flags, as a fax machine in Brazil does to
  1412. me. It sends in `Standard', but sets the `Fine' flag. I can correct
  1413. this with
  1414.  
  1415. `fxfx -s faxfile newfaxfile'
  1416.  
  1417.  
  1418. DVIFAX
  1419. =======
  1420.  
  1421. This module works with the AmigaTeX package from Radical Eye Software,
  1422. to enable you to convert a TeX  `.dvi'  file into an AmigaFax fax file.
  1423.  
  1424. The command line syntax is
  1425.      dvifax file.dvi -o file.afx
  1426.  
  1427. You will be prompted for various size and scaling numbers. You are
  1428. probably best to accept the default values (hit return) unless you have
  1429. a very good idea what you are doing.
  1430.  
  1431. The  Squeeze Fax  option will remove all white-space from the top and
  1432. bottom of each page. This can result in significant savings in
  1433. transmission time, and in fax paper at the other end.
  1434.  
  1435. When creating faxes with `dvifax', you may want to add a cover page.
  1436. This can be done easily with the  `fxfx'  utility.
  1437.  
  1438.  
  1439. SHOWLIB
  1440. ========
  1441.  
  1442. This programs attempts to open the `afax.library' and display its
  1443. contents. You can use this to confirm that a valid license library is
  1444. available, check for user name, expiry date, etc. Output is of the form:
  1445.  
  1446.      Current AmigaFax Library:
  1447.      
  1448.      Version = 1
  1449.      Type    = 1
  1450.      Serial  = 0
  1451.      No Expiry
  1452.      Level   = 10
  1453.      User    = David Varley
  1454.  
  1455. For registered users the fields `Serial' and `User' should display your
  1456. registration serial number and your name. The `Version' field is an
  1457. internal library revision, the `Type' field is reserved and may be
  1458. later used to distinguish between reviewer, distributor, user, etc. The
  1459. `Level' is presently unused, but could be used for a service level, and
  1460. there may also be an licence expiry date shown. At present all
  1461. registered user licences should show `No Expiry'.
  1462.  
  1463.  
  1464. PRINTSYMB
  1465. ==========
  1466.  
  1467. The `printsymb' module is used to translate data from the `afax.driver'
  1468. printer driver into fax format, and save as a file. Under AmigaDOS2.0
  1469. it will be run automatically by the driver, but under AmigaDOS1.3 it
  1470. must be run up manually. It may be run in background, using a command
  1471. such as `RunBack', from somewhere in your startup sequence.
  1472.  
  1473. You can also run it manually from a CLI for diagnostic purposes. When
  1474. run manually it takes the command line arguments
  1475.      -h   Hang Around. Do not terminate when afax.driver is expunged
  1476.      -r   Replace.     Replace a currently running printsymb
  1477.      -q   Quit.        Kill any currently running printsymb and terminate
  1478.  
  1479. If you run `printsymb' from a normal shell window, and print using the
  1480. `afax.driver.debug' version of the driver, you will get lot of
  1481. diagnostic information about how your application program is accessing
  1482. the printer device. This can be useful for me in getting the driver to
  1483. work with as many applications as possible.
  1484.  
  1485.  
  1486. FPRINT
  1487. =======
  1488.  
  1489. `FPrint' is a small program that changes the in-memory system
  1490. `Preferences' to use the `afax.driver', puts up a requester informing
  1491. you that print has been redirected, and waits for you to signal it to
  1492. cease redirection. This can be useful for quickly redirecting output to
  1493. a fax without changing your main preferences settings, especially if
  1494. you tie `FPrint' to a `HotKey' using a program such as `FKeys'.
  1495.  
  1496. `FPrint' may not always work as expected, however, as some applications
  1497. will adjust the printer from saved settings. For these you will have to
  1498. use the normal `Printer' command to set your default printer to
  1499. `afax.driver'.
  1500.  
  1501.  
  1502. FAXINFO
  1503. ========
  1504.  
  1505. `FaxInfo' is a small utility that displays the header information from
  1506. a fax file, including the sender ID, date and number of pages. It is
  1507. passed a list of fax file names on the command line. If given the `-n'
  1508. command line option, the information is also attached to the file's
  1509. FileNote area. This utility can be useful for scanning a directory of
  1510. received files, to determine ones from a particular number or area
  1511. code, for example.
  1512.  
  1513.  
  1514. AmigaFax Command File Format
  1515. =============================
  1516.  
  1517. An AFAX command file uses lines starting with a dot (.) as special
  1518. commands, similar to TROFF style text processors. The file MUST start
  1519. with .FCOM on the first line.
  1520.  
  1521.       .FCOM
  1522.          on the first line to be recognised as a command file.
  1523.          .FCOM may optionally be followed by a dialstring or target alias.
  1524.          (Currently unused, future compatability)
  1525.      
  1526.      Other commands currently supported are :
  1527.      
  1528.       .PG    Clear out the old page and start a new one
  1529.       .LM n    Set the left margin to n characters, in the current font
  1530.       .LI n    Set the left  indentation to n pixels (default 50)
  1531.       .RI n    Set the right indentation to n pixels (default 50)
  1532.       .LJ    Left-justify text and Graphics from now on
  1533.       .RJ    Right Justify text and Graphics
  1534.       .CT    Center Text and Graphics
  1535.       .TS n    Set Tabs every n characters (default 8)
  1536.       .PL n    Set page length to n (pixel) rows (default 2292 == A4)
  1537.       .FILL    Turn on fill mode
  1538.       .NOFILL Turn off fill mode
  1539.      
  1540.       .VERBATIM
  1541.          All text read in will be printed verbatim, until .ENDVERB
  1542.      
  1543.       .VERBINC filename
  1544.          Include a file in verbatim mode. Still requires a .ENDVERB
  1545.      
  1546.       .ENDVERB
  1547.          End verbatim mode
  1548.      
  1549.       .FONT name size [styles]
  1550.          Set the font as specified. Typical use might be
  1551.          .FONT topaz 11
  1552.          .FONT diamond 20
  1553.          .FONT cmr10 30
  1554.          and so on. See the .STYLE command for style options.
  1555.      
  1556.       .ENDF    pop the current font/style, and return to the previous one.
  1557.      
  1558.       .STYLE styles
  1559.          Set the style according to the style string,
  1560.              N - Normal
  1561.              B - Bold
  1562.              U - Underlined
  1563.              I - Italics
  1564.              E - Extended
  1565.          eg .STYLE BU    (set to bold, underlined)
  1566.      
  1567.       .     (dot followed by white-space) Rest of line is a comment
  1568.      
  1569.       .INC file
  1570.          Include the named file. File may be text, ILBM, or another command
  1571.          file. Type is auto-recognised. If a full path is not given to the
  1572.          include file, the current directory will be searched, then the
  1573.          FAXLIB: directory. Thus addresses, signatures, etc may be kept
  1574.          in FAXLIB:
  1575.      
  1576.          From version 1.34, you may also .INC an AFAX format file. At
  1577.          present only one page is included, by default the first page.
  1578.          Page number can be specified by an optional parameter, eg
  1579.          .INC FAXREC:Fax0001 2
  1580.          At present only 1 page from an AFAX file can be included for each .INC
  1581.          command, and no data after that page will appear on the page it is
  1582.          included on. Text/graphics can be included before the included fax
  1583.          page, so you could use this, for example, to automatically add some
  1584.          header text to a received fax before relaying it on.
  1585.          Note that at present, normal page-length checking is NOT done while
  1586.          processing the included fax page, so you may get a longer than
  1587.          expected page.
  1588.      
  1589.       .DATE [FormatString]
  1590.          Insert a line with the current date and time, using current font
  1591.          and line settings.
  1592.      
  1593.          From mkafax version 1.43, the format string may be one of the following:
  1594.      
  1595.          "INTERNAL"  ........ internal date format like in AFax until V1.35
  1596.          "D"         ........ internal date format for Germany (new)
  1597.          "F"         ........ internal date format for France (new)
  1598.          "E"         ........ internal date format for "English" (new)
  1599.          "SHORT"     ........ short format from locale.library
  1600.          "LONG"      ........ long format from locale.library
  1601.          "%d.%m.%y"  ........ a valid format string for AmigaOS>=2.1 -
  1602.                       FormatDate()-routine in locale.library
  1603.          The locale.library stuff works under OS>=2.1 only !!
  1604.      
  1605.          If no FormatString is given, the value given in the config
  1606.          variable DateFormat is used. If Config entry is not found,
  1607.          then INTERNAL is choosen as the default.
  1608.          If locale.library is not found, although it is needed, automatical
  1609.          fallback to the INTERNAL format is performed.
  1610.  
  1611. Any line not beginning with a . will be processed as normal text,
  1612. according to the current settings.
  1613.  
  1614.  
  1615. Fill Mode
  1616. ----------
  1617.  
  1618. In this mode, lines will be filled from input to full width (inside LR
  1619. indent) in the current font. Line filling terminates on a dot command,
  1620. blank line, or end of page. Left Margin is disabled while filling.
  1621.  
  1622. See the included  `test.com'  file for examples of useage.
  1623.  
  1624.  
  1625. Stackable fonts and Style support
  1626. ----------------------------------
  1627.  
  1628. Version 1.34 and later of `mkafax' support stackable fonts, and the use
  1629. of styles, such as *Bold* , *Italic* and `Underline'.
  1630.  
  1631. Useage of the command  `.FONT'  has been extended, and the commands 
  1632. `.STYLE'  and  `.ENDF'  have been added.
  1633.  
  1634. The font system has been modified so that fonts are now nestable. This
  1635. means you can set a font/style, and then return to the original
  1636. font/style, without needing to know what that was. This can be very
  1637. useful for include files, which can return to the original font before
  1638. they exit, for example.
  1639.  
  1640. The  `.FONT'  command now takes an optional third parameter, which
  1641. defines the requested style to use. This takes the form of a string,
  1642. consisting of the letters  `N, B, U, I'  and  `E'  in any order, upper
  1643. or lower case.
  1644.  
  1645.      N - Normal
  1646.      B - Bold
  1647.      U - Underlined
  1648.      I - Italics
  1649.      E - Extended
  1650.  
  1651. Note that the letters are parsed in order, and that  `N'  will clear the
  1652. other flags and set the font back to normal. For example,
  1653.  
  1654.      .FONT topaz 30 BU
  1655. will set the font to topaz 30, Bold and Underlined.
  1656.  
  1657.      .FONT CGTimes 50 I
  1658. set CGTimes at 50-point, Italic.
  1659.  
  1660. You can retain the existing font, but change its style, by using the
  1661. new .STYLE command.
  1662.  
  1663.      .STYLE U
  1664.      
  1665.      This is Underlined.
  1666.      
  1667.      .STYLE IU
  1668.      
  1669.      This is Underlined and Italic.
  1670.  
  1671. All `.FONT' and `.STYLE' commands can now be nested. This means that
  1672. the font/style you set will remain in effect until the new command
  1673. `.ENDF' is encountered. After this the previous font/style set will be
  1674. in force. The Default font, which can be set from your `FAXLIB:Config'
  1675. file or by environmental variable, is always the underlying font. No
  1676. matter how many `.ENDF' commands you enter, this will not be popped
  1677. from the font stack.
  1678.  
  1679. Note that if you have defined a `Header' font, this will be
  1680. automatically pushed for headers, and popped afterwards.
  1681.  
  1682.      Example .FCOM file:
  1683.      
  1684.      .FCOM
  1685.      This is in default font
  1686.      .FONT CGTimes 30 U
  1687.      This is in Underlined 30 point CGTimes
  1688.      .FONT topaz 20 B
  1689.      This is in Bold 20 point topaz
  1690.      .STYLE NIU
  1691.      And this is Italic Underlined 20 point topaz
  1692.      .ENDF
  1693.      Bold 20 point topaz
  1694.      .ENDF
  1695.      Underlined 30 point CGTimes
  1696.      .ENDF
  1697.      Default font
  1698.      .ENDF
  1699.      Default font
  1700.  
  1701.  
  1702. Other Files
  1703. ************
  1704.  
  1705.  
  1706. FAXLIB:Aliases
  1707. ===============
  1708.  
  1709. This file allows you to alias numbers to names, create fax mailing
  1710. groups, etc. Aliases may be defined in terms of other aliases.
  1711.  
  1712. For example we could have:
  1713.  
  1714.      joe: 1234596
  1715.      
  1716.      fred: 9876123
  1717.      
  1718.      bill: 0981234
  1719.      
  1720.      andy: "0,123-4567,,,"
  1721.      
  1722.      customers: joe, fred, bill
  1723.  
  1724. Lines beginning with # are treated as comments, a comma means the alias
  1725. list continues.
  1726.  
  1727. If you want to include spaces or commas in an alias (commas are a way
  1728. of inserting delays into a dial-string), you should surround the
  1729. aliased number with double quotes. Adding coma-delays at the end of a
  1730. dial string can be useful when dialing numbers that take a long time to
  1731. respond, avoiding possible timeouts.
  1732.  
  1733. The alias system is modelled closely on the one used in Matt Dillon's
  1734. UUCP package. See UUCP documentation for more details. Thanks, Matt.
  1735.  
  1736.  
  1737. FONTS
  1738. ======
  1739.  
  1740. AmigaFax can use all the standard Amiga fonts. Under AmigaDOS2.0 the
  1741. ability to perform font-scaling means that you can generate quite
  1742. impressive documents very easily.
  1743.  
  1744. The AmigaFax distribution also includes a selection of larger sized
  1745. fonts from the Computer Modern series, which again allows very high
  1746. quality faxes to be produced. These were generated from standard TeX
  1747. fonts using the TEXF program. Note that these fonts do not contain the
  1748. umlaut characters commonly used in Europe.
  1749.  
  1750. These include the fonts  cmr10, cmbx10, cmssbx10 and cmtt10  in sizes
  1751. from 29 to 103.
  1752.  
  1753. I would suggest that anyone using AmigaDOS 2.0 use the standard Amiga
  1754. fonts. Even Topaz scaled to 30 point size or greater comes out quite
  1755. effectively. Play around until you find a setup you like.
  1756.  
  1757.  
  1758. Integration with other software
  1759. ********************************
  1760.  
  1761.  
  1762. UUCP
  1763. =====
  1764.  
  1765. AmigaFax was designed from the beginning to integrate with UUCP, in
  1766. particular with Matt Dillon's AmigaUUCP1.15D. Using the modified Getty
  1767. program provided, a Fax call will be recognised, and the Fax
  1768. auto-answer program will be called to handle it. Normal logins and UUCP
  1769. connections should function as usual.
  1770.  
  1771. Other facilities, such as network fax-server capability, can be
  1772. provided to enhance the basic AmigaFax system.
  1773.  
  1774.  
  1775. TeX
  1776. ====
  1777.  
  1778. We have written a  `dvifax'  program, which will take a standard TeX
  1779. `.dvi'  file, and transform it to an AmigaFax file, with superb quality
  1780. output. This is now provided with the distribution.
  1781. Martin Steppler and Martin Horneffer have donated a set of `PasTeX'
  1782. compatability programs, to enable AmigaFax to run with the `PasTeX'
  1783. freely distributable TeX package. This package is included in the
  1784. distribution. *We have not tested these programs here.*
  1785.  
  1786.  
  1787. PostScript
  1788. ===========
  1789.  
  1790. PostScript support is not yet in place, but it is on the list. Priority
  1791. given depends on demand.
  1792.  
  1793.  
  1794. Printer Driver
  1795. ===============
  1796.  
  1797. The AmigaFax printer driver `afax.driver' allows any program that sends
  1798. its output via the standard Amiga printer-driver is able to create fax
  1799. files. This includes many desktop publishing packages, word-processors,
  1800. drawing and paint programs, etc.
  1801.  
  1802. *Be aware:* that the present version  of the afax.driver, as released
  1803. with AmigaFax version 1.40, only converts *print graphics dumps* to fax
  1804. files. Normal text sent to the printer is ignored. This may change for
  1805. future releases.
  1806.  
  1807.  
  1808. BBS Systems
  1809. ============
  1810.  
  1811. The FifoBBS BBS system for VLT is no longer distributed with AmigaFax. 
  1812. There several BBS systems that should work well alongside AmigaFax, the
  1813. one we are currently using at C-Born is *TransAmiga*. This is a freely
  1814. distributable shareware package which also supports FidoNet. It is
  1815. available from several sources, including Amiga ftp sites. See the file
  1816. BBSREADME in the distribution disk BBS directory for more details.
  1817.  
  1818.  
  1819. Registration and Maintenance
  1820. *****************************
  1821.  
  1822. AmigaFax has always been distributed in two versions. The demonstration
  1823. version was freely distributable, but had certain limitations, in
  1824. particular the ability to transmit and receive only single-page faxes.
  1825. The registered version was sent out directly to registered users, and
  1826. was made available in restricted access areas of the BBS, UUFS
  1827. fileserver and BMS. The majority of the package was the same for both
  1828. versions.
  1829.  
  1830. With the increasing ease of access to networked file storeage systems,
  1831. such as AmiNet, the ability of users to collect the latest registered
  1832. version of the software over a network would greatly ease the
  1833. distribution bottleneck. Registered software could also be distributed
  1834. by means such as the Fish CD-ROMs.
  1835.  
  1836. In order to implement this, AmigaFax Version 1.40 and later incorporate
  1837. a licence management facility, implemented as a loadable library,
  1838. `afax.library'. This means that on registration only a small library
  1839. file needs to be sent to a user with the AmigaFax package, and
  1840. registered users can always load and use all the features of the latest
  1841. distribution when it appears on the networks, BBS, CD-ROM, etc.
  1842.  
  1843. The licence library has facilities for various levels of access, and
  1844. for limited-time licences, so that users may try with all features
  1845. enabled for a limited period. If the licence library is not found, the
  1846. package will still operate fully in demonstration mode, which for many
  1847. casual users will meet all their requirements.
  1848.  
  1849.  
  1850. Getting Updates
  1851. ================
  1852.  
  1853. The latest version of AmigaFax is usually available on AmiNet soon
  1854. after release. It is also available from our BBS system, as well as via
  1855. e-mail, Matt Dillon's BMS (Batch Mail System) for AmigaUUCP, and from
  1856. our `ftpmail' email fileserver. We can also send it out on disk by mail
  1857. if necessary.
  1858.  
  1859. We now have a a direct Internet connection, however access make be
  1860. limited due to external corporate firewall policies.  and AmigaFax may
  1861. be available for direct `ftp' access then. Try
  1862. `ftp.cborn.pth.alcoa.com' to see if this is available to you.
  1863.  
  1864. We have set up a mailing-list for AmigaFax related information. You can
  1865. joing the list by sending email to
  1866. amigafax-request@cborn.pth.alcoa.com, with the body containing the word
  1867. `subscribe'.
  1868.  
  1869. Our BBS system is *TransAmiga*, and it currently runs on the same line
  1870. as our AmigaFax, `+61-52-786355'. This number will change to
  1871. `+61-52-504140' in early July 1995.
  1872.  
  1873.      Our mailing address is:
  1874.      
  1875.      C-Born Software System
  1876.      59 West Fyans St.
  1877.      Geelong, 3220
  1878.      Victoria, AUSTRALIA.
  1879.      
  1880.      Phone +61-52-290144
  1881.      Fax   +61-52 290248
  1882.  
  1883. At present, the BMS server site is
  1884.  
  1885. `cborn.pth.alcoa.com'
  1886.  
  1887. ftpmail fileserver can be reached as
  1888.      ftpmail@cborn.pth.alcoa.com
  1889. You can reach me by email as
  1890.      dave@cborn.pth.alcoa.com
  1891.  
  1892. You can request help on useage of the `ftpmail' fileserver by sending it
  1893. email containing the following body text:
  1894.      help
  1895.  
  1896.  
  1897. Registration
  1898. =============
  1899.  
  1900. The registration fee has been held at $A65, or $US50, for several years
  1901. now. (The original offer was valid until 6 April 1992, but we never got
  1902. around to changing it) We accept MasterCard, VISA and BankCard in
  1903. Australian dollars. EuroCheques are not accepted (we've tried, the
  1904. local banks won't accept them!).
  1905.  
  1906.      Here is an example registration form:
  1907.      
  1908.           o /
  1909.      ------X------cut here--------------------------------------------------
  1910.      
  1911.                         AMIGAFAX REGISTRATION
  1912.      
  1913.      To:
  1914.          C-Born Software Systems
  1915.          59 West Fyans St.
  1916.          Geelong, 3220
  1917.          Victoria, AUSTRALIA
  1918.      
  1919.      
  1920.      Name:                               Phone:
  1921.              _________________________            _________________________
  1922.      
  1923.      
  1924.      Address:
  1925.              _______________________________________
  1926.      
  1927.      
  1928.              _______________________________________
  1929.      
  1930.      Country:                                Postal Code:
  1931.              _________________________                     ________________
  1932.      
  1933.      
  1934.      Email:
  1935.              _________________________
  1936.      
  1937.      
  1938.      Payment Method:
  1939.      
  1940.      
  1941.       MasterCard  ( )     Visa  ( )     BankCard  ( )     Bank Cheque  ( )
  1942.      
  1943.      
  1944.      Card No.                                         Exp:
  1945.               _______________________________________       __________
  1946.      
  1947.      
  1948.      CardHolder Name:                                 Amount:  $65.00 Australian
  1949.                        ______________________________
  1950.      
  1951.      
  1952.           o /
  1953.      ------X------cut here---------------------------------------------------
  1954.  
  1955.  
  1956. Technical Details and File Formats
  1957. ***********************************
  1958.  
  1959.  
  1960. Spool-File Format
  1961. ==================
  1962.  
  1963. The format of the spool-file used to control timed transmission of
  1964. faxes should be regarded as for internal use, and subject to change. We
  1965. this proviso, we are making the format available as we have had several
  1966. requests from users who would like to write enhanced spooling code. At
  1967. present there are no plans to alter the syntax of the current entries,
  1968. however others may be added, and those writing software should allow
  1969. for this.
  1970.  
  1971.  
  1972.      The Spool File may contain the following KeyWords:
  1973.      
  1974.      Required
  1975.      --------
  1976.      To:      Destination
  1977.      Source:  Source file - could be text, iff-ilbm, command text, afax
  1978.      Fax:     Afax format file. If <8 bytes, will be created from source
  1979.      
  1980.      Optional
  1981.      --------
  1982.      Sendat:  Don't send until after this time
  1983.      From:    Sender of Fax
  1984.      Retries: Allowed number of failed tries before move to error queue
  1985.      Dispose: If set, then Source may be deleted once sent OK
  1986.      Result:  Result code for transmit
  1987.      Fine:    If present, build in FINE mode, else STANDARD
  1988.      Device:  Transmit fax on this device
  1989.      Unit:    Transmit fax on this unit
  1990.      SendOK:  Valid transmit time string (as in L.sys)
  1991.      
  1992.      Other key-words may be present, but will be ignored.
  1993.      
  1994.      The Sendat: time format is currently an Amiga longword time value, in
  1995.      ASCII and prefixed with the letter "L".
  1996.      The present code will take anything without leading L as time 0, so
  1997.      send any time.
  1998.      Other formats may be supported later, including ranged times.
  1999.      
  2000.      12AUG94 - Ranged time support (SendOK:) per L.sys:
  2001.      The valid time range may have no spaces, line format is:
  2002.      
  2003.          Any          the system can be called at any time
  2004.      
  2005.          Never        the system can never be called
  2006.      
  2007.          hh:mm-hh:mm  any day in the hour range indicated (24hr time)
  2008.      
  2009.          MoTuWeThFrSaSuhh:mm-hh:mm
  2010.                       On the days indicated in the hour range indicated.
  2011.      
  2012.          <timespec>,<timespec>
  2013.          MoTuWeThFr02:00-03:00,SaSu00:00-23:59
  2014.                  On the days indicated in the hour range indicated,
  2015.                  time specs separated by commas.
  2016.  
  2017. See AFAXSPL.
  2018.  
  2019.  
  2020. AFAX IFF File Format
  2021. =====================
  2022.  
  2023. Note that the afax file format may be changed at some later date to a
  2024. general standard cross-platform fax-file format. Also individual header
  2025. items may change, but changes are likely to me minor additions, so as
  2026. to avoid breaking existing code.
  2027.  
  2028. This is not a formal description, but should be sufficient for those
  2029. wishing to read or write compatible files.
  2030.  
  2031.  
  2032.      general IFF form is:
  2033.      
  2034.       * AFAX        - Amiga Fax FORM
  2035.       *   FXHD    - Document header
  2036.       *   FXPG     - One fax page
  2037.       *     FPHD    - Page header
  2038.       *     FX1D    - Page Data
  2039.      
  2040.      
  2041.      
  2042.      FXHD    Overall Fax document header
  2043.      ====
  2044.          UWORD w;    /* Width in pixels (Max for doc) */
  2045.          UWORD h;    /* Height in lines (Max for doc) */
  2046.      
  2047.          UBYTE vr;    /* Per T30 */
  2048.          UBYTE wd;
  2049.          UBYTE ln;
  2050.          UBYTE df;
  2051.      
  2052.          char lid[20];    /* Local and Remote ID strings */
  2053.          char rid[20];
  2054.      
  2055.          LONG Stime;    /* Send and receive times */
  2056.          LONG Rtime;
  2057.      
  2058.          UBYTE Flags;    /* b0 set for RAW data */
  2059.          UBYTE pages;    /* Number of pages */
  2060.      
  2061.          UWORD Pad[3];    /* Probably forgot something... */
  2062.      
  2063.      
  2064.      
  2065.      FPHD    Fax Page Header
  2066.      ====
  2067.      
  2068.          UWORD w;    /* Width in pixels */
  2069.          UWORD h;    /* Height in lines */
  2070.      
  2071.          UBYTE vr;    /* Per T30 */
  2072.          UBYTE df;
  2073.      
  2074.          UBYTE Type;    /*  = 0 for 1-d coded data */
  2075.          UBYTE Flags;    /*  status, 0=ok,1=failed,2=timed out reading */
  2076.  
  2077.  
  2078. FaxModem Specifics
  2079. *******************
  2080.  
  2081.  
  2082. ZyXEL U-1496
  2083. =============
  2084.  
  2085. The ZyXEL U-1496 provides data rates to v32bis and higher, with v42bis
  2086. error correction and compression. It is capable of facsimile data rates
  2087. greater than 9600bps, currently up to 14400bps. ZeroOne makes ROM
  2088. upgrades available through their BBS, with frequent upgrades. They are
  2089. very helpful and responsive to customer requests.
  2090.  
  2091. The latest ROM version we have used is  V6.13 .
  2092.  
  2093. With this ROM, it is possible to lock the DCE/DTE data rate for fax
  2094. with the sequence `ATS38=8S18=n' , where  n  is the DTE speed as per
  2095. the S20 register list, eg 2 for 38.4Kbps, 3 for 19.2Kbps.
  2096.  
  2097. There is a Voice-mode ROM for the ZyXEL currently in Beta-test. When
  2098. this is released, we will try to integrate it with AmigaFax. this will
  2099. allow you to send and receive voice messages, as well as fax and data
  2100. calls, all from your Amiga.
  2101.  
  2102. A few more tips on configuration, with getty. In my standard startup
  2103. line I have been setting the page-length to A4, as my printer is A4,
  2104. which is the standard here. However, it appears that my fax (and most
  2105. others) when appending their header/footer lines, force the page past
  2106. A4. This has not been a problem in the past, but now the U1496 must be
  2107. obeying the page-length setting, and forces out an extra very short
  2108. page for each A4 page. This causes handshake problems, etc.
  2109.  
  2110. So for now, the best solution seems to be setting up for unlimited
  2111. page-length. The AmigaFax software has no problem with this, but your
  2112. printer may, if single-sheet type.
  2113.  
  2114. Another option allows fax data-rates greater than 9600. Not many fax
  2115. machines support this yet, but we may as well use it, just in case.
  2116.  
  2117. The latest versions of this modem support Class-2.0 operation as well
  2118. as Class-2, and AmigaFax appears to work correctly in either mode.
  2119.  
  2120.      The +FDCC options are as follows:
  2121.      
  2122.      +FDCC=1,5,0,2
  2123.            ^ ^ ^ ^
  2124.            | | | +- Page Length: 0=A4(297mm) 1=B4(364mm) 2=unlimited
  2125.            | | +--- Page Width : 0=1728 Pixels in 215mm
  2126.            | +----- Bit Rate   : 0=2400 1=4800 2=7200 3=9600 4=12000 5=14400
  2127.            +--------Vert. Res. : 0=Normal(98 lpi) 1=Fine(196 lpi)
  2128.  
  2129. Other options cover compression format, error correction mode, binary
  2130. file transfer, and scan time. These are not yet supported, probably not
  2131. until the standards are finalized.
  2132.  
  2133. The line I use to start up `Getty' is:
  2134.  
  2135.      RunBack Getty -Mh -B19200 -x8 -F6 AT&C1&D3+FDCC=1,5,0,2
  2136.  
  2137. As I have the FaxModem running from a  AS2232  multiport serial card,
  2138. with a maximum baud rate of 19200, I must limit the DCE/DTE rate to
  2139. that.
  2140.  
  2141. When running with ROM version 6.13 and AmigaFax in Class-2.0 mode, I
  2142. run `Getty' up with the command line
  2143.  
  2144.      RunBack getty -Mh -B19200 -x9 -F14 AT&C1&D3+FCC=1,5,0,2
  2145.  
  2146.  
  2147. Maestro 9600XR
  2148. ===============
  2149.  
  2150. This is a low-cost Australian made 2400bps data, 9600bps send/receive
  2151. fax modem, based on the Exar chipset. It does not allow DCE/DTE rate
  2152. locking, and as of the latest version ROMs we have, still has
  2153. occasional problems in correctly synchronising to incoming fax data,
  2154. resulting in `garbage data' faxes, and missing lines from the top of
  2155. pages. These problems may have been fixed in later ROM versions, but we
  2156. have not been notified of any upgrades. The modem software does not
  2157. appear to observe specified line-scan delays, which may result in
  2158. missing lines when transmitting to older/slower fax machines.
  2159.  
  2160. A typical Getty startup-line for this modem is:
  2161.      run >nil: <nil: Getty -Mh -B2400 -F AT&C1&D2+FDCC=1,3
  2162.  
  2163.