Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
615
igr file without print preview
posted

Hi,

I'd like to give users opportunity to print igr files with preview or without it. Is there any way to print igr file without print preview ?

 

regards

Parents
  • 615
    posted

    I'm trying to do this below method but I've got problem. When I print it on CutePDF writer everything is OK but when I try to use any other printer ultra report viewer shows it's printer dialog - I don't know why. 

     

    Infragistics.Win.UltraWinReportViewer.PageSettings pageSettings = ultraReportViewer1.GetCurrentPageSettings();            

                Infragistics.Win.UltraWinReportViewer.PaperSettings paperSettings = new Infragistics.Win.UltraWinReportViewer.PaperSettings

                (pageSettings.PaperSize, pageSettings.PageOrientation);

                MessageBox.Show(paperSettings.PaperSize.Height.ToString());

     

                ultraReportViewer1.Print(paperSettings, printerName, Infragistics.Win.UltraWinReportViewer.PageRange.All);

Reply Children
No Data