ASPOSE Words Append letter not working as expected

We are evaluating ASPOSE Word to generate letter using mail merge. We are able to generate Letters without any issue. We are generating bulk letters and appending all letters in one final letter. when generating induvial letter, format is fine but when appending letter then second letter is not appending as expected. Attached is Appended letter as well as Individual letter for your reference. Please advise
We are using following code.

_printDocument.AppendDocument(document, ImportFormatMode.KeepSourceFormatting);

AppendedLetter.docx (370.0 KB)
Individual_1.docx (99.6 KB)
Individual_2.docx (230.3 KB)

@rajanindia Please use Merger class to merge the individual letter together and MergeFormatMode.KeepSourceLayout to get the desired output:

string[] documents = new string[] { @"C:\Temp\Individual_1.docx", @"C:\Temp\Individual_2.docx" };
Aspose.Words.LowCode.Merger.Merge(@"C:\Temp\out.docx", documents, SaveFormat.Docx, Aspose.Words.LowCode.MergeFormatMode.KeepSourceLayout);

Thanks for quick reply, we are generating letter on fly. We are using following function to append the word document. We are calling below function to append the letter in exiting class variable _printDocument.
We need this urgent as we are using old Word 2000 logic which is giving lot of issues so planning to migrate with ASPOSE.Plese advise.

We are calling CopyToPrintDocument function to append the word document

private Aspose.Words.Document _printDocument;
public void CopyToPrintDocument(Aspose.Words.Document document)
{
    try
    {
        if (!this._firstDocumentPrinted)
        {
            _printDocument = document;
            this._firstDocumentPrinted = true;
        }
        else
        {
            _printDocument.AppendDocument(document, ImportFormatMode.KeepSourceFormatting);
        }
    }
    catch (Exception ex)
    {
        Logger.Error(string.Format("StackTrace:{0} -- InnerException: {1}", ex.StackTrace, ex.InnerException));
    }
}

@rajanindia I am afraid there is no way to preserve original document layout in your case using AppendDocument method. We will consider adding Aspose.Words.LowCode.Merger.Merge method overload that accepts array of Document objects as an input. For now, you can save the input documents to streams and use stream as an input.
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-25994

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Thanks Alex. We are planning to buy, will paid service will resolve above mentioned issue?

@rajanindia Paid support services allows to push the issue upper in the queue. The issue is currently in the queue for analysis, once analysis is done we will be able to provide you more information regarding the issue.

The issues you have found earlier (filed as WORDSNET-25994) have been fixed in this Aspose.Words for .NET 23.12 update also available on NuGet.