The ACUCOBOL-GT Web browser control, described in Control Types Reference, is a useful tool when you deploy a program that includes graphical reports. The Web browser control can parse and display both character and graphical reports, though its advantages are most clearly seen with graphical reports.
All you need to use this method to display and print reports are a screen containing a Web browser control and a program containing a report. The basic steps are as follows:
MOVE "c:\reporting\data\pets.html" TO ws-browser-url.
MODIFY my-browser-control, PRINT=1
Information about printing to a default printer or giving the user the option to perform page setup operations can be found in Control Types Reference.
There are significant advantages to using this method to display and print reports: