home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / mbug / mbug056.arc / LISTT.DOC < prev    next >
Text File  |  1979-12-31  |  4KB  |  91 lines

  1. LISTT--File utility program for printers--10/17/82
  2.  
  3. Irvin M. Hoff
  4. Los Altos Hills, CA  94022
  5.  
  6. "LISTT"    is a printer utility program that lists    any requested file on
  7. your printer.  (The CRT    also displays what is being printed).  The name
  8. was selected so    it would be easy to type, easy to remember and be illus-
  9. trative    of its capabilities.
  10.     Include the name of the file (and its extent) that is
  11.     to be listed when asking for the program:
  12.         A>LISTT HELLO.ASM
  13.      A menu then appears asking several questions:
  14. Do you want tear tabs to use roll paper? (Y/N):    (1)
  15. Number of spaces to augment left margin (0-99):    (2)
  16. Ignore FF (Y/N):                (3)
  17. Heading/date is:                (4)
  18. Start at page  :                (5)
  19. Quit  at page  :                (6)
  20.  
  21. 1)  A "Y" gives tear tabs for roll paper.  Any other reply
  22.     (including RET) defaults to fanfold with no tear tabs.
  23. 2)  Ability to include 0-99 spaces at the left margin for
  24.     those printers without adjustable margins.  A RET de-
  25.     faults to no spaces (normal left margin).  Rejects any
  26.     non-numeric characters except RET.
  27. 3)  Responds to form feeds unless a 'Y' is typed.  Outputs
  28.     an appropriate number of line feeds enabling printers
  29.     without form feed to paginate correctly.
  30. 4)  Heading desired (such as current date, etc.)  Up to 124
  31.     characters may be used.    The name of the    file plus cur-
  32.     rent page number near the right margin are both automatic.
  33.     A RET defaults to file name and page number.
  34. 5)  Asks for starting page (defaults to page 1).
  35. 6)  Asks for page to stop at (defaults to end of file).
  36.  
  37. NOTE:  There are two options which may be user-set.
  38.     These    are locations 0103 and 0104.  They may
  39.     be set with "DDT", "SID" or by editing and
  40.     reassembling:
  41.     1)  PAGCOL--sets the column the Page number
  42.             starts at.  Some printers have
  43.             72 columns total, some 80, some
  44.             132,etc.  (Byte 0103)
  45.     2)  TTABN--Sets the space between tear tabs
  46.             for roll paper.  Some printers have
  47.             72 columns, some 80,some 132, etc.
  48.             (Byte 0104)
  49. Thus you can compensate for various printers and also print any
  50. portion of the file you wish.
  51.  
  52. FEATURES:
  53. a) Shows on the CRT what is being printed.
  54. b) Optional fanfold or roll paper. Adds tear tabs if roll
  55. paper is selected.
  56. c) Can abort at any time with CTL-C, but finishes the cur-
  57. rent line first.
  58. d) Can change the location of the Page number for use with
  59. printers of 72 columns, 80 columns, 132 columns, etc.
  60. (Byte at location 0103, via DDT.)
  61. e) Can change the spacing between the tear tabs for use with
  62. printers of 72 columns, 80 columns, 132 columns, etc.
  63. (Byte at location 0104, via DDT.)
  64. f) Can indent up to 99 spaces to effectively provide an ad-
  65. justable left margin (many printers do not permit changing
  66. the margin).  This allows you to easily center any printing.
  67. g) Can start on any page desired, saving paper (and time!)
  68. if you only wish to reproduce certain portions of a file.
  69. h) Can stop at any page desired, allowing the operator to
  70. do other things when only part of the file is needed.
  71. i) Shows the total number of pages in the file if you intion-
  72. ally (or otherwise) ask for a page number that is too high
  73. for the file.
  74. j) If a heading/date is longer than normal spacing for the
  75. page number, it is automatically moved further along.  Up
  76. to 124 characters may be used for the heading/date.
  77. k) An option on the menu allows you to ignore form feed chars.
  78. It automatically paginates without form feeds in the text.
  79. l) Works equally well on printers without form feed since it
  80. inserts the correct number of line feeds to paginate.
  81. m)prints control characters imbedded in the text
  82. other than CR, LF, form feed or tab.  You can thus dis-
  83. cover any unknown characters that normally do not print.
  84. COMMENT:  Line numbers can be added to any ASCII file with
  85.       PIP.COM and the [N] option:
  86.         A>PIP HELLO1.ASM=HELLO.ASM[N]
  87.     Form feeds can be removed with PIP.COM and the [F]
  88.     option.    You can    edit CTL-L (form feed char.) into
  89.     the file to force a new page wherever desired.
  90. * * * *    * * * *    * * * *    * * * *    * * * *    * * * *    * * * *    * * * *    * * * *
  91.