save control 0

Started by Jeffrey Ferreira, August 20, 2019, 04:16:47 PM

Previous topic - Next topic

Jeffrey Ferreira

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

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

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 - http://www.bbsysco.com
eMail: mike.king@bbsysco.com

Jeffrey Ferreira

Thank you Mike. Seeing how the text on all these workstations did look a bit bigger than I'm pretty sure this is it.