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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Printing multiple PDF without Preview

Thread ID:

Created:

Updated:

Platform:

Replies:

109282 Jun 5,2013 04:26 PM UTC Jun 3,2014 09:13 AM UTC ASP.NET Web Forms (Classic) 18
loading
Tags: PDF
Srinivas
Asked On June 5, 2013 04:26 PM UTC

Hi

We are using Syncfusion for creating pdf documents in our web application.

Currently users are printing the documents after opening individual pdf and are clicking on the Print button in the toolbar.

However now the requirement is that user should be able to select multiple PDF documents on web application and click a button to print all the selected documents in a single go WITH OUT preview.

Please let me know if this is possible. Would appreciate if code is provided for doing this.

Thanks in advance

Regards

Srinivas

 


KarthikeyanC [Syncfusion]
Replied On June 10, 2013 12:27 PM UTC

Hi Srinivas,

Thank you for your interest in Syncfusion products.

 

We can able to print the PDF document without opening it.

Please find the below code snippet.

PdfViewerControl viewer = new PdfViewerControl();

viewer.Load("Barcode.pdf");

// Initialize print dialog.

PrintDialog dialog = new PrintDialog();

dialog.AllowPrintToFile = true;

dialog.AllowSomePages = true;

dialog.AllowCurrentPage = true;

 

dialog.Document = viewer.PrintDocument;

dialog.Document.Print();

 

Please refer the below link for more details.

http://asp.syncfusion.com/Windows/demos/reporting/pdfviewer/Print/Silent%20Printing/Sample.aspx

 

 

Thanks,

Karthikeyan.C

 


KarthikeyanC [Syncfusion]
Replied On June 19, 2013 10:21 AM UTC

Hi Arronlee,

Thank you for your interest in Syncfusion Products.

 

There are many features available with Essential Pdf.

Some of them are:

Form filling,

Support Standard, True Type, CJK fonts.

Pdf Light table,

Support many brush types,

Support many annotations,

Signature,

Html to PDF

 

You may refer the following link for overview of the features in Essential PDF.

http://www.syncfusion.com/products/aspnet/pdf

 

Also, Could you please provide us the thread link which is not yet addressed.

We regert for the inconvenience caused.

 

Thanks,

Karthikeyan.C

 


Srinivas
Replied On July 10, 2013 10:48 AM UTC

Hi Karthikeyan

Thanks for the reply.

Sorry for delayed response.I checked the forum for first 5 days after posting the query. Thought nobody will give the response.

It seems the code snippet you have provided is referring to Windows forms.

Will this work for the asp.net application? If not please provide the code for web application.

Awaiting for your response.

Regards

Srinivas

 


Chandra
Replied On July 11, 2013 07:56 AM UTC

Karthikeyan ,

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

I have Visited the above url and the PrintDialog is absolutely working fine for Windows.  

Is there any way out for  web application to print a document without preview. Appreciate your response.

Thanks in Advance.

Chandra

 


KarthikeyanC [Syncfusion]
Replied On July 12, 2013 11:18 AM UTC

Hi Srinivas/Chandra,

Thank you for your interest in Syncfusion Products.

 

Please use the below code snippet to Print the PDF document silently, without opening the document.

Code:

Syncfusion.Windows.Forms.PdfViewer.PdfDocumentView documentView = new Syncfusion.Windows.Forms.PdfViewer.PdfDocumentView();

documentView.Load(filePath);

documentView.PrintDocument.Print();

 

Please let us know if you have any concern.

 

Thanks,

Karthikeyan.C

 


Chandra
Replied On July 15, 2013 06:14 AM UTC

Karthikeyan ,

 

Thanks for your response.

The snippet provided works for Windows but not the web applications .  We would be happy if you can post the same.

Regards,

Chandra

 


KarthikeyanC [Syncfusion]
Replied On July 17, 2013 03:53 AM UTC

Hi Chandra,

Thank you for your update.

 

The PdfViewer uses code from Syncfusion.PdfViewer.Windows for printing.

Could you please add Syncfusion.PdfViewer.Windows.dll as reference to get silent printing gets worked in Web application.

 

Please let us know if you have any concern.

 

Thanks,

Karthikeyan.C

 


Chandra
Replied On July 18, 2013 06:55 AM UTC

Karthikeyan , Thank you for the response .

 

We are the licenced users for syncfusion and now we dont find the "Syncfusion.PdfViewer.Windows.dll" in our space.

Where do we get it from ? How do we get it ?

 

However , i still have a question if the windows dll would suffice our requirement on web application.

 

Regards,

Chandra


Chandra
Replied On July 18, 2013 08:03 AM UTC

In addition to the above response .

We have only the below list of dll's . Please do assist us. Thank you in Advance.

 



Syncfusion dll's _d4ab390f.zip

Chandra
Replied On July 18, 2013 08:04 AM UTC

In addition to the above response .

 

We have only the attached list of dll's with us . Please do assist us. Thank you in Advance.

 



Syncfusion dll's _e45c717d.zip

Geetha M [Syncfusion]
Replied On July 19, 2013 05:38 AM UTC

Hi Chandra,

Thank you for the details.

Could you please create a direct-trac incident so that we can clarify about using Syncfusion.PdfViewer.Windows.dll?

Regards
Geetha

Chandra
Replied On July 19, 2013 12:49 PM UTC

Geetha / karthikeyan ,

Thanks much for your support.

 

Our team has got the dll and now the solution is working as expected. Thank you.

 

Regards,

Chandra


KarthikeyanC [Syncfusion]
Replied On July 22, 2013 04:26 AM UTC

Hi Chandra,

Thank you for your update.

Please let us know if you have any other concern.

 

Thanks,

Karthikeyan.C


Chandra
Replied On July 26, 2013 08:10 AM UTC

Kartikeyan / Geetha ,

 

We had the below isssue with the syncfusion after getting the required dll's from Syncfusion.

 

"The code worked fine when it was ran locally and we were able to print the pdf docs with out preview.

 

However , the same did not work when it is hosted on the webserver and even on local IIS."

 

Could you please provide the actual's of what would cause the isssue and how to overcome it . Because , we cannot take a back step after getting the dll's as client has been informed that the Syncfusion is working.

Hope you understand. Thanks in advance.

Regards,

Chandra 

 


KarthikeyanC [Syncfusion]
Replied On July 30, 2013 03:40 AM UTC

Hi Chandra,

Thank you for your update.

 

Could you please create a new Direct Trac incident with the subject “Forum 109282- Printing multiple PDF without preview”.

And post the issue you have found while trying to implement.

 

Please let us know if you have any concern.

 

Thanks,

Karthikeyan.C

 


Pregger
Replied On June 3, 2014 09:06 AM UTC

I can only create barcode on Word document by using a Word barcode add-in. I want to get more help on create barcodes on pdf document. Thanks!

KarthikeyanC [Syncfusion]
Replied On June 3, 2014 09:13 AM UTC

HI Pregger,

Thank you for your interest in Syncfusion Products.

 

We can able to draw barcodes in PDF document, please find below the online sample for including Barcode in PDF document using Syncfusion.

http://asp.syncfusion.com/demos/reporting/Pdf/Graphics/BarCode/CS/Default.aspx

Thanks,

Karthikeyan.C


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.

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

;