- Arjun Sankar
- PowerBuilder
- Friday, 19 July 2019 06:14 AM UTC
Hello, We recently migrated from PowerBuilder 12.5 to 2017 and now notice that when we print any application reports (datawindows), the ‘Page Range’ section in the ‘Print Dialog’ box is disabled. We use ‘PFC_Print’ function for the print and this was working fine in PowerBuilder 12.5. Attached relevant screenshots.
Note: We did not use the latest PFC libraries for PB 2017 version, instead we have been migrating the PFC libraries since version 5.
I came to know from Appeon community discussions (https://www.appeon.com/developers/get-help/knowledgebase/pfc-print-range-selection-disabled.html) that this is due to the usage of ‘pfccom32.dll’ in 'pfc_printdlg' function which is unsupported since version 8. However as I said above, it was working fine in 12.5 version.
Could you please advice a solution other than replacing all our migrated PFC libraries with the latest PFC libraries? Could we selectively use the PFC 2017 objects required for this print dialog box and import them into our migrated PB 2017 code? Please let us know.
*Reproduce Steps:
Call pfc_print() for a datawindow report from an application code with PFC libraries migrated from older versions (version 5 in our case)
Thanks,
Arjun.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.