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 a excel file from background

Thread ID:





74923 Jul 3,2008 09:17 PM UTC Jul 4,2008 08:54 AM UTC WinForms 1
Tags: EditControl
Daniel Santos de Carvalho
Asked On July 3, 2008 09:17 PM UTC


I would like a help to a little problem in my application.

When the user press the button "Print", the application must search a excel file, in the system folder and print the file. But the event must send the excel file direct to the printer, and it must NOT open. The user must not see or interact with the file.

There is anyway to load and print the excel file without showing it openly in the screen ?

Yavanaarasi G [Syncfusion]
Replied On July 4, 2008 08:54 AM UTC

Hi Daniel,

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:

//Print an Excel document

System.Diagnostics.Process pr = new System.Diagnostics.Process();

pr.StartInfo.Verb = "Print";

pr.StartInfo.FileName = "Sample.xls";


Please try this and let me know if this helps.



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