home *** CD-ROM | disk | FTP | other *** search
/ Power Programming / powerprogramming1994.iso / progtool / printer / prn2file.arc / PRN2FILE.DOC < prev   
Text File  |  1987-11-16  |  2KB  |  49 lines

  1. [from VOL6N21.ARC (PC Magazine, Nov? 87
  2. Downloaded from SEMPER BBS, Fayetteville NC, 10 Dec 87
  3. David Kirschbaum
  4. Toad Hall
  5. ]
  6. PRN2FILE
  7. Command
  8.  
  9. Tom Kihlken     1987/No. 22 (Utilities)
  10.  
  11.  
  12. Purpose:    Captures any output nominally directed to a printer to a file
  13.  that can then be edited by a word processor or printed later.
  14.  
  15. Format:    PRN2FILE [d:][path]filename [/Pn] [/Bn] [/U]
  16.  
  17. Remarks:    PRN2FILE is a memory resident program that is normally loaded
  18.  as part of your AUTOEXEC.BAT file.  It should be installed before other print
  19.  utilities, such as a print spooler or the DOS MODE command.  Once installed,
  20.  the program may be run multiple times to change the filename (the drive and
  21.  path default to the current directory unless specified) designated to receive
  22.  the printer output.
  23.  
  24.     Unless the filename is changed, successive print operations are 
  25. appended to (rather than overwrite) the created file.  To disable the printer
  26.  output redirection, simply omit to specify a filename.
  27.  
  28.     The optional /Pn parameter designates the printer number (the default
  29.  is LPT1) to be redirected.  Note that output to a non-existent printer (/P2
  30.  in a one-printer system) is supported.  This is another way to permit normal
  31.  printing while PRN2FILE remains resident.  Legal values for Pn range from 1
  32.  through 3.
  33.  
  34.     The optional /Bn parameter sets the buffer size.  The default value is
  35.  4096 bytes, and values up to 64K may be specified.  The buffer repeatedly
  36.  empties when partially full in order to minimize the chance of buffer 
  37. overflow even when DOS may be called on for other activities than writing the
  38.  buffer to disk.  Should buffer overflow occur an error message is produced,
  39.  but some data will be lost, so the file should be re-written using a larger
  40.  buffer.
  41.  
  42.     The optional /U parameter is used to unload PRN2FILE from memory.  If
  43.  other memory-resident utilities have been loaded after PRN2FILE and have
  44.  chained onto the same interrupts, it will not be possible to unload the 
  45. program, and a message to this effect will be displayed.
  46.  
  47.     All optional parameters may be entered in any order, but must each be
  48.  separated by a single space character that acts as a delimiter.
  49.