We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Excel Print Preview or print mode

Thread ID:

Created:

Updated:

Platform:

Replies:

23326 Jan 10,2005 07:57 AM UTC Jan 10,2005 10:35 AM UTC WinForms 2
loading
Tags: XlsIO
Mohammad Abdullah
Asked On January 10, 2005 07:57 AM UTC

Hi, If I do some calculating process on excel file , and I save this file with the calculating values can I ask the excel to open this file in the print previw mode or to print a file directly to the printer , if there is please give me the way.

Administrator [Syncfusion]
Replied On January 10, 2005 10:13 AM UTC

Hi Mohammad, If MS Excel is present on the system , you can launch the process and print the spreadsheet using the code snippet //Printing the spreadsheet that was created. System.Diagnostics.Process pr = new System.Diagnostics.Process(); pr.StartInfo.Verb = "Print"; pr.StartInfo.FileName = "Sample.xls"; pr.Start(); However, there is no way to do it using ExcelRW. Thanks, Stephen. >Hi, > If I do some calculating process on excel file , and I save this file with the calculating values can I ask the excel to open this file in the print previw mode or to print a file directly to the printer , if there is please give me the way.

Mohammad Abdullah
Replied On January 10, 2005 10:35 AM UTC

Ok fine but Is this will send it to the printer directly I mean (Without Print Preview). >Hi Mohammad, > >If MS Excel is present on the system , you can launch the process and print the spreadsheet using the code snippet > >//Printing the spreadsheet that was created. >System.Diagnostics.Process pr = new System.Diagnostics.Process(); >pr.StartInfo.Verb = "Print"; >pr.StartInfo.FileName = "Sample.xls"; >pr.Start(); > >However, there is no way to do it using ExcelRW. Thanks, > >Stephen. > > >>Hi, >> If I do some calculating process on excel file , and I save this file with the calculating values can I ask the excel to open this file in the print previw mode or to print a file directly to the printer , if there is please give me the way.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;