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
4123. Engineering has an EBF fix for this.