Dear Experts,
using PowerBuilder 2019 R2 Build 2353,
I tried to save the content of a DataWindow in a PDF file.
Page 1 is generated fine.
But from page 2 on it seems that all columns except the last one from pages 1,..., n-1 are printed on page n, cf. attached screen shots.
2nd mistake: Not all columns are underlined.
Here is the relevant source code:
integer li_success
string ls_path
(...)
dw_DataWindow.Modify("DataWindow.Print.Paper.Size=9") //DIN A4
dw_DataWindow.Modify("DataWindow.Print.Orientation=1") //Landscape
dw_DataWindow.Object.DataWindow.Export.PDF.Method = NativePDF!
dw_DataWindow.Object.DataWindow.Export.PDF.NativePDF.UsePrintSpec = 'Yes'
dw_DataWindow.Object.DataWindow.Zoom = 70
li_success = dw_DataWindow.Saveas( ls_path, PDF!, True )
Thanks in advance for all trials to help me.
Kind regards,
Konrad