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.