In this example I loaded an existing diagram and intend to print it using the “Print Page” tool. PrintPage allows me to draw a rectangle on screen of what I want out as a page. I used this on an earlier CASE tool and it proved to be very valuable. The process of printing an entire diagram is the same.
The obvious next step is to cut out the selected area as a printable object. The procss is illustrated using 3D Paint below.
The last step is to position this on an actual page. Below you see what you can expect from a raw page – it is to wide for the A4 page (yellow) and positioned top left with no margins. Not the print we want and we now need to scale the print object, position it within the margins. To do this we compute print size and subtract margins as we scale.
The final page should by default look somethings like this assuming we selected A4 Horizontal (just an example) – Ignore the black background that will not be precent on the actual print.
It is a few more details to it, but the main concept is that (1) we need an automated way to print a page and control the content of that page if we are not happy with the entire diagram. This is what the “PrintPage” tool was created for. I will need to change the name “PrintPage” to soimething else, but you get the picture.