home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / sprint / hplj3j11.zip / MAIN.SPL < prev    next >
Text File  |  1991-09-02  |  2KB  |  49 lines

  1. printer LaserJet III,disk Alternative-A,in hplj3j.spl
  2.  
  3. ;; --- IBM PC: ---
  4.  
  5. port Serial (COMn:), root, name Serial,
  6. ;; Serial ports may use hardware (Busy/Ready) handshaking, or XON/XOFF (also
  7. ;; known as DC1/DC3, or software handshaking).  You will need to know which
  8. ;; kind of handshaking to choose.
  9.     io PORT,omask 60H,oready 60H,imask 1,iready 1
  10.  
  11. port Serial (COMn:).COM1, root, oport 3F8H, ostat 3FDH, iport 3F8H, istat 3FDH
  12. ;; Select the type of handshaking to be used.
  13. port Serial (COMn:).COM1.Busy/Ready
  14. port Serial (COMn:).COM1.XON/XOFF,sync
  15.  
  16. port Serial (COMn:).COM2, root, oport 2F8H, ostat 2FDH, iport 2F8H, istat 2FDH
  17. ;; Select the type of handshaking to be used.
  18. port Serial (COMn:).COM2.Busy/Ready
  19. port Serial (COMn:).COM2.XON/XOFF,sync
  20.  
  21. port Parallel (LPTn:), root, name Parallel,
  22. ;; The "LPTn" terminology varies in depending on the arrangement of your
  23. ;; hardware, so you must choose the port by which card it is plugged into.
  24. ;; Choose:
  25. ;;    "Mono" if your printer is plugged into a monochrome display adapter.
  26. ;;    "Normal" for almost any other parallel port.
  27. ;;    "AST2" for a second parallel port on AST (and other) cards.
  28.     io PORT,omask 80H,oready 80H
  29.  
  30. port Parallel (LPTn:).Mono,ostat 3BDH,oport 3BCH,send %c%958p\15\14
  31.  
  32. port Parallel (LPTn:).Normal,ostat 379H,oport 378H,send %c%890p\15\14
  33.  
  34. port Parallel (LPTn:).AST2,ostat 279H,oport 278H,send %c%634p\15\14
  35.  
  36. port Other,
  37. ;; The device names that follow  are for communication with specific device
  38. ;; drivers.
  39.     root
  40.  
  41. ;; Use these to talk to specific MSDOS device drivers:
  42. port Other./dev/com1,io DEVICE
  43. port Other./dev/com2,io DEVICE
  44. port Other./dev/com3,io DEVICE
  45. port Other./dev/com4,io DEVICE
  46. port Other./dev/lpt1,io DEVICE
  47. port Other./dev/lpt2,io DEVICE
  48. port Other./dev/lpt3,io DEVICE
  49.