Microsoft KB Archive/32038

From BetaArchive Wiki
Knowledge Base


Redirecting the Results of Pressing the PRINT SCREEN Key

Article ID: 32038

Article Last Modified on 5/12/2003



APPLIES TO

  • Microsoft MS-DOS 1.0 Standard Edition
  • Microsoft MS-DOS 2.11 Standard Edition
  • Microsoft MS-DOS 3.1
  • Microsoft MS-DOS 3.2 Standard Edition
  • Microsoft MS-DOS 3.21 Standard Edition
  • Microsoft MS-DOS 3.3 Standard Edition
  • Microsoft MS-DOS 3.3a
  • Microsoft MS-DOS 4.0 Standard Edition
  • Microsoft MS-DOS 5.0 Standard Edition
  • Microsoft MS-DOS 5.0a
  • Microsoft MS-DOS 6.0 Standard Edition
  • Microsoft MS-DOS 6.2 Standard Edition
  • Microsoft MS-DOS 6.21 Standard Edition
  • Microsoft MS-DOS 6.22 Standard Edition



This article was previously published under Q32038

SUMMARY

When the PRINT SCREEN key is pressed, an interrupt occurs that dumps the contents of the screen to the printer. This interrupt (INT 05h) is not an MS-DOS interrupt; it is a ROM-BIOS interrupt.

The MS-DOS MODE command can redirect the MS-DOS file handle and FCB output sent to the LPT1: device to a serial device (that is, COM1 or COM2).

However, MS-DOS has no way to redirect the output generated by pressing the PRINT SCREEN key, which by default goes to the device referred to as LPT1:. The only way to redirect the output to another serial or parallel port is to use a public-domain utility designed for this purpose. Public- domain utilities are available that redirect printer output (including output generated by pressing the PRINT SCREEN key) to a file and to another parallel port.


Additional query words: 6.22 1.10 1.25 2.00 2.10 2.11 3.00 3.10 3.20 3.21 3.30 3.30a 4.00 5.00 5.00a 6.00 6.20

Keywords: KB32038