Hi,
I have the printing issue in this pdf only for few users.
The printing issue is that the user can view the pdf information properly but when they take print out , the information on the pdf is misaligned.
Please find attached the file for the screenshot of the printing issue.
Attachment:
PrintingIssue.png [ 126.27 KiB | Viewed 10087 times ]
The users doubt on the font encoding used in this pdf.
I used the below code to define the font encoding.
XFont font = new XFont("Arial", 10, "Regular", new XPdfFontOptions(PdfSharp.Pdf.PdfFontEncoding.Unicode, PdfSharp.Pdf.PdfFontEmbedding.Always));
Please find attaced the screenshot for the pdf properties to show this encoding information.
Attachment:
DocumentProperties.png [ 43.63 KiB | Viewed 10087 times ]
I planned to change the above code like below.
XFont font = new XFont("Arial", 10, "Regular",new XPdfFontOptions(PdfSharp.Pdf.PdfFontEncoding.WinAnsi, PdfSharp.Pdf.PdfFontEmbedding.Always));
Please let me know whether the above code will work or any other suggestion.
And i assume that these users getting this issue when they taking print out through virtual printer which may have an issue with encoding.