1. John Murphy
  2. PowerBuilder
  3. Thursday, 5 March 2020 17:35 PM UTC

This code to print the active sheet prints a blank sheet in PB2019.  I think it has been in my app since PB3.

long l_Job
window lw_Sheet

SetPointer(HourGlass!)

/* Print active sheet */
lw_Sheet = w_mdi_frame.GetActiveSheet ()
if IsValid (lw_Sheet) then
   l_Job = PrintOpen ()
   lw_Sheet.Print (l_Job, 1, 1)
   PrintClose (l_Job)
end if

 

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Thursday, 5 March 2020 17:58 PM UTC
  2. PowerBuilder
  3. # 1

Please open a support ticket if you think this is a bug.  Thanks.

Comment
  1. John Murphy
  2. Thursday, 5 March 2020 19:28 PM UTC
Done. Thanks.
  1. Helpful
  1. John Murphy
  2. Thursday, 5 March 2020 21:28 PM UTC
Yes, this is a known issue with PB2019. It is already logged under ticket #

4123. Engineering has an EBF fix for this.

  1. Helpful
  1. Armeen Mazda @Appeon
  2. Thursday, 5 March 2020 21:56 PM UTC
Thanks for being so resourceful!
  1. Helpful
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.