1. John Fauss
  2. PowerBuilder
  3. Wednesday, 14 March 2018 20:28 PM UTC

From a discussion thread dated approx. 8 months ago, I see where Native PDF generation can be utilized at execution time by adding NativePDF_Valid=1 (zero is the default) to the [Data Window] section of the pb.ini file. There is also a way to include custom fonts in the PDF by specifying NativePDF_IncludeCustomFont=1 (zero is the default). Can the "Include Custom Font" setting be specified in the DataWindow Painter?

Can the other settings related to Native PDF support and supported via the DataWindow Painter also be specified in the pb.ini file? Specifically, PDFStandard, UsePrintSpec, ImageFormat, CustomOrientation & CustomPaperSize?

Is there a comprehensive list of pb.ini settings and sections including what each setting controls documented anywhere?

Julie Jiang @Appeon Accepted Answer Pending Moderation
  1. Friday, 16 March 2018 00:46 AM UTC
  2. PowerBuilder
  3. # 1

Hi John, 

 

Please find my answers below. 

Q: Can the "Include Custom Font" setting be specified in the DataWindow Painter?

A:  It can be considered as an enhancement request.  It is possible but we have not planned the feature yet.

 

Q: Can the other settings related to Native PDF support and supported via the DataWindow Painter also be specified in the pb.ini file? Specifically, PDFStandard, UsePrintSpec, ImageFormat, CustomOrientation & CustomPaperSize?

A: Adding the settings into pb.ini means that the settings will take effect globally.  It is technically possible, but we have no plan on it yet.  Also, some people think it is not a prudent approach to put all settings in pb.ini.

 

Q: Is there a comprehensive list of pb.ini settings and sections including what each setting controls documented anywhere?

A: Unfortunately there is no such a comprehensive list yet.  It is a historic issue.  If we want to create the comprehensive list, we need arrange someone to scan the source code to get all.

 

Best regards... Julie

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Thursday, 15 March 2018 12:28 PM UTC
  2. PowerBuilder
  3. # 2

There does not appear to be a comprehensive listing of all the runtime settings that are dependent on pb.ini.

I submitted a feature request to replace all pb.ini runtime settings with a settings function that we could call in code, passing the setting name and value. The help topic for the function would then presumably contain a list of all the settings and their values.

 

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.