I had problems trying to print when I updated the Telerik dlls from 2008. There was an issue discussed in some threads regarding the orientation in
http://www.telerik.com/forums/printing-report-on-label-printer-wrong-orientation in which Stephan states
"Please download and test the latest available Telerik Reporting Q2 2014 SP1 version 8.1.14.804, where we included modifications in the print mechanism for WPF and WinForms ReportViewer controls."
I am struggling with he latest version of the software to make this work. Please help
Here is a snippet of vb which worked up to 2013
Dim rpt As New CLCertReports.Assetlabel1(mID, mPartnerID, mIdent, mSerial)
Dim mInstanceReportSource As New Telerik.Reporting.InstanceReportSource()
mInstanceReportSource.ReportDocument = rpt
Dim printerSettings As New System.Drawing.Printing.PrinterSettings()
printerSettings.PrinterName = System.Configuration.ConfigurationManager.AppSettings("LabelPrinter1") '"TECB-452"
Dim printController As System.Drawing.Printing.PrintController = New System.Drawing.Printing.StandardPrintController()
Dim reportProcessor As Telerik.Reporting.Processing.ReportProcessor = New Telerik.Reporting.Processing.ReportProcessor()
reportProcessor.PrintController = printController
Me.ReportViewer1.ReportSource = mInstanceReportSource
reportProcessor.PrintReport(mInstanceReportSource, printerSettings)
The label renders on the ReportViewer fine and if printed with the dialogue prints fine. However, it still tries to print portrait over two labels in code behind and if i change the .ReportDocument.PageSettings.Landscape settings then it clips the label and does not print properly from the ReportViewer.
What am I doing wrong and how do change the above code to make this work
Many thanks