Printing.Print Issue

Got the source code from here to print a message as TIFF file:

Running the sample code brings 2 issues:
1st change the dpi and size of my whole app!
2nd creates a blank white TIFF file!

Please ZIP and attach your input message file along with problematic TIFF file here for testing. We will investigate the issue and share our findings with you.

I’ve made the ready to run project so just open the solution and run it to see the 1st bug changing the main app’s DPI destructive change!

You can run the project to generate the TIFF yourself, but please see my .TIFF first.
The resulting empty/blank white page .TIFF is inside this folder:
I tested with a few messages, all the same!

No comments! (3.8 MB)

We have logged this problem in our issue tracking system as EMAILNET-40704. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Just a side note, this is not relying on the Windows Features: Microsoft XPS Document Writer (disabled by default) or Windows TIFF IFilter? (Both are not enabled on my test PC)

Thanks for sharing the detail. We have logged it in our issue tracking system.

Please check the attached code example. (3.9 MB)

  • Your file has signature, you should remove signature before printing as shown below:
If (msg.IsSigned) Then msg = msg.RemoveSignature()