Merge field in header/footer prints <<Field Name>> instead of value when printed

Jun 6, 2013 at 1:02 PM
VB2008, framework3.5
DocX.dll(1.0.0.12)

We are trying to replace header, footer and body in document using merge fields.

And get print out, it replaces Header and Footer, but when we print this document it prints <<Field Name>> instead of values of merge fields.

The behaviour is only when we do documents created using Docx.dll , normal word 2007 merge works OK.

Please let me know what might be the problem , solution greatly appreciated.

Regards
Sham Yemul