We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Print Displays Error! Unknown switch argument

Hi,


When saving a document to Word 97 format .doc and then Printing, we see a word error (Error! Unknown switch argument.) in a bookmark reference field.

This only happens when saving to the Word 97 format, this error doesn’t happen using docx as output.

Please see the sample document to duplicate the issue with the following.

Document doc = new Document(“Switch_errorExample.xml”);
doc.Save(“switch_error_output.doc”);

Once you have saved the document, you should be able to use MS Word Print preview to see the error displayed.

Thanks,

Alex.

Hi Alex,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-14905. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-14905) have been fixed in this Aspose.Words for .NET 17.3.0 update and this Aspose.Words for Java 17.3.0 update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.