Page 1 of 1

Erro using PrintToDotMatrixPrinter

Posted: Wed Mar 03, 2010 9:19 am
by Douglas
When im using the PrintToDotMatrixPrinter acessing a server (the code is running on the web server) and the report give me this error: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
What can i do?I want to call the method PrintToDotMatrixPrinter in another way, when the report is showing to me.

Erro using PrintToDotMatrixPrinter

Posted: Thu Mar 04, 2010 1:25 am
by Andrew
Dear Douglas,

Calling this method you try to send a report to the server for printing. Only by means of a browser you may print on the client. You need to use the WebViewer. It has special methods: PrintToDirect, PrintToPdf, PrintToPopupWindow.

Thank you.