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

Printing object to default printer - how? 1

Status
Not open for further replies.

MikeBronner

Programmer
May 9, 2001
756
US
I would like to send a MSChart object to the printer (while it is invisible, so Printform won't work).

Is there an API call I could use for this, or perhaps another way using the Printer function?

Any suggestions are appreciated, thanks! Best Regards and many Thanks!
Michael G. Bronner X-)

"Who cares how time advances? I am drinking [beer] today." Edgar Allan Poe
 
Don't need the API

MSChart1.EditCopy
Printer.Print " "
Printer.PaintPicture Clipboard.GetData(), 0, 0
Printer.EndDoc
 
Just what I needed! Thanks a bunch :) Best Regards and many Thanks!
Michael G. Bronner X-)

"Who cares how time advances? I am drinking [beer] today." Edgar Allan Poe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top