home *** CD-ROM | disk | FTP | other *** search
/ Phoenix CD 2.0 / Phoenix_CD.cdr / 24b / keyboard.zip / NOPRTSC.DOC < prev    next >
Text File  |  1986-02-25  |  2KB  |  31 lines

  1.                        IBM PrtSc Protector
  2.        (COMPUTE! Magazine February 1986 by Marc Sugiyama)
  3.  
  4.      One major complaint with the IBM PC keyboard is the position of
  5. the PrtSc key.  If your finger goes astray and accidentally hits both
  6. Shift and PrtSc, the PC dumps the screen to the printer.  Its annoying
  7. particularly when you're printing a long document of when you don't
  8. have a printer attached.  If there's no printer, the PC locks up until
  9. it figures out that there's nothing to print to.
  10.  
  11.      Nevertheless, it's nice to have the screen dump capability handy
  12. when you need it.  You wouldn't want to complete disable the function,
  13. but it would be nice if it were harder to call by accident.
  14.  
  15.      "PrtSc Protector" offers a good compromise.  It's a short machine
  16. language program that patches into the PrtSc function and distinguishes
  17. between the two Shift keys.  If you press the right Shift key with
  18. PrtSc, nothing happens.  If you press the left Shift key with PrtSc,
  19. you get the screen dump you really wanted.
  20.  
  21.      NOPRTSC.BAS creates the machine language file NOPRTSC.COM.  You
  22. activate NOPRTSC.COM simply by typing NOPRTSC at the DOS prompt.  The
  23. resident portion of NOPRTSC.COM takes 280 bytes of memory.
  24.  
  25.      If you want to dump graphics screen to the printer, install
  26. NOPRTSC.COM after installing GRAPHICS.COM.  Don't try to install
  27. GRAPHICS.COM more than once, or the computer will crash.  Likewise,
  28. don't try to install NOPRTSC.COM more than once.  When NOPRTSC.COM is
  29. installed successfully, it returns a zero in the ERRORLEVEL variable;
  30. otherwise, it returns a one.
  31.