Posted 14 September 2017, 7:20 pm EST
[activereports_archive]I am running into a problem where some of the printer-specific settings for the default printer are affecting the output when printing to different printer.
This is for Active Reports 10, C#, and section reports.
My customer has a printer, an epson, that has a printer setting that indicates if the printer should leave a border (empty space, like margins) around the page.
They have this printer set as a default printer.
When the print a section report to a different printer, the output shifts on the page depending on wethor or not this epson printer’s border is on or off. We have to print precisely positioned text so this is causing a serious problem.
My code to print is more-or-less like.
SectionReport sectionReport = LoadFromDisk(); DataSet dataSet = SomeFunctionThatCreatesData(); sectionReport.DataSource = dataSet; sectionReport.DataMember = dataSet.Tables[0].TableName; sectionReport.Run(); sectionReport.Document.Print(true,true,false);
thanks[/activereports_archive]