1. Alexander Wüst
  2. PowerBuilder
  3. Wednesday, 25 March 2020 16:03 PM UTC

Hi all,

the print-Command fails since we migrated to PB2019. It worked fine in all previous versions.

This code is located in the clicked-Event of a menu-Item:

-------------------------------------------------------

long handle

handle = PrintOpen( )
parentWindow.print(handle, 20,20)
PrintClose(handle)

------------------------------------------------------

Any suggestions?

 

Many thanks in advance

Alex

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 25 March 2020 18:53 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Alexander;

   Yes, the Window Print feature is broken in PB 2019 and in MR 2170. This relates to Ticket #4123. Engineering has a fix attached to this ticket but unfortunately, the ticket is marked as "private" and thus not accessible to the general pubic.

  I will attach the fixed DLL though to this response so that you can get this issue rectified in your environment ASAP. If this works OK (I am confident that it will) in your development environment, please don't forget to also deploy / replace this DLL within your PB App EXE deployments.

Regards ... Chris

Attachments (1)
Comment
  1. Olan Knight
  2. Wednesday, 25 March 2020 22:35 PM UTC
GOODONYA for sharing the fix for this, since having a Print error is a pretty big deal! :O

  1. Helpful
  1. Alexander Wüst
  2. Thursday, 26 March 2020 09:16 AM UTC
Hi Chris,



thanks for the answer, it worked like a charm...



Greetings

Alex
  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 26 March 2020 15:36 PM UTC
Hi Alex / Olan ... Awesome & you are most welcome! :-)
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 25 March 2020 16:33 PM UTC
  2. PowerBuilder
  3. # 1

The print command has not had any changes.  Are you sure some configuration of your environment didn't change causing problem?  If you verify it is not environment problem, please open a support ticket and provide test case.  We definitely will need test case to reproduce because lots of customers use this feature with no problem.

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.