Defect Number: 40027
Product: ACUCOBOL-GT
Module: Runtime
Machines Affected: Windows
Known Versions Affected: 10.1.0 and later
The Printer dialog box failed to appear when calling WIN$PRINTER with the WINPRINT-SETUP-EX opcode. This has been corrected.
Starting in version 10.1.0, the parameter passed when using the WINPRINT-SETUP-EX opcode is no longer a single value, but is instead a group item. In this release, the parameter has changed to the following, which is defined in the winprint.def file:
03 WPRTDATA-SETUP-EX REDEFINES WPRTDATA-SET-STD-FONT. 05 WPRTDATA-SETUP-EX-FLAGS PIC 9(9) COMP-5 SYNC. 88 WPRT-PRINTTOFILE VALUE 32. 88 WPRT-DISABLEPRINTTOFILE VALUE 524288. 88 WPRT-HIDEPRINTTOFILE VALUE 1048576. 05 WPRTDATA-SETUP-EX-PARENTWND POINTER.
In comparison with the previous behavior, the original FLAGS value is retained, and if you are using a window handle, the PARENTWND value is a parent window.
If you pass just the FLAGS value, the runtime defaults the PARENTWND value to NULL, which sets the runtime main window as the parent. However, we recommend that you modify any programs that call WIN$PRINTER with this opcode to use the new group where possible.