home *** CD-ROM | disk | FTP | other *** search
/ Fontamania! / Fontamania.iso / calamus / fpprnt.txt < prev    next >
Text File  |  1980-01-03  |  3KB  |  64 lines

  1.                                 FPPRNT
  2.  
  3.                                  by
  4.                             Frank Pawlowski
  5.                                05/29/91
  6.  
  7. I just recently purchased an HP Laser Jet IIIP printer and after reading
  8. about the rate at which the printer could accept data (55 KBytes/sec)
  9. thought that maybe the system would run faster without a print spooler.
  10. So I wrote a little printer character output routine that patches into
  11. the TRAP 13 vector to just output characters to the printer port a bit
  12. more efficiently than TOS does.  After some testing it is quite clear
  13. that printers that can accept data at a high rate do indeed perform better
  14. with the patched program.  The system I tested it on was a 1040ST with
  15. 4 Megs, TOS 1.4 and an ADSPEED accelerator board running in the 16 MHz
  16. mode.
  17.  
  18. The test I ran compared the built in TOS routine, SI Ramdisk/Print Spooler
  19. and my program FPPRNT.  The benchmark used was the time it took to output
  20. a moderately complex page using Pagestream.  The time I recorded was from
  21. the "printing page" message to the point that the print dialog box 
  22. disappeared (this is the actual time required to output to the printer).
  23. The results are as follows:
  24.  
  25.         Built in TOS routine            4 min, 07 secs
  26.         SI Ramdisk/Print Spooler        1 min, 10 secs
  27.         FPPRNT routine                         41 secs
  28.  
  29. Oh I did do one sneaky thing with FPPRNT, I put it at the end of my
  30. auto folder so that it was probably near the last program to steel the
  31. TRAP 13 vector and not suffer the overhead associated with other
  32. program that patch into the TRAP 13 vector.  Accessories however 
  33. get the last crack at stealing the vector.
  34.  
  35. Even though this benchmark was tested with an accelerator, I believe
  36. that similar improvements will be made with unaccelerated machines using
  37. even slower printers.  I used to have a Deskjet+ printer and noticed
  38. that the printer would be waiting for additional data so I think that
  39. this program would improve its performance.
  40.  
  41. Since this programs patches the standard TOS printer output routine it
  42. will increase the print speed for any application you use that uses
  43. the standard routine (virtually all programs!).  Of course, programs
  44. that output using bit graphics (Pagestream, Calamus, GDOS applications,
  45. etc.) will enjoy the largest improvement.
  46.  
  47. To use this program just put it in your auto-folder, preferably at or
  48. near the end.  Test it and see if it helps you out!
  49.  
  50. This program is free to copy and distribute.  If you continue to use 
  51. the program a $10 shareware contribution would be appreciated.
  52.  
  53. Although the program has been well tested and appears to be bug free, 
  54. the author takes no responsibility for any damage it causes to any user.
  55. If you find an incompatability or bug, please send a bug report in to me
  56. and I will try to eliminate it.
  57.  
  58. Send shareware fees and any bug reports to:
  59.  
  60.         Frank Pawlowski
  61.         23 Hickory Drive
  62.         Amherst, NH 03031
  63.  
  64.