Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print Screen / Text File

Status
Not open for further replies.

Bsmithx0

IS-IT--Management
Aug 23, 2001
8
US
Can someone tell me how to print the screen to a text file? I am using Windows 2000 and a program called CRT. All I need to do is print the screen to a random text file.

I setup a generic printer in Win2K and selected "Text File" for the port, but it will always prompt for the filename. There must be a better way ??

Thanks in advance!
 
im very new at vbscript, but in dos you would redirect the output of the program to the printer of file crt>printfile or crt>prn im sure the same syntax exsits in vbscipt i just dont know it.

it may look like this???

Set oShell = WScript.CreateObject("WScript.Shell") oShell.Run "command /C crt>prn"

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top