1. Alexander Wüst
  2. PowerBuilder
  3. Wednesday, 25 March 2020

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

Who is viewing this page
Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
1
Votes
Undo

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
GOODONYA for sharing the fix for this, since having a Print error is a pretty big deal! :O

  1. Olan Knight
  2. Wednesday, 25 March 2020
Hi Chris,



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



Greetings

Alex
  1. Alexander Wüst
  2. Thursday, 26 March 2020
Hi Alex / Olan ... Awesome & you are most welcome! :-)
  1. Chris Pollach @Appeon
  2. Thursday, 26 March 2020
There are no comments made yet.
  1. Wednesday, 25 March 2020
  2. PowerBuilder
  3. # Permalink
Armeen Mazda @Appeon Accepted Answer Pending Moderation
0
Votes
Undo

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.
  1. Wednesday, 25 March 2020
  2. PowerBuilder
  3. # 1
  • Page :
  • 1


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