Printing the contents of a frame.

TWR

New Member
I am doing a database selection and displaying the contents into a frame.

I want to add a <PRINT> button that give the user the option to print the frame contents.

Is this possible and if so how do I do the print piece.

Thank You
 

Osborne

Active Member
Many years ago did something similar, and although not really great looking it did a job at that time.

If the screen is character and all the data has been displayed then try something like this:
Code:
ON CHOOSE OF bPrint IN FRAME f1 DO:
   OUTPUT TO PRINTER.
   VIEW FRAME f1.
   OUTPUT CLOSE.
END.
However, it is not perfect but just a very quick option of printing the screen without having to code in another frame for printing.

If Windows, then there is this option:

Progress KB - How to capture and print the whole SCREEN image or just the active WINDOW image regardless of the Windows OS version?
 
Top