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

How to print a complete window

Status
Not open for further replies.

Bachatero

Programmer
Aug 30, 2006
36
NL
I am able to print some text to the printer, but how can I print a complete form or dialog that contains text and a graph. I use Borland C++ 6.0 VCL. Or where can I find some info about using the printer.

Thanks in advance,

Johan
 
You mean like Form1->Print()? That should print everything on your form to your default printer.

If you need more control over printing, you can print directly to the printer canvas. There's quite a bit to controlling the printer directly, take a look at the Printer() object (<#include printers.hpp>) and google around the web. There are plenty of examples out there, then ask specific questions if you need to.

Good luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top