I have added a page to the “standard” smart form for purchase order printing. The purpose is to print standard terms and conditions, which are stored in a text module. This should be a piece of cake I thought, but apparently not...
A command to go to the new page has been added at the end of the main window of the standard form.
If I put the text element in a main window on the page they are not printed at all. I would not hesitate to call that a bug, but for all I know Smart Forms are limited to having one window of type Main window in each form.
If I put the text element in a secondary window they are printed partly. There is one page of output, but the terms and conditions need two pages (or possibly more).
I have tried both with a single page for the terms and conditions, and having a YTERMS and YTERMS_CONT.
Any ideas are welcome, and good ideas or tips from people who have solved similar problems are of course extra welcome :-)