home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / lambda / soundpot / f / fileprin.lbr / FILEPRIN.DZC / FILEPRIN.DOC
Encoding:
Text File  |  1993-10-26  |  3.8 KB  |  105 lines

  1. .hσ FILEPRIN.BA╙  (1/1/83⌐                pagσ #
  2. .p∩ 10
  3.  
  4.  
  5.  
  6.  
  7.                     FILEPRIN.BA╙  
  8.  
  9.  
  10.                   Gar∙ W« Addison
  11.                220╡ Wes⌠ ConcorΣ Road
  12.                  Muncie¼ I╬  47304
  13.  
  14.  
  15.  
  16.      FILEPRI╬ i≤ designeΣ t∩ takσ MAST.CA╘ a≤ ì
  17. formatteΣ b∙ NEWCA╘ o≥ FMAP/UCAT/CA╘ anΣ prin⌠ thσ ì
  18. director∙ oµ an∙ disδ yo⌡ choosσ oε thσ screeε o≥ ì
  19. printer«  Yo⌡ ma∙ havσ thσ printe≥ outpu⌠ oε ß ì
  20. standarΣ ▒ 1/▓ b∙ ┤ incΦ labe∞ iµ yo⌡ prefe≥ (ma° oµ ì
  21. 2╖ files)«  ┴ men⌡ oµ catalogeΣ disks¼ sorteΣ b∙ ì
  22. disδ number¼ i≤ presenteΣ fo≥ yo⌡ t∩ choose«  Outpu⌠ ì
  23. i≤ directeΣ t∩ thσ printe≥ b∙ POKEinτ thσ outpu⌠ ì
  24. routσ froφ consolσ t∩ printe≥ thu≤ simplifyinτ thσ ì
  25. prograφ sincσ thσ samσ prin⌠ statement≤ caε bσ useΣ ì
  26. oε thσ screeε o≥ printer.
  27.  
  28.      Thσ disknamσ i≤ determineΣ b∙ onσ oµ thesσ ì
  29. methods:
  30.      1«  Firs⌠ methoΣ i≤ t∩ seeδ thσ "-ó oε ß filσ ì
  31. listed«  Iµ ß filenamσ iε MAST.CA╘ start≤ witΦ thi≤ ì
  32. character¼ i⌠ i≤ assumeΣ t∩ flaτ thσ disknamσ anΣ i≤ ì
  33. useΣ iε tha⌠ way.
  34.      2«  Second¼ iµ thσ abovσ marke≥ doe≤ no⌠ apì
  35. pear¼  i⌠ look≤ fo≥ ß filσ startinτ witΦ ß "+ó sigε ì
  36. a≤ iε thσ forφ useΣ t∩ sho≈ freσ spacσ -- ì
  37. +++45k.FRE«  Thσ disδ namσ i≤ theε pickeΣ u≡ froφ ì
  38. thσ seconΣ par⌠ oµ thσ entry.
  39.      3«  Iµ neithe≥ oµ thσ abovσ appears¼ i⌠ look≤ ì
  40. fo≥ thσ "[[ó tha⌠ start≤ thσ [[45]].LF╘ (spacσ left⌐ ì
  41. filσ anΣ pick≤ u≡ thσ disδ namσ froφ thσ seconΣ par⌠ ì
  42. oµ thσ entry.
  43.  
  44.      Iµ thσ file≤ iε thσ forφ +++45k.FR┼ o≥ ì
  45. [[45]].LF╘ appear¼ the∙ arσ useΣ t∩ determinσ thσ ì
  46. amoun⌠ oµ disδ freσ space«  Iµ neithe≥ oµ theφ ì
  47. appears¼ disδ spacσ i≤ listeΣ a≤ "unknown".
  48.  
  49.      Thσ prograφ ha≤ beeε testeΣ oε MAST.CA╘ entrie≤ ì
  50. formatteΣ iε thσ followinτ ways:
  51.                -filname.typ,dskname,nnn
  52.                -filname.typ,dskname,nnn;u
  53.                +++nnk.FRE,dskname.nnn
  54.                +++nnk.FRE,dskname.nnn;u
  55.                [[nn]].LFT,dskname.nnn;u
  56. .pa
  57. è     Becausσ oµ thσ above¼ i⌠ i≤ assumeΣ tha⌠ iµ ß ì
  58. filσ start≤ witΦ "-"¼ "+",o≥ "[[ó tha⌠ i⌠ i≤ no⌠ ß ì
  59. valiΣ filσ bu⌠ i≤ ß disδ namσ o≥ ß freσ spacσ inì
  60. dicator.
  61.  
  62.      Thσ prograφ load≤ thσ entirσ MAST.CA╘ int∩ aε ì
  63. arra∙ s∩ tha⌠ i⌠ caε bσ searcheΣ fo≥ files«  TesteΣ ì
  64. witΦ ß cataloτ oµ abou⌠ 32╡ entries¼ therσ wa≤ stil∞ ì
  65. abou⌠ 12╦ oµ memor∙ left«  Therefore¼ thσ arra∙ ì
  66. dimensioninτ oµ 75░ files¼ anΣ 7╡ disk≤ i≤ probabl∙ ì
  67. valid.
  68.  
  69.      Occasionally¼ thσ printou⌠ wil∞ seeφ slow¼ bu⌠ ì
  70. kee≡ iε minΣ tha⌠ fo≥ eacΦ filσ ß pas≤ i≤ madσ ì
  71. througΦ thσ array¼ usinτ severa∞ strinτ function≤ t∩ ì
  72. selec⌠ thσ necessar∙ component≤ oµ thσ filσ entries«  ì
  73. An∙ filσ usinτ thσ +++nnk.FR┼ notatioε wil∞ star⌠ ì
  74. slo≈ whilσ thσ prograφ strip≤ ofµ thσ "+ó sign≤ anΣ ì
  75. determine≤ freσ space«  Thσ [[nn]].LF╘ freσ spacσ i≤ ì
  76. no⌠ a≤ slow.
  77.  
  78.      Thσ printe≥ configuration≤ arσ currentl∙ se⌠ ì
  79. fo≥ aε NEC-8032┴ printer«  Norma∞ printou⌠ i≤ ì
  80. initializeΣ witΦ thσ strinτ iε Linσ 26░ fo≥ 1░ ì
  81. character≤ pe≥ incΦ anΣ ╢ line≤ pe≥ inch«  Label≤ ì
  82. arσ initializeΣ b∙ thσ value≤ iε Line≤ 24░ anΣ 25░ ì
  83. t∩ 1▓ character≤ pe≥ incΦ anΣ ╕ line≤ pe≥ inch«  Yo⌡ ì
  84. wi∞ neeΣ t∩ changσ theφ t∩ conforφ witΦ you≥ ì
  85. printer« 
  86.  
  87.      Iµ yo⌡ happeε t∩ abor⌠ thσ prograφ whilσ iε thσ ì
  88. prin⌠ al∞ disk≤ modσ (choicσ <999>)¼ anΣ you≥ outpu⌠ ì
  89. i≤ directeΣ t∩ thσ printer¼ yo⌡ wil∞ neeΣ t∩ ì
  90. immediatel∙ typσ POK┼ 58637,2▒ t∩ ge⌠ outpu⌠ bacδ oε ì
  91. thσ screen«  Yo⌡ won'⌠ seσ i⌠ bu⌠ it'l∞ ge⌠ yo⌡ ì
  92. back.
  93.  
  94.      Iµ yo⌡ havσ an∙ comments¼ pleasσ le⌠ mσ know«  ì
  95. ╔ hopσ yo⌡ finΣ thi≤ useful.
  96.  
  97.                               Gar∙ Addison
  98.  
  99.  
  100. N.B« Iε casσ yo⌡ wan⌠ t∩ usσ it¼ t∩ routσ thσ outpu⌠ 
  101. froφ Basiπ t∩ thσ printe≥ insteaΣ oµ thσ console¼ 
  102. POK┼ 58637,29«  T∩ routσ bacδ t∩ thσ screen¼ POK┼ ì
  103. 58637,21.
  104. Credi⌠ fo≥ thi≤ informatioε t∩ Craiτ Feied¼ Suddení  
  105. Software¼ Honolulu¼ HI.
  106.