Article ID: 75180 - View products that this article applies to.
This article was previously published under Q75180
You may experience problems when doing a Print Screen from DOS with GRAPHICS.COM loaded. The symptoms may include the following:
The following steps may help solve the problem or explain why the print screen does not work.
copy c:\autoexec.bat com1If no printing occurs, there could be a hardware configuration problem for the ports. To check for this, try the following;
Normal values for these numbers should be as follows;
Note: Not all machines will follow these settings.
Printer PC/XT AT PS/2 Port I/O Range I/O Rng I/O Rng ------- --------- ------- ------- LPT1 03BC-03BF 03BC-03BF 03BC-03BF LPT2 0378-037F 0378-037F 0378-037B LPT3 0278-027F 0278-027F 0278-027B
For more information on troubleshooting COM ports and using Debug to create a script file to alter the BIOS table settings, query on the following words:
communications and tshootIf after checking these settings Print Screen still does not print, then it is not a print screen problem. However, check the MODE command in the AUTOEXEC.BAT file, and change it so that retry=r. For example, a printer hooked to COM1 at 9600 bits per second (bps), no parity, 8 data bits, and 1 stop bit should have the following MODE command:
The "r" is needed because the MODE command checks to see if DSR (data send ready) or CTS (clear to send) return "ready." If one of them does not report ready, DOS will not print. By putting the "r" in the MODE command, you specify "Return 'ready' from a status check of a busy port," which has the effect of always returning "ready." The drawback is that DOS will give a "Critical Error" message if the printer is not ready (for example, the printer is off or something else disallows printing).
mode com1: 9600,n,8,1,r
If the printer is a parallel printer, DOS 5.0 and later requires a status pin. This was added to MS-DOS 5.0 and later because in some configurations if the printer was not ready when a print job was sent, the machine would appear to hang.
For more information on the STACKS command, query on the following words:
information stacks command ms-dosFor more information on the Print Screen function, query on the following words:
print bios intFor more information on the MODE command, see the version 5.0 "Microsoft MS-DOS User's Guide and Reference" manual.
Article ID: 75180 - Last Review: May 12, 2003 - Revision: 2.0