Hi,
How do I print the chart to another printer than the currently selected (default) printer?
I would like to select the printer and the page size (A4 or A3).
I'm working with Visual Studio 2005 an C#
Thanks for any help!
Pat
Printing to selected printer
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Pat,
Yes, you can do that doing something like this:
Yes, you can do that doing something like this:
Code: Select all
tChart1.Printer.PrintDocument.PrinterSettings.PrinterName = "Printer Name";
tChart1.Printer.PrintDocument.DefaultPageSettings.PaperSize = new System.Drawing.Printing.PaperSize(PaperName, PaperWidth, PaperHeight);
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |