home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows / 1993_Aces_Research_Dr._Windows_UPC_765872322017_shareware.iso / word / woprb.exe / FONTDIR.TXT < prev    next >
Text File  |  1991-06-30  |  4KB  |  117 lines

  1. fontdir - downloads a Type 1 font .PFB file to a PostScript printer
  2.  
  3. USAGE
  4.     fontdir [-o outputfile] [-t] [-n] [-I path]... [pfbFile ...]
  5.  
  6. DESCRIPTION
  7.     fontdir parses the .PFB file and downloads the font to a PostScript
  8.     printer connected to LPT1.  If no pfbFile is specified, fontdir
  9.     starts an interactive session.
  10.  
  11.     The output may be redirected to any file or port with the [-o] option.  
  12.     If outputfile is "LPT2", then parallel port 2 will be used.  If the
  13.     outputfile is "COM1" then serial port 1 will be used.  If the outputfile
  14.     is "-", the output is directed to the screen.  If you redirect the output
  15.     to a file, you can download that file directly by using DOS COPY.
  16.  
  17.     If you just want to see the PostScript font name of the pfbFile, use
  18.     the "-n" option.
  19.  
  20.     The PSFONTS environment variable defines the default search paths
  21.     for the font files.  The directory names must terminate with a '\'.
  22.     Each directory name is separated by a comma.
  23.  
  24.     INTERACTIVE SESSION:
  25.     If not pfbFile is specified, fontdir will enter an interactive session.
  26.     fontdir will build a list of fonts it finds in:
  27.         1. The current directory
  28.         2. In any directory specified by the -I option
  29.         3. In any directories specified by the PSFONTS environment
  30.            variable.
  31.     If duplicate file names are found, the first one encountered takes
  32.     presidence.
  33.  
  34.     Once inside fontdir, you'll see a list of fonts (file names followed
  35.     by the PostScript Name.)  A highlight bar indicates the font that 
  36.     will be selected/deselected when <Enter> is hit.  A command bar 
  37.     at the bottom show the valid key entries.  Selecting a font does
  38.     not initiate the download process.  You can select as many fonts
  39.     as you wish before downloading (<F1>) all of them at the same time 
  40.     (while you go grab a cup of coffee.)  Hitting any letters will
  41.     make the list jump to the first font that begins with that letter.
  42.     Otherwise <Pgup>, <Pgdn>, <UpArw>, and <DnArw> keys will help you
  43.     scroll through the list.  A brief legend:
  44.  
  45.     <PgUp>, <PgDn>, <UpArw>, <DnArw>
  46.         scrolls through the font list.
  47.  
  48.     <any letter>
  49.         Jumps to the first font that starts with that letter.
  50.  
  51.     <Enter>    
  52.         Toggles selection of the font under the highlight bar.
  53.         Selected fonts are marked with a check mark to the left
  54.         of the file name.
  55.  
  56.     <F1>
  57.         Downloads all selected fonts.
  58.  
  59.     <F2>
  60.         Changes the device name.  The default is LPT1, but it
  61.         can be changed to any other port or file name.
  62.  
  63.     <F3>
  64.         Toggles Permanent/Temporary font.  A "Permanent Soft font"
  65.         is one that will reside in the printer until it is
  66.         turned off.  A temporary font will disappear after the
  67.         current job (the first ^D that the printer sees.)
  68.         Downloading a temporary font is useful during testing
  69.         of a font.
  70.  
  71.     <F10>
  72.         Exit fontdir.
  73.  
  74. OPTIONS
  75.     -o    redirects the PostScript code to another file or device.
  76.         The default is LPT1.  If the filename is "-", standard
  77.         output is used (console).  A space between the 'o' and
  78.         the filename is optional.
  79.  
  80.     -t    makes the font a temporary one.  It will be cleared after
  81.         the next EOF (^D) sent to the printer.
  82.  
  83.     -n    Only display the name of the font.
  84.  
  85.     -I    specifies additional search paths to find pfbFiles.  These
  86.         paths are searched before the current directory and paths
  87.         specified by the PSFONTS environment variable.
  88.  
  89. EXAMPLES
  90.     set PSFONTS=c:\windows\psfonts\;c:\psfonts1\
  91.     fontdir prese___.pfb
  92.  
  93.     The above will search the current directory, then c:\windows\psfonts, then
  94.     c:\psfonts1 for prese___.pfb to download to LPT1, the default device.
  95.  
  96.     fontdir -I d:\fonts\ random__.pfb -t -otemp.fon
  97.  
  98.     The above will search d:\fonts first for random__.pfb before the standard
  99.     paths.  It will create a temporary downloadable font and store it to a
  100.     file called temp.fon.  The font may be downloaded to the printer using
  101.     the DOS COPY command.
  102.  
  103. Some legal stuff:
  104.  
  105. This program is distributed in the hope that it will be useful, BUT
  106. WITHOUT ANY WARRANTY WHATSOEVER, without even the implied warranties of
  107. merchantability or fitness for a particular purpose.
  108.  
  109. If, however, you do find this program useful outside of the envelope
  110. printing arena, and you feel up to it, you can send me $2 at the 
  111. following address:
  112.  
  113. Vincent Chen
  114. 3083 Rasmus Circle
  115. San Jose, CA 95148-3140
  116.  
  117.