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

Printing an entire workbook

Thread ID:

Created:

Updated:

Platform:

Replies:

69343 Oct 24,2007 07:11 PM UTC Oct 26,2007 08:43 AM UTC WinForms 1
loading
Tags: XlsIO
Dave Vaughn
Asked On October 24, 2007 07:11 PM UTC

How can I print all sheets in a workbook.

Melba Winshia [Syncfusion]
Replied On October 26, 2007 08:43 AM UTC

Hi Dave,

Essential XlsIO don't have direct support for printing documents. If MS Excel is present on the system, you can launch the process and print the spreadsheet using the below 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();



Kindly let me know if you have any other questions.

Regards,
Melba

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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

;