1. PETCHIMUTHU MAYAN
  2. PowerBuilder
  3. Thursday, 22 December 2022 08:42 AM UTC

Dear Sir 

We purchased Paid License version PB 2022 on 16-Dec-2022

Migrated the existing Application Source code from PB 12.5.2 into PB 2022 on yesterday (21/12/2022)

The application is using the PowerBuilder Foundation Class (PFC)

Platform : 32 bit

Run thru our application using source code as well after build exe.

When try to print Reports (Datawindow Reports) the Printer dialogue box able to popup as shown below,

When click on Print button, encountered Printing issue with below error message.

I tested few windows and encountered same error message

The print functionality in the PowerBuilder 12.5.2 pfc libraries calls an external function pfc_printdlg(ulong hwnd, ref s_printdlgattrib printstruct) from PFCAPSRV.PBL

 

Please advise,

- Any alternative solution for this?

- Any latest updated PFC libraries available for PB 2022? If yes, where should I download?

 

Thanks & Regards

Petchimuthu

 

 

René Ullrich Accepted Answer Pending Moderation
  1. Thursday, 22 December 2022 09:15 AM UTC
  2. PowerBuilder
  3. # 1

Hi Petchimuthu,

You have to update the PFC and your code. There are a lot of changes and also new functionality. PrintDlg is not available in PFC anymore because it is build in functionality in PowerBuilder.

The PFC is now open source. You can find the current version on GitHub: https://github.com/OpenSourcePFCLibraries

HTH,

René

 

 

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.