Changing Page Numbers

  • Hello

    I have a program that will print out letters to send to individuals. One letter may contain 5 pages, the second letter 2 pages and the third letter has just 1 page. The employee will be sent 3 letters with a total of 9 pages. We have to add page numbers to the letters, and they need to be able to have the first letter with 5 pages list out pages 1 thru 5, the second letter with pages 6 thru 8 and the last letter with just page 9.

    I added a footer to these letters and the text field for page number. However when I print out the letters, the numbers restart for each new letter. How do I make each new letter pick the next page number in line?

    Thanks!

  • I can get the pages to print continuous numbers now using the property wpUsePrintPageNumber. I have a new issue now.

    These groups of letters print out to individuals and I need to restart the page numberr for each new person. Here is the code I used to try to restart the page numbering, but its not working.

    If lNewPerson then
    begin
    FWPRichText1.PrintParameter.PrintOptions := [];
    FWPRichText1.ReformatAll;
    End;

    What am I doing wrong?

    Thanks