home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 19 Printer / 19-Printer.zip / pc2ps.zip / pc2ps.doc next >
Text File  |  1993-12-19  |  4KB  |  104 lines

  1.  
  2. This archive contains PC ASCII to PostScript converter for OS/2
  3. version 2.0 and later. It is originally written by Stephen Frede
  4. and the PC ASCII (ASCII codes from 0 to 31 and 128 to 255) chars
  5. were added by Roland Giersig. I ported it to OS/2 and made some
  6. minor modifications.
  7.  
  8. I tried to contact (via Email) the other guys but with no luck.
  9. Mr Giersig was supposed to have mail account at EDVZ.ATI.ADA.AT
  10. few years ago but such machine does not exist any more. However,
  11. as far as I'm concerned you can use this program as you wish and
  12. I'm sure Mr Frede and Mr Giersig do not mind either.
  13.  
  14. Bug reports and suggestions may be sent to tke@utu.fi
  15.  
  16.  
  17. DESCRIPTION
  18.    PC2ps reads text from file(s) (or standard input if specified)
  19.    and produces postscript output on stdout, suitable for piping
  20.    to any postscript device (such as an Apple Laserwriter) or for 
  21.    using with any program that expects postscript input (such as a
  22.    postscript interpreter used to drive some other raster
  23.    device). Text is normally aligned to the top and left edges
  24.    of the imageable region of the page (usually slightly smaller
  25.    than the physical page size), and a new page is started
  26.    whenever text would fall below this region.  The following
  27.    options are understood, with all values able to be given
  28.    as integer or real:
  29.  
  30.    -r[angle]
  31.         Rotate the page by the given angle (in degrees).  The
  32.         default angle is 0 (portrait mode).  If -r is used
  33.         without specifying an angle, angle is set to 90
  34.         (landscape mode).  Angles other than 0 or 90 may cause
  35.         text to fall outside the imageable region.
  36.  
  37.    -s[pointsize]
  38.         Set the pointsize (character size) to the given value (72
  39.         points = 1 inch).  The default pointsize is 8.  If -s is
  40.         used without specifying the pointsize, the pointsize is
  41.         set to 10.
  42.  
  43.    -h[space]
  44.         Increase the horizontal spacing of characters by the
  45.         given fraction of the current pointsize.  For example,
  46.         using `-h0.25' when pointsize = 12 causes the horizontal
  47.         spacing to increase by 3 points. The default horizontal
  48.         spacing is 0 i.e. the characters are placed next to each
  49.         other, using their natural widths.  If -h is used without
  50.         specifying spacing, spacing is set to 0.25 x pointsize.
  51.  
  52.    -p[linepitch]
  53.         Set the line spacing of printed text to the given value
  54.         (72 points = 1 inch).  Unless a value is specified for
  55.         the linepitch using this option, the linepitch used will
  56.         be equal to pointsize + 2. 
  57.  
  58.    -o[offset]
  59.         Offset text from the left edge of the imageable region,
  60.         by the given distance (in centimeters) on all pages.  The
  61.         default offset is 0.  If -o is used without specifying an
  62.         offset, offset is set to 1 cm. 
  63.  
  64.    -oe[offset]
  65.         Offset text from the left edge of the imageable region,
  66.         by the given distance (in centimeters) on even pages
  67.         only.  The default offset for even pages is the same as
  68.         that for odd pages.  If -oe is used without specifying an
  69.         offset, offset is set to 1 cm on even pages.  Option -o
  70.         followed by the option -oe may be used to set offsets on
  71.         odd and even pages independently.
  72.  
  73.    -m[topmargin]
  74.         Set the top margin to the given value (in centimeters).
  75.         The default is to set this to 0.5 cm.  If -m is specified
  76.         without a value for top margin, top margin is set to 1.5
  77.         cm.
  78.  
  79.    -w[linewidth]
  80.         Specify the number of characters per line.  Longer lines
  81.         are folded.  The default is no folding.  If -w is used
  82.         without specifying linewidth, linewidth is set to 72
  83.         characters per line.  Useful with fixed-width fonts.
  84.  
  85.    -l[pagelength]
  86.         Specify the number of lines per page.  The default is to
  87.         start a new page whenever text falls below the imageable
  88.         region.  If -l is used without specifying a pagelength,
  89.         pagelength is set to 60. 
  90.  
  91.    -i   
  92.         Accept input from Stdio.
  93.  
  94.    -?
  95.         Print a list of options and quit.
  96.  
  97.    The default values (no options) give a layout that is equivalent 
  98.    to a normal lineprinter printout. Useful for listings etc.
  99.    Options without parameters give a much prettier layout (larger font,
  100.    better margins). Useful for manuals etc.
  101.    
  102.  
  103. /Timo Eronen, tke@utu.fi
  104.