home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / assemblr / library / lphp / lp16.doc < prev   
Text File  |  1986-06-19  |  2KB  |  52 lines

  1.  
  2. LP Command
  3. ________________
  4.  
  5. Purpose:  To print an  ASCII  file on a standard printer device
  6.           at either 66 or 88 lines per page. A title is printed
  7.           at the top of each page which contains the file name,
  8.           creation date, and page number. Control codes are set
  9.           for an HP LaserJet printer.
  10.  
  11. Syntax:   LP  [d][path]filename[.ext]   [/6][/8]
  12.                                         [/L1][/L2]
  13.                                         [/10][/12][/17]
  14.  
  15. Remarks:
  16.     The default is 66 lines per page which results in
  17.     an actual page text length of 60 lines. For 88 lines
  18.     per page,
  19.            per page, specify the /8 option. This results in
  20.     a page text length of 80 lines.
  21.  
  22.     The default printer is LPT1.  For LPT2, specify /L2.
  23.  
  24.     The default is 10 characters per inch.  For 12 cpi,
  25.     specify /12; for 17 cpi, specify /17.  An appropriate
  26.     font must be available.
  27.  
  28.     If the input filename is omitted, you are asked for it.
  29.  
  30.     Each page is numbered and contains a title consisting of
  31.     the file name and creation date.  If a bold font is
  32.     available, this top heading line has a weight of 3.
  33.  
  34.     The control codes can be changed for use with other
  35.         printers.
  36.  
  37.         If a print spooler is used, DO NOT use LP while using the
  38.         DOS PRINT command.
  39.  
  40. Notes:
  41.        Written by Vernon Buerg for the IBM PC using DOS 2.0 or
  42.        later.  For public domain use.  Not for sale or hire.
  43.  
  44.           Version 1.1, April 27, 1984.
  45.           Version 1.2, Sept 12, 1984.
  46.           Version 1.4, Aug 14, 1985.
  47.               Because some print spoolers do not handle Int 17h
  48.               this version uses function 21 to write to the printer.
  49.               It is slower than 1.2.
  50.           Version 1.6l, June 19, 1986.
  51.               Modified for use with HP LaserJet printer
  52.