When printing in graphical mode (on Windows or with Enhanced printing) a document with lines extending in vertical through all part of the report it is almost impossible to properly connect vertical lines in the last part of of the body or in last break frame printed with the continuation of the same lines defined into the trailer.

Use Case

While printing in graphical mode when a new line of data or a break frame should be printed Uniface evaluate the remaining space on the page and if there is NOT enough space available print the trailer frame and then go to new page. Trailer frame is always printed at the bottom of the page. With this behaviour in place when the document to be printed include vertical lines there is always a disconnection between latest line in the body and the trailer. Let\\\'s do some math to explain: the printable area in a printer is 1000 pixels wide and 2000 pixels height while uniface base cell for printing (canvas or base font) is 15pixel x 19pixels. Supposing the form/report to print is only 60characters wide, horizzontally is fully fitting with a small area remaining on the right. On the vertical dimension considering no space between lines there are 2000 / 19 = 105,26 lines available. Supposing the header is 10 lines height and the trailer is 5 lines height, there is space for 90,26 body lines. That 0,26 line are the problem! In some configurations that value is near zero in others is near 1 full line. My request is to have a new property for trailer frame: asBreakFrame with possible values False | True, default False. With False the Uniface behaviour is exactly the same as of today, giving full compatibility with all existing applications. With True the Trailer frame is printed as it could be a Break frame just after last line printed, leaving a little bit more space at the end of the page. While printing in NON graphical mode this new property should be simply ignored.


Small feature, nice result!



Operating System

Not Applicable



Leave a Reply