PxPlus User Forum

Twitter Twitter Twitter

Author Topic: save control 0  (Read 1766 times)

Jeffrey Ferreira

  • Diamond Member
  • *****
  • Posts: 176
  • I must have taken a wrong turn at Albuquerque.
    • View Profile
save control 0
« on: August 20, 2019, 04:16:47 PM »
Hello List,
we have always used the "save control 0" command as a print screen utility within our language. It takes an image of the active window and then we print it out. This worked fine for a long time.  But not on certain users screens instead of taking a snapshot of active window it is taking a snapshot of top left hand corner of screen.

Has anyone had any issues like this?
thanks in advance
jeff

Here is our environment:

- Windows 2016 (just switched to this)
- Terminal Services
- PxPlus 14.10 (just switched to this)


Jeffrey Ferreira

  • Diamond Member
  • *****
  • Posts: 176
  • I must have taken a wrong turn at Albuquerque.
    • View Profile
Re: save control 0
« Reply #1 on: August 20, 2019, 04:23:09 PM »
I should have added that the reason we do this instead of using one of the many screen capture utilities is because it has worked quite well with our WinTerms (dumb terminals).

Mike King

  • Diamond Member
  • *****
  • Posts: 3818
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: save control 0
« Reply #2 on: August 20, 2019, 05:08:53 PM »
I suspect the user has a zoom factor applied to his display. 

This causes a misalignment between the co-ordinates we think the window is located versus the real desktop co-ordinates. 

The zoom logic in Windows basically converts the real desktop co-ordinates to 'fake' co-ordinates when reporting the information to us so, when we took the snapshot, the co-ordinates were off.

We addressed this in 2018 so you should find PxPlus 2018 Update 1 or PxPlus 2019 should work correctly.

PxPlus 2014 came out before the Windows versions you are using thus it would not have the logic to handle zoomed screens.

Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

Jeffrey Ferreira

  • Diamond Member
  • *****
  • Posts: 176
  • I must have taken a wrong turn at Albuquerque.
    • View Profile
Re: save control 0
« Reply #3 on: August 21, 2019, 08:31:37 AM »
Thank you Mike. Seeing how the text on all these workstations did look a bit bigger than I'm pretty sure this is it.