T TWR New Member Jun 8, 2018 #1 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
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
ForEachInvoiceDelete Active Member Jun 11, 2018 #2 Some demo code in the "notes" section of the below KB article. Progress KB - 4GL/ABL: OUTPUT TO PRINTER creates a file instead of printing with some USB printers.
Some demo code in the "notes" section of the below KB article. Progress KB - 4GL/ABL: OUTPUT TO PRINTER creates a file instead of printing with some USB printers.
O Osborne Active Member Jun 11, 2018 #3 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?
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?