Skip to main content

We have an anti-fraud request from HMRC to supply the current screen size in pixels.

How do we do this?

Thanks

We have an anti-fraud request from HMRC to supply the current screen size in pixels.

How do we do this?

Thanks

Good morning, MBurPin

Try the following syntax:

ACCEPT TERMINAL-ABILITIES FROM TERMINAL-INFO

You will find the information you need in the fields USABLE-SCREEN-HEIGHT, USABLE-SCREEN-WIDTH, PHYSICAL-SCREEN-HEIGHT and PHYSICAL-SCREEN-WIDTH.

Find more information in the Documentation for the ACCEPT statement, Format 3, bullet-point 8: 
https://bit.ly/3o4IoDT

Best Regards.

Claudio Contardi
Product Support Engineer, Senior
Micro Focus