cmanis@petro.UUCP (Cliff Manis) (07/12/87)
I need to be able to print the screen in a batch file. Using Shift-PrtSc or whatever. Does anyone have a program that can do this. There must be some hooks somewhere in DOS. I am using IBM DOS 3.1 Thanks for any help, and am awaiting any results of this msg. Cliff Manis (..!seismo!gatech!petro!cmanis) San Antonio, Texas
ralf@b.gp.cs.cmu.edu (Ralf Brown) (07/15/87)
In article <309@petro.UUCP> cmanis@petro.UUCP (Cliff Manis) writes: >I need to be able to print the screen in a batch file. Using Shift-PrtSc or >whatever. Does anyone have a program that can do this. There must be some >hooks somewhere in DOS. I am using IBM DOS 3.1 Thanks for any help, and >am awaiting any results of this msg. > >Cliff Manis (..!seismo!gatech!petro!cmanis) > San Antonio, Texas Try this little four-byte program (DEBUG script--run DEBUG, then type the following exactly, including the blank line) a100 int 5 int 20 rcx 4 n prtsc.com w q This invokes the same routine shift-PrtSc invokes. To use it, include the line PRTSC in your batch file (preferably with ECHO OFF). -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ARPA: RALF@B.GP.CS.CMU.EDU USnail: Ralf Brown AT&T: (412) 268-3053 (school) Computer Science Department Carnegie-Mellon University DISCLAIMER? Who ever said I claimed anything? Pittsburgh, PA 15213 "I do not fear computers. I fear the lack of them..." -- Isaac Asimov