Type of Change: Enhancement
Product: ACUCOBOL-GT
Module: Runtime
New Version: 10.1.0
Machines Affected: All
DESCRIPTION:
Use the -P PDF filename syntax in your runtime configuration file to write output to a PDF file named filename. There are a number of configuration variables that enable you to tailor the formatting of the text; they cover such things as font and font-size selection, margin settings, and page orientation. See Spooler Print Formatting for more details.
With no modifications to an existing COBOL program, you can use the runtime configuration file to print to a PDF file instead of a printer.
SELECT PRINT-FILE ASSIGN to PRINTER
PRINTER -P PDF report.pdf PDF_PAGE_SIZE LETTER PDF_FONT_NAME HELVETICA