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
close icon

PDF Print

Is there any way to print a PDF document to a selected printer on a server side i.e. unatended. The document is already created and stored in the known location. Printer name is also known.

7 Replies

DK Dhivya K Syncfusion Team September 7, 2006 12:18 PM UTC

Hi Peter,

Thank you for your interest in Essential PDF.
I am afraid, Essential PDF can only be used to create PDF files from scratch in .NET applications. It does not have a library that can print to PDF. However, it is possible to create a PDF file and print it on client or server printer just by giving the URL of the printer.

Could you please refer the following link.
http://jobs.aspalliance.com/514

Here is a sample for your reference.
print_PDFform.zip

Please take a look into it and let me know if you have any other queries.

Thanks,
Dhivya.


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

Has this functionality been improved at all over the past two years?

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:56 AM UTC

Hi Peter,

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







DM Dmitry January 26, 2015 10:07 AM UTC

I hope this functionality will be available in Syncfusion products...


KC Karthikeyan Chandrasekar Syncfusion Team January 29, 2015 08:54 AM UTC

Hi Dmitry,

Thank you for your interest in Syncfusion Products.

Yes, we do have support for printing PDF document using Essential PDF, please refer the below code snippet.

            Stream fs = new FileStream("../../Data/Barcode.pdf", FileMode.Open);

            PdfDocumentView view = new PdfDocumentView();

            view.Load(fs);

            view.PrintDocument.Print();

Regards,

Karthikeyan.C




AN Andrew February 5, 2015 12:29 AM UTC

Hello,

Is it possible to do silent printing? For example, printing through console apps without displaying any type of notification to the user.

Thanks.


PR Parthipan R Syncfusion Team February 12, 2015 04:09 AM UTC

Hi Andrew,

Thanks you for your update.

At present we do not provide support for disabling notification window on printing pages of the PDF document. We have logged a feature request for this and we will implement this feature in any of our future release

Please, let us know if you need any further assistance.

Thanks,

Parthipan R. 



Loader.
Live Chat Icon For mobile
Up arrow icon