Page 1 of 1

How do I send to the printer

Posted: Sat Nov 10, 2012 5:03 pm
by mhf
Hi
I have a printer named HP LaserJet P1006
How do I send the application directly on the device

Re: How do I send to the printer

Posted: Mon Nov 12, 2012 8:28 am
by HighAley
Hello.

You should set the PrinterSettings with next code:

Code: Select all

PrinterSettings printerSettings = new PrinterSettings();
printerSettings.PrinterName = PrintName;
report.Print(false, printerSettings);
Thank you.