Report does not look as expected

Problem

Description

The PDF generated report from an HTML template does not look as expected. The spacing and sizing, of both images and text, is different that when compared to other machines running AdamsWeb.

The machine acting as the AdamsWeb server is the source of the difference.

Issue


The default scale for the machine (AdamsWeb server) is not 96 dpi.

Verify by going to the "Make it easier to read what's on your screen" control panel, or the equivalent for the OS.

"(default)" should be next to "Smaller - 100%" but it will not be. It will either be next to another option or not displayed at all.

Solution

The default registry settings have changed. Since AdamsWeb does not run as the currently logged in user if use's the default settings. The following registry keys need to be checked and updated where necessary. They should all have a value of 60 Hex or 96 Dec. "LogPixels" is the Key that needs to be changed.

  1. [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontDPI] "LogPixels"=dword:00000060
  2. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0000\Software\Fonts] "LogPixels"=dword:00000060
  3. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\Software\Fonts] "LogPixels"=dword:00000060
  4. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\Software\Fonts] "LogPixels"=dword:00000060




© 2023 Foray, LLC - All Rights Reserved