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
Erro using PrintToDotMatrixPrinter
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.
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.