In the 2016 R1 release, isCOBOL added the ability to configure attributes of a program-generated PDF file.
To set the default attributes for PDF prints in your programs, use the configuration variables that start with "iscobol.print.attribute".
For example, to set the author and encryption level of PDFs:
iscobol.print.attribute.author=GTStone iscobol.print.attribute.encryption=258You can also set the attributes for individual PDFs, overwriting the environment variable with the WIN$PRINTER op-code "WINPRINT-SET-ATTRIBUTE".
  call "win$printer" using winprint-set-attribute 
                           "subject"
                           ws-subject-date
  call "win$printer" using winprint-set-attribute 
                           "jpeg"
                           50
											
											  Article ID: 281
											  Created: October 14, 2016
											  Last Updated: May 20, 2022
											  Author: Support KB Author
											
Online URL: https://support.veryant.com/phpkb/article.php?id=281