WPTools v3.12 print jobs truncating and zoom issues

  • Environment: Delphi 5, WPTools 3.12

    When printing, sometimes the last page is ommitted. On screen, the document looks fine. This occurs primarily with large documents that have 20+ pages.

    My theory is that the number of pages to be printed is calculated based on the on screen document, but when the document gets scaled for printing the number of actual printer pages is greater than the onscreen calculation. If the printing code is based off of the onscreen document number of pages then this might be the problem.

    A possible related issue involves the on screen document and the built in zoom functionality. When zooming in or out, the document page breaks aren't preserved. Shouldn't a document break at the same spot regardless of the on screen zoom level?

    Any ideas? I do have the source code version of 3.12. If possible, I want to avoid an upgrade to v4.x.

    Thanks for your help.

    Damon Pugh