1. George Mikhailovsky
  2. PowerBuilder
  3. Tuesday, 19 April 2022 17:13 PM UTC

I'm having a strange issue with composite DataWindows in my PB app. When I deploy it to a remote (client) server, these DataWindows look fine (see attached screenshots). But when running the app locally, my composite DataWindow are cut off on the right side (see screenshots). As you can also see from the screenshots, both servers are running Windows Server 2016 Datacenter (64-bit) and have the same basic features. The only difference is the RAM, which is twice as large remotely as locally.


I am using PowerBuilder 2019 and PowerServer 2020 to deploy a production version of my app. However, I have already migrated it to PowerBuilder 2021 and deployed to a remote server as a test version. Unfortunately, this version of app has exactly the same issue with composite DataWindows. Does anyone have any thoughts on why this is happening?

Thank you,
George Mikhailovsky

Attachments (1)
John Fauss Accepted Answer Pending Moderation
  1. Tuesday, 19 April 2022 17:36 PM UTC
  2. PowerBuilder
  3. # 1

Hi, George - 

Compare the default printer on the remote servers versus the default printer when you are running the app locally. If they are set up to use different paper sizes, margins, etc., this might cause them to render differently. The DataWindow uses the properties of the currently selected printer if the various print specifications in the DataWindow object are left to default.

Regards, John

Comment
  1. George Mikhailovsky
  2. Tuesday, 19 April 2022 17:58 PM UTC
Hi John,



My local server (VM) doesn't have default printer as well as any printers at all. I added one with the standard settings, and this solve my problem.

Thank you for your so helpful reply,

George
  1. Helpful
  1. Chris Pollach @Appeon
  2. Tuesday, 19 April 2022 18:00 PM UTC
Also in addition to John's comments - even current MS-Windows video settings can affect this. You should expect this and provide a Zoom In/Out feature while in "Print Preview" mode to compensate for various O/S & hardware, video driver, printer capabilities. Just my $0.02.
  1. Helpful 1
  1. John Fauss
  2. Tuesday, 19 April 2022 21:13 PM UTC
Good point, Chris - Thank you for mentioning this!



George: You're welcome! If this issue has been answered to your satisfaction, would you please take a moment and mark it as resolved? Many thanks!
  1. Helpful 1
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.