First off, I really appreciate your component.
I have been working with it for several months, and everything is working great except for one item. After displaying my pages, I go back and write in the page numbers and total pages at the bottom of each page. This works well when I use the preview form, but when I try to direct print, I get a 0 count of pages.
I do set direct printing properly, and FDirectPrinting is True when I first start the document. However, stepping through the code I found that somewhere in the code of Preview it gets turned back to False before I call for the total pages and so total pages reads the wrong variable. Any help would be appreciated.