home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2314 / README < prev   
Encoding:
Text File  |  1990-12-28  |  1.8 KB  |  47 lines

  1. This is cpctopbm, a tool that will convert fax files as produced by the
  2. PC hardware/software product 'The Complete FAX' and convert them to the
  3. PBM Portable BitMap format.  You can use this  and the appropriate PBM
  4. Toolkit program to convert Complete Fax files to PostScript, or display
  5. them in an X window, or whatever you like. 
  6.  
  7. Note that the Complete PC people have three different file formats
  8. (see the "File-Formats" file) and this program only works with
  9. format 1, FAX files.  That's all I have to test.  It probably wouldn't
  10. be hard to make it work with theother formats.
  11.  
  12.  
  13. Here at IU we have a PC with a complete fax card and an ethernet board.
  14. We FTP the various fax files (which are stored one page per file)
  15. onto another machine, and then run them through cpctopbm and
  16. other various filters.  Some possibilities are:
  17.  
  18.     # convert to postscript and print
  19.     cpctopbm fax-file.001 | pgmtops -scale 0.33333 | lpr
  20.  
  21.     # Using X Windows, view several pages of the same fax in succession, using
  22.     # the PD 'xloadimage' program, which can display a variety of
  23.     # formats, including PBM.
  24.  
  25.  
  26.     cpctopbm fax-file.001 >page1.pbm
  27.     cpctopbm fax-file.002 >page2.pbm 
  28.       .. etc etc ..
  29.     xloadimage -slideshow page1.pbm page2.pbm ...
  30.  
  31.     'xview' is another program that can be used to display PBM files.
  32.  
  33. Unfortunately none of this is particularly fast.  You may want to
  34. play around with scaling the PBM images to some other size so
  35. that they display faster. These bitmaps are 1728 pixels wide, which
  36. is probably wider than your screen can display (although tools like
  37. xloadimage and xview let you scroll around.)
  38. We're still experimenting too.
  39.  
  40.  
  41. Feel free to pass bugs or suggestions along to me.
  42.  
  43. Steve Hayman
  44. Indiana University
  45. sahayman@cs.indiana.edu
  46. Fri Dec 14 16:15:16 EST 1990
  47.