A PDF doc is created using values from a mail merge and the Aspose Words library.
The doc has Reference field in the header that is set to the correct value (Smith). If you then try to print this document the value is replaced with «Surname» which is the mail merge placeholder.
We need to print the PDF doc with the correct value Smith , not the mail merge reference «Surname» .