Print to File

Stimulsoft Reports.NET discussion
Post Reply
daveadams123
Posts: 1
Joined: Mon Mar 19, 2012 7:50 am

Print to File

Post by daveadams123 »

Is there a mechanism to get prevent Stimulsoft.Report.StiReport from producing a report if the printer's port has been defined as "Print to File" or if a printer such as Microsoft XPS Printing has been selected.

The reason here is we have a server that prints reports from a service, so can not have a report waiting for user input, otherwise the service hangs for input that it will never get

Thanks for help
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Print to File

Post by HighAley »

Hello.
daveadams123 wrote:Is there a mechanism to get prevent Stimulsoft.Report.StiReport from producing a report if the printer's port has been defined as "Print to File" or if a printer such as Microsoft XPS Printing has been selected.

The reason here is we have a server that prints reports from a service, so can not have a report waiting for user input, otherwise the service hangs for input that it will never get
There is no method in the .Net Framework to recognise such printer. We have no solution.
But we'll make improvement if you guide us how.

Thank you.
Post Reply