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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Do You "Print Screen" From A Procedural FoxPro Program?

Status
Not open for further replies.

drosenkranz

Programmer
Sep 13, 2000
360
US
I've assumed ownership of an antique program entirely written in .prg's. How Do You "Print Screen" From A Procedural FoxPro Program?

Thanks
The 2nd mouse gets the cheese.
 
This may not be what you're looking for, but

Before the .prgs execute:
Code:
set device to printer
will send subsequent
Code:
@ say
screen output to a printer, or simply
Code:
Set Printer On
to catch lines like
Code:
? "Print This"

If you want to to programmatically trigger a "Print Screen" keypress, there is, I believe no way to do it in DOS except through a C or Assembler call. Or are you on Windows?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top