The built in function "xsize/ysize of desktop" will return the device units of the screen. This could be used to write a controller ESL program that queries the desktop resolution and invokes the appropriate ESL application with the appropriate -u parameter. This is particularly useful when users frequently change their machine resolution.