Page 1 of 1

Print to File

Posted: Mon Mar 19, 2012 8:49 am
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

Print to File

Posted: Tue Mar 20, 2012 9:50 am
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.