Application Delivery Management
Application Modernization & Connectivity
CyberRes
IT Operations Management
The report must have underlined characters and non-underlined characters on the same line. How is this accomplished with AcuCOBOL-GT?
It is possible to print regular and underlined characters on the same line. Here's one way using the WIN$PRINTER and W$FONT library routines. This requires the Windows Runtime.
First, call the W$FONT library routine to load a regular font and an underlined font.
Then write the line in pieces using WIN$PRINTER to specify the font for each piece of the line, and using the WITH NO ADVANCING phrase on the WRITE statements.
The attached sample program, print1.cbl, demonstrates this method.