Print directly a Report.Printer Settings.PrinterName
-
- Posts: 53
- Joined: Thu Aug 21, 2008 9:28 pm
- Location: Peru
Print directly a Report.Printer Settings.PrinterName
Hello
I have a report that should go directly to the printer without showing print dialog box (Report.Print (False)). The idea is to take the printer name configured in the same report. (Report.Printer Settings.PrinterName). I've completed the configuration does not work ... but always sends the report to the printer implicit. Please your help to solve this issue.
Milton
I have a report that should go directly to the printer without showing print dialog box (Report.Print (False)). The idea is to take the printer name configured in the same report. (Report.Printer Settings.PrinterName). I've completed the configuration does not work ... but always sends the report to the printer implicit. Please your help to solve this issue.
Milton
Print directly a Report.Printer Settings.PrinterName
Did you set the 'Show Dialog' property to False?
-
- Posts: 53
- Joined: Thu Aug 21, 2008 9:28 pm
- Location: Peru
Print directly a Report.Printer Settings.PrinterName
Where to locate the property "ShowDialog"?
Print directly a Report.Printer Settings.PrinterName
Code: Select all
Report.PrinterSettings.ShowDialog = false;
Are you printing the report through code or is it when the user presses the print button from the preview window?
-
- Posts: 53
- Joined: Thu Aug 21, 2008 9:28 pm
- Location: Peru
Print directly a Report.Printer Settings.PrinterName
I am printing through code. With this change already solved the problem ... Thanks
Milton
Milton
Print directly a Report.Printer Settings.PrinterName
Thank you for this information.