This article was previously published under Q140399
When you press the Print Screen key at the MS-DOS Command Prompt or in aDOS application window under Windows NT, the screen contents are copied tothe clipboard. If you want to redirect the screen contents from a 16-bitMS-DOS application to your printer, you must configure either the ProgramInformation File (PIF) file or the shortcut so that Windows NT ignores thePrint Screen key while the application is running.
To redirect the screen contents of a 16-bit MS-DOS application to yourPrinter, perform the following steps:
Windows NT 3.51
Run the PIF Editor (Pifedit.exe).
For Program Filename, enter the full path of Command.com. For example:
Select the PrtSc check box in Reserve Shortcut Keys, and then click OK.
Click Windows NT.
Make sure that the full path of the Config filename is correct. By default, the full path is:
Save the PIF.
Using a text editor, such as Notepad, add the following line to the Config.nt file and save the file:
Run the PIF.
NOTE: This procedure allows you send Print Screen contents to your printerfor all 16-bit MS-DOS applications. If you want this to work for one 16-bitMS-DOS application, create another Config file and enter the full path ofthe file in step 6 above. This works with Command.com and does not workwith Cmd.exe.
Windows NT 4.0
Create a shortcut to the DOS application.
Right-click on the shortcut, and then select Properties.
Click the Misc tab.
Click to clear the PrtSc check box.
If you have a locally attached printer, you should now be able to launchthe DOS application using the shortcut and use the Print Screen key toprint locally. If you are using a network printer, you have to redirect theprinter output to the network printer using the following command at aMS-DOS command prompt: