[Patch] - printpreviewdialog prevent pdf print?

Hi,
If I use these lines then the dialog box appears and I see them, but after dialog hide, pdfviewer is not printed. I get a blank file..
if I delete them (using..end using). Everything will work! but i don't have preview mode.

Using printdialog As PrintPreviewDialog = New PrintPreviewDialog()
            printdialog.Document = pdfviewer.PrintDocument
            printdialog.ShowDialog() 
End Using
pdfviewer.Print(False)
How can i fix this?
Thanks you!

7 Replies

VS Vikas Sekar Syncfusion Team June 1, 2020 03:02 PM UTC

Hi khanh dang,   
  
We are able to reproduce the issue “The printed document is empty, if print preview dialog was shown” in our side. We have forwarded this issue to our development team for further analysis and we will update further details on 3rd June 2020.  
  
Regards,  
Vikas 



US Uthandaraja Selva Sundara Kani Syncfusion Team June 3, 2020 04:05 PM UTC

Hi Khanh, 
 
We appreciate your patience. 
 
We have confirmed that the issue with “The printed document is empty, if print preview dialog was shown” is a defect and we have logged a defect report for this. The patch for this fix is expected to be available on June 24th, 2020. 
 
Regards, 
Uthandaraja S 



US Uthandaraja Selva Sundara Kani Syncfusion Team June 24, 2020 01:07 PM UTC

Hi Khanh,

The issue "The printed document is empty, if print preview dialog was shown" has been fixed and the patch for this fix can be downloaded from the following location.

Recommended approach - exe/nuget will perform automatic configuration
Please find the patch setup from below location:
Exe : http://syncfusion.com/Installs/support/patch/18.1.0.42/1174432/F154757/SyncfusionPatch_18.1.0.42_1174432_6242020073052178_F154757.exe
Nuget : http://syncfusion.com/Installs/support/patch/18.1.0.42/1174432/F154757/SyncfusionNuget_18.1.0.42_1174432_6242020073052178_F154757.zip

Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment

Please find the patch assemblies alone from below location:
http://syncfusion.com/Installs/support/patch/18.1.0.42/1174432/F154757/SyncfusionPatch_18.1.0.42_1174432_6242020073052178_F154757.zip

Assembly Version: 18.1.0.42
Installation Directions :
This patch should replace the files “Syncfusion.Pdf.Base,Syncfusion.PdfViewer.Windows” under the following folder.
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\4.6
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\9.3.0.61\precompiledassemblies\9.3.0.61\4.0

To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you will have to manually copy and paste them to the preferred location or you will have to run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.

Disclaimer :
Please note that we have created this patch for version 18.1.0.42 specifically to resolve the following issue(s) reported in this/the incident(s). 281972

If you have received other patches for the same version for other products, please apply all patches in the order received.
This fix will be included in our 2020 Volume 2 SP1 release which will be available in July 2020.

Regards,
Uthandaraja S
 



TG The GridLock June 24, 2020 04:21 PM UTC

Ok Uthandaraja ,
I will check it coming.


US Uthandaraja Selva Sundara Kani Syncfusion Team June 25, 2020 10:04 AM UTC

Hi Khanh, 

Thanks for your update. we wait to hear from you. 

Regards, 
Uthandaraja S 



TG The GridLock July 17, 2020 07:44 AM UTC

Hi Uthandaraja ,
I think your attachment size is too big for the patch.



US Uthandaraja Selva Sundara Kani Syncfusion Team July 20, 2020 11:55 AM UTC

Hi Khanh, 
 
Usually we create patch files compatible for all the .NET frameworks (2.0, 3.5, 4.0, 4.5, 4.5.1 and 4.6) and .NET core 3.0. So that the size of the patch file is more due to the size of the PDF viewer assembly in 18.1.0.42 version. However, the patch file size can be reduced if we create a patch for specific .NET frameworks.  
 
If you need a patch with lesser file size, kindly let us know the .NET frameworks in which you need the patch. We will create a patch file for those specific .NET frameworks and provide you. 
 
Regards, 
Uthandaraja S 


Loader.
Up arrow icon