Did you know you could set properties to configure the PDF'S generation while printing?

Question ID : 281
Created on 2016-10-14 at 8:24 AM
Author : Veryant Support [support@veryant.com]

Online URL : http://support.veryant.com/support/phpkb/question.php?ID=281



To configure attributes of program-generated PDF files, isCOBOL provides the op-code "WINPRINT-SET-ATTRIBUTE" into the "WIN$PRINTER" routine.
Starting from the 2016R1 release, you can achieve the same result using configuration properties.

iscobol.print.attribute.=value

For example, to set the compression of images inside PDF file, you can use the following call inside the COBOL program

  call "win$printer" using winprint-set-attribute 
                           "JPEG"
                           50

Or you can add the following property into the configuration file

iscobol.print.attribute.jpeg=50


Back to Original Question