home *** CD-ROM | disk | FTP | other *** search
/ Mega CD-ROM 1 / megacd_rom_1.zip / megacd_rom_1 / POSTSCRI / PSFIX.ZIP / PSFIX.DOC < prev    next >
Text File  |  1991-05-01  |  4KB  |  139 lines

  1. ----------------------------------------------------------------------------
  2.  
  3. Psfix:  Massage PostScript output from programs such as EasyFlow and 
  4.         Word Perfect to help make journeys through mainframe computers
  5.         in an unmangled state.
  6.  
  7. Psfix performs the following actions:
  8.  
  9.         * Records are broken to 80 bytes or less, at an appropriate place
  10.           to preserve valid PostScript commands. Psfix will fail if it
  11.           encounters more than 80 consecutive non-blank characters in a
  12.           record.
  13.  
  14.         * All comments are stripped.
  15.  
  16.         * Lone carriage returns are replaced by a space.
  17.  
  18.         * Tabs are replaced by a space.
  19.  
  20. Psfix will operate on a list of files as well as on a single specified file.
  21.  
  22. Please direct comments, suggestions, or problems to
  23.  
  24.             Marc A. Murison
  25.             Smithsonian Astrophysical Observatory
  26.             60 Garden Street, MS 63
  27.             Cambridge, MA  02138
  28.  
  29.             (617) 495-7079
  30.             murison@cfacx2.harvard.edu  or  pepmmu@cfaamp.harvard.edu
  31.  
  32. ----------------------------------------------------------------------------
  33. SHORT HELP
  34.  
  35. Command line use -- any of the following will work: 
  36.  
  37.     psfix  infile[.ps]  [outfile[.out]]
  38.     psfix  infile[.ps]  [.out]
  39.     psfix  dirfile      [.out]
  40.     psfix  dirfile      [.ps  .out]
  41.  
  42. For help, type
  43.  
  44.     psfix  ?
  45.  
  46. To write the help text to a file named "help", type
  47.  
  48.     psfix ??
  49.  
  50.  
  51. ----------------------------------------------------------------------------
  52. LONG HELP
  53.  
  54.  
  55. Single File Use:
  56.  
  57.         For a single input file, type either
  58.  
  59.              psfix  infile[.ps]  [outfile[.out]]
  60.         or
  61.              psfix  infile[.ps]  [.out]
  62.  
  63.         where [] indicates quantities which need not be typed. The
  64.         default outfile name is the infile with .out as the
  65.         extension. You may type .any in place of the outfile name,
  66.         in which case the infile name is used with .any as the
  67.         extension.
  68.  
  69.         For example,
  70.  
  71.              psfix  stuff  .foo
  72.  
  73.         will cause psfix to read input from stuff.ps and write output
  74.         to stuff.foo, whereas
  75.  
  76.              psfix  stuff.eps
  77.  
  78.         will cause psfix to read input from stuff.eps and write output
  79.         to stuff.out. You get the idea.
  80.  
  81.  
  82. WARNING:  If an output file already exists, it will be overwritten!
  83.  
  84. ----------------------------------------------------------------------------
  85.  
  86. Directory File Use:
  87.  
  88.         For a directory of input files, type
  89.  
  90.              psfix  dirfile  [.out]
  91.         or
  92.              psfix  dirfile  [.ps .out]
  93.  
  94.         where dirfile contains the word DIRECTORY (case ignored) as the
  95.         first word on the first line in the file, followed by input file
  96.         names, one per line. File extensions are not neccessary and will
  97.         be ignored if present. 
  98.  
  99.         In addition, the result of a DOS dir, sorted or not, will be
  100.         understood without need of any editing. For example, the file
  101.         tmp.dat, created by either
  102.  
  103.              dir  *.ps  >  tmp.dat
  104.         or
  105.              dir  *.ps  |  sort  >  tmp.dat
  106.  
  107.         will work fine, even though DIRECTORY is not the first word.
  108.  
  109.         The default output file extension is .out. If another
  110.         is desired, it must be specified after dirfile on the
  111.         command line. Likewise, the default input file extension
  112.         is .ps. If another is desired, *both* the input and
  113.         the output extensions must be specified after dirfile, as
  114.         shown above. Thus, the DOS sequence
  115.  
  116.              dir  *.eps  >  tmp.dat
  117.  
  118.              psfix  tmp.dat  .eps  .foo
  119.  
  120.         will process all *.eps files in the current directory, putting
  121.         the resulting output into the files *.foo.
  122.  
  123.  
  124.  
  125. ----------------------------------------------------------------------------
  126. DISCLAIMER & RESTRICTIONS
  127.  
  128. This software is the property of the Smithsonian Astrophysical Observatory
  129. and the U.S. government. It may be freely distributed under the following
  130. conditions:
  131.         1. It is distributed in its current form, without alterations.
  132.         2. No monetary profit is made, under any circumstances.
  133.  
  134. No claims are made regarding bug-free operation. Responsibility for any loss 
  135. resulting from use of this software rests entirely on the user.
  136. ----------------------------------------------------------------------------
  137.  
  138.  
  139.