I have a requirement to print a docx file to a ‘StreamServe print server’, which is basically a virtual print driver that generates a proprietary xml file with an lxf extension.
The process appears to work very well apart from the fact that apostrophes’ appear like this :
that¶s
where the label text should read, “that’s”
I have tried printing the file to an alternative print driver (http://xmlprinter.com) and have no character issues in this case.
Do you have any suggestions in terms of what I might be able to tweak in the rendering of the AsposeWordsPrintDocument that might help to resolve this issue?
Hi
Thanks for your request. Have you tried printing this document using MS Word? Is the same result produced? Also you can try converting your document to DOC using MS Word and try printing DOC file.
Please attach also your document here for testing.
Best regards,
I have tried converting the document to a Word 97-2003 format and that did not appear to make any difference to the way the xml file is rendered.
As requested, I have attached two sample files demonstrating the issue. You will notice that the apostrophe is replaced by a strange character. I am aware that MS Office has a tendency to translate certain characters to what they feel are more visually appealing. For example (the previous mentioned example) the single quote or apostrophe (‘) has been translated from a hex value of 0x27 to 0x93.
Many thanks for any assistance you may be able to offer.
Kimo
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.