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. Image for the cookie policy date

PDF Printing

We are looking at purchasing Essential PDF, I was wondering if the control can send the PDF directly to a printer.

Thanks
Russ

7 Replies

AD Administrator Syncfusion Team February 26, 2007 08:24 AM UTC

Hi Russ,

I am afraid that currently we do not provide support for Printing pdf file. However, it is possible by using the below workaround.

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. Here is the code snippet that prints documents like MS Excel, MS Word, pdf etc..

Process pr = new Process();
pr.StartInfo.Verb = "Print";
pr.StartInfo.FileName = "Sample.pdf";
pr.Start();

Please refer the following link which explains
http://www.syncfusion.com/faq/windowsforms/search/1146.aspx

I have attached a sample for your reference. However, please note that, it opens the adobe viewer(not the PDF document) and has been hidden once it starts printing.

Kindly let me know if this helps you.

Thanks for your interest in Syncfusion products.

Best Regards,
Bhuvaneswari

print_PDFform_16af85260.zip


RM Russ Marzolf February 26, 2007 03:12 PM UTC

Thanks for the response and the example, that was helpful!

Russ


AD Administrator Syncfusion Team March 6, 2007 03:58 AM UTC

Hi Russ,

Thanks for your update.

Thanks for your interest in Syncfusion products.

Best Regards,

Bhuvaneswari.


JB Jim Barry February 11, 2008 01:42 PM UTC

Can EssentialPDF be used to print a document in a non interactive mode.

I need to create a nighly print job to print PDFs that WILL NOT interact with an end-user.

Not just the default printer for the current user, so shelling out to the OS will not work.

I was hoping to use DocIO and/or the PDF class.

Are there any samples?

Any advice...



AD Administrator Syncfusion Team February 15, 2008 03:57 AM UTC

Hi Russ,

Sorry for the delay in responding.

Currently we do not provide support for Printing pdf file. However, it is possible by using the below workaround:

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.
Here is the code snippet that prints documents like MS Excel, MS Word, pdf etc..
Process pr = new Process();
pr.StartInfo.Verb = "Print";
pr.StartInfo.FileName = "Sample.pdf";
pr.Start();

Please refer the following link which explains
http://www.syncfusion.com/faq/windowsforms/search/1146.aspx

Please let me know if this helps.

Regards,
G.Yavana





AT ABLE Tech srl June 29, 2013 06:44 AM UTC

Sorry for re-opening so old thread, but I found this:

http://help.syncfusion.com/ug/windows%20forms/pdf%20viewer/documents/silentprinting.htm

So with the PDF Viewer control, it's now possibile to print a PDF document without external dependencies?


CH Chandra July 11, 2013 08:01 AM UTC

This is not working for web applications.

Can you help me on this for Web Application.

Thanks

Chandra


Loader.
Live Chat Icon For mobile
Up arrow icon