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

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
Authored by: Veryant Support on Fri, Oct 14th, 2016 at 7:00 PM
This question has been viewed 2316 times so far.
Online URL: http://support.veryant.com/support/phpkb/question.php?ID=281

Powered by PHPKB Knowledge Base Software