cancel
Showing results for 
Search instead for 
Did you mean: 

PowerBuilder DataWindow.Print.Preview causing unintended truncation

cigaras
Explorer
0 Kudos

I have a DataWindow with a column with a height.autosize=yes property.

If DataWindows property Print.Preview is switched off everything looks as intended:

However if I switch the property on for a better representations of how the report will look on paper some text gets truncated:

Printing the DataWindow yields desired result, no text is lost, but user wants to see all the information oh the screen, not only on paper.

Versions tested on: 11.5.1 Build 5097

I also assembled a sample project to replicate the issue if needed: https://dl.dropboxusercontent.com/u/9196319/PowerBuilder/DWTEST.zip

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member

This is an old powerbuilder problem and its depending from text to display, font, printer driver and zoom. It seems that powerbuilders calculation for text wrapping and needed size of the field are not always correct.

I don't have a solution. I implemented a print preview zoom option for users as workaround.

Former Member
0 Kudos

Try making the fields a little wider so that all the info will fit on two lines.