1. Roland Smith
  2. PowerBuilder
  3. Friday, 13 December 2024 20:13 PM UTC

We have a very large PB 2022 application that uses an old version of PFC running on Windows 11.

The pfc_print event on the base DataWindow control calls this.Print(True, True).

Some reports have 'PowerBuilder - Print' as the title of the system window. Some have a title of 'Jenzabar One - Print'. Jenzabar One is the title of the frame window.

I can't figure out how sometimes it ends up with the frame window title. I want it to do that always.

Ye Fangda Accepted Answer Pending Moderation
  1. Saturday, 14 December 2024 09:31 AM UTC
  2. PowerBuilder
  3. # 1

Very helpful

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 13 December 2024 21:18 PM UTC
  2. PowerBuilder
  3. # 2

When I run my test app from EXE, it looks like this:

In our main app EXE, it looks like this:



Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 13 December 2024 20:50 PM UTC
  2. PowerBuilder
  3. # 3

Hi Roland

  Do your current Apps use either the  ...

<DW Control Name>.Modify("DataWindow.Print.DocumentName='<string containing name that will display in the print queue>'")  // OR

<DW Control Name>.Modify("DataWindow.Print.PrinterName='<string containing the printer name for the report output>'")

DWO or command settings?

Regards .. Chris

Comment
  1. Roland Smith
  2. Friday, 13 December 2024 21:15 PM UTC
No
  1. Helpful
  1. Chris Pollach @Appeon
  2. Friday, 13 December 2024 21:26 PM UTC
Do your production Apps use their own internal Print Dialogue(s)?
  1. Helpful
  1. Roland Smith
  2. Monday, 16 December 2024 13:59 PM UTC
No
  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 13 December 2024 20:25 PM UTC
  2. PowerBuilder
  3. # 4

When running a small test app as an EXE, the title is:  Printing from Win32 application. - Print

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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.