Document Editor Print Problem from Version 19.2.0.57 and above

Good morning.

I create word document from scratch. When I try to print document, from version 

19.2.0.57 and above it has problem


<div style="width:100%;height:100%;display:none">

    <SfDocumentEditor @ref="document_editor" EnablePrint="true">

    </SfDocumentEditor>

</div>

 await document_editor.Open(sjson);

 await document_editor.Print();

In attached project I have installed playable version 19.2.0.56.



Attachment: TestDocumentEditor_b082c615.7z

8 Replies

KB Kurthis Banu Abdul Majeeth Syncfusion Team September 9, 2021 11:15 AM UTC

Hi Isaias, 

We can reproduce the reported issue. Currently, we are validating the reported issue. We will update further details by September 14,2021. 

Regards, 
Kurthis Banu A. 



SM Suriya Murugan Syncfusion Team September 14, 2021 01:31 PM UTC

Hi Isaias,  

Currently, we are validating the reported issue. We will update further details by September 15,2021.  

Regards,  
Suriya M.  




KB Kurthis Banu Abdul Majeeth Syncfusion Team September 16, 2021 03:19 AM UTC

Hi Isaias,  

Currently, we are facing issue in the Blazor printing for SfDocumentEditor component.  

For now, kindly use the below code to resolve your reported problem. 

Your code: 
 
    <SfDocumentEditor @ref="document_editor" EnablePrint="true"> 
    </SfDocumentEditor> 
 
Syncfusion suggested code: 

    <SfDocumentEditor @ref="document_editor" EnablePrint="true" EnableEditor="true"> 
    </SfDocumentEditor> 


We will continue to analyze on this and provide the details. 

Regards, 
Kurthis Banu A. 



IC Isaias Chalvatzoglou December 7, 2021 04:02 PM UTC

Good Evening. In version 19.3.0.57 when i am trying to print document, the width is smaller than the original (A4).




Attachment: TestDocumentEditor_18b7730.7z


KB Kurthis Banu Abdul Majeeth Syncfusion Team December 8, 2021 08:05 AM UTC

Hi Isaias, 

We have cross-checked the reported issue in the provided sample. Document editor will print the content as equivalent to the input JSON which is loaded in Document Editor. 

For your reference, we have attached the screenshots illustration of Document editor loaded with the JSON which is used in your sample and print window of the same document. 

Document Editor : 
 

Print: 
 

Please let us know if you have any questions. 

Regards, 
Kurthis Banu A. 



IC Isaias Chalvatzoglou December 8, 2021 09:15 AM UTC

Good Morning. If you try the same with version 19.2.0.56 the print layout is correct:




With version 19.3.0.57 is narrow (not forA4 page)



KB Kurthis Banu Abdul Majeeth Syncfusion Team December 9, 2021 08:29 AM UTC

Hi Isaias,   

We have reproduced the reported problem in our end. We will validate and share the details on December 13,2021. 

Regards, 
Kurthis Banu A. 



SM Suriya Murugan Syncfusion Team December 13, 2021 12:02 PM UTC

Hi Isaias, 


We have checked the issue and the reported issue because of missing some properties in JSON data. In our latest release, we have added some fix related to table. In your json, table format is missed. So, only you can see difference in previous version with current version.

We do not recommend the user to modify the json because one small minor issue in json affect the document loading.

Please create the json using latest version and try the reported issue. 


Regards,
Suriya M.
 


Loader.
Up arrow icon