Does DocIO support printing?
Hi Dmitry,
Thank you for your interest.
Currently Essential DocIO doesn’t have support for printing functionality. We have logged this as a feature request in our database. We will implement this feature in any of our upcoming releases. We usually have an interval of at least three months between releases. The feature implementation would also greatly depend on the factors such as product design, code compatibility and complexity. We will update you when this feature has been implemented. This can be tracked through our feature management System:
http://www.syncfusion.com/support/directtrac/features/WF-3500
as a workaround, we have prepared the sample to meet your requirement to print the word document by two ways.
· Using PrintDocument, It convert the document to image and print the images.
· Using Essential PdfViewer, It convert the document to pdf and print the pdf document.
Please do find the sample from the below link. Try running this sample and let us know if this helps you.
Sample link:
http://www.syncfusion.com/downloads/support/directtrac/118053/GenerateWord_WPFPrint2043143958.zip
Please let us know if you have any questions.
Regards,
Divyalakshmi V
Workaround for anyone else:
WordDocument wordDoc = new WordDocument(fullPath);
DocToPDFConverter converter = new DocToPDFConverter();
//Convert word document into PDF document
PdfDocument pdfDoc = converter.ConvertToPDF(wordDoc);
//Save the pdf file
Stream ms = new MemoryStream();
pdfDoc.Save(ms);
Syncfusion.Windows.Forms.PdfViewer.PdfDocumentView documentView = new Syncfusion.Windows.Forms.PdfViewer.PdfDocumentView();
documentView.Load(ms);
documentView.PrintDocument.Print();
Hi Dmitry,
Thank you for your valuable feedback and code suggestion . Please let us know if you need any further assistance.
Regards,
Divyalakshmi V
Thank you for contacting Syncfusion support.
Could you please confirm your requirement is to Setting paper tray for Word document using DocIO APIs or Expecting to choose paper tray when printing by using Word to image functionality of DocIO?
Based on the above we will check and provide you the appropriate solution at the earliest.
Please let us know if you have any other questions.
Regards,
Manikandan Ravichandran
Thank you for your update.
Currently DocIO doesn’t have a support to set the paper tray in the document. We need to analyse the feasibility to provide the support for this case. So, we will update you with more details on 17th June 2020.
Please let us know if you have any other questions.
Regards,
Manikandan Ravichandran
Thank you for your patience.
We have consider your requirement as a feature in our end and we have planned to implement this feature for 2020 Volume 3 Main release which is estimated to be available on end of September 2020.
You can track this feature in the below feedback link.
https://www.syncfusion.com/feedback/15338/expose-api-to-set-paper-source-to-print-the-word-document
Please let us know if you have any other questions.
Regards,
Manikandan Ravichandran
- 8 Replies
- 4 Participants
-
DM Dmitry
- Jan 26, 2015 10:02 AM UTC
- Jun 17, 2020 04:32 PM UTC