home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / mskermit / mspspd.txt < prev    next >
Text File  |  2020-01-01  |  2KB  |  58 lines

  1. FILE MSPSPD.HLP          SERIAL PRINTER DRIVER                 September 1991
  2.  
  3. MSPSPD.ASM is a public domain serial printer driver for MS-DOS computers,
  4. written by Frank Whaley in 1989 and found by Joe Doupnik in the mirror/printer
  5. directory on wuarchive.wustl.edu.  The original name of the program was
  6. XONXOFF; it has been renamed to MSPSPD to fit the Kermit Distribution naming
  7. conventions.
  8.  
  9. MS-DOS allows you to define a COM port as a printer device using the MODE
  10. command, for use with a serial printer, for example:
  11.  
  12.   MODE COM1:9600,N,8,1,P
  13.   MODE LPT1:=COM1
  14.  
  15. However, MS-DOS does not provide flow control between itself and a serial
  16. printer.  MS-DOS Kermit uses standard DOS calls for printer operations (print
  17. screen, transparent print, autoprint, etc).  A common complaint is that these
  18. print operations do not work well with serial printers -- characters are lost
  19. or garbled, etc.
  20.  
  21. The MSPSPD program provides the needed flow control for serial printers.  It
  22. works only for COM1 only.  It installs itself as a terminate-and-stay-resident
  23. (TSR) program, intercepts DOS interrupt 17H, leaves the port baud rate and
  24. other parameters as found (so you must set them with the MODE command), and
  25. contains no provisions for de-installation.
  26.  
  27. The program is written in assembly language.  To build it:
  28.  
  29.   MASM MSPSPD;
  30.   LINK MSPSPD;
  31.   DEL MSPSPD.OBJ
  32.   EXE2BIN MSPSPD.EXE MSPSPD.COM
  33.   DEL MSPSPD.EXE
  34.  
  35. Then run it from your AUTOEXEC.BAT file after giving the necessary MODE
  36. commands, for example:
  37.  
  38.   MODE COM1:9600,N,8,1,P
  39.   MODE LPT1:=COM1
  40.   C:\MSPSPD
  41.  
  42. For generality, this program needs to be modified to accept command line
  43. arguments to specify which port address (and IRQ) to use, and to allow
  44. deinstallation.  The normal port values are:
  45.  
  46.   Port  Address IRQ
  47.   COM1   03F8H   4
  48.   COM2   02F8H   3
  49.   COM3   03220   3 (PS/2)
  50.   COM4   03228   3 (PS/2)
  51.  
  52. NOTE: Non-PS/2s probably use different addresses and IRQs for COM3 and COM4.
  53. If you make these modifications, be sure to send the improved program back
  54. to Kermit Distribution at Columbia University so everybody can benefit from
  55. your work.
  56.  
  57. [End of MSPSPD.HLP]
  58.