How do I send to the printer

Stimulsoft Reports.NET discussion
Post Reply
mhf
Posts: 20
Joined: Wed Jun 20, 2012 5:29 am
Location: wg

How do I send to the printer

Post by mhf »

Hi
I have a printer named HP LaserJet P1006
How do I send the application directly on the device
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How do I send to the printer

Post 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.
Post Reply