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 xls documents

Thread ID:





63448 Jul 4,2007 09:48 AM UTC Jul 4,2007 06:02 PM UTC WinForms 3
Tags: XlsIO
Vicko Hazdovac
Asked On July 4, 2007 09:48 AM UTC

Hi, is there any way to print an xls doc without starting the MS Excel?

I've created a document and now I want to print it out directly without starting Excel.

Melba Winshia [Syncfusion]
Replied On July 4, 2007 11:21 AM UTC

Hi Vicko,

Essential XlsIO does not have support for printing documents. However this can be done using the Process class and specifying the verb as "Print". This is the equivalent of right clicking and selecting print in the windows shell. Please refer the following code snippet to achieve this:


//Printing the spreadsheet that was created.
System.Diagnostics.Process pr = new System.Diagnostics.Process();
pr.StartInfo.Verb = "Print";
pr.StartInfo.FileName = "Sample.xls";

Also, please refer the following link


Kindly let me know if you have any other questions.


Miran Vulic
Replied On July 4, 2007 01:26 PM UTC

Is there any way to hide the process from the user comletly??
I use following pieco of code:
Process pr = new Process();
pr.StartInfo.Verb = "Print";
pr.StartInfo.FileName = "Document_name";
pr.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
pr.StartInfo.CreateNoWindow = true;

Ajish [Syncfusion]
Replied On July 4, 2007 06:02 PM UTC

Hi Miran,

Thank you for your interest in Essential XlsIO.

Currently Essential XlsIO does not have any buildin support for printing files. Essential XlsIO can only be used to create/modify files from scratch in .NET applications. It does not have a printer driver that can print Excel files. Sorry for the inconvenience.

Kindly let us know if you have any other questions.
Have a Nice day.



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

This page will automatically be redirected to the 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