A script-enabled browser is required for this page to function properly.

REPORTS_ADD_HWMARGIN environment variable

(Windows only) This environment variable specifies whether to include the printer hardware-based left margin. By default, this margin is ignored. The printing origin starts from the top-left corner (0,0) of the physical paper and not the printable area. This is to facilitate the design of of reports independent of the printer hardware margin. These reports can then be deployed across various printers.

In the past, the printer's printable area was used, causing inconsistencies in the location of the report output when moving across different printer models.

If required, you can revert to the previous behavior by setting the registry variable REPORTS_ADD_HWMARGIN to YES.

To set the REPORTS_ADD_HWMARGIN registry variable:

  1. Edit the Windows registry using a registry editor (for example, regedit.exe).

    Note: Before you edit the registry, back it up.

  2. Navigate to the following key:
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOMEn

    where n is the number of the ORACLE_HOME containing the installation

  3. Add a new String value named REPORTS_ADD_HWMARGIN and set the value to YES.

Valid Values

YES|NO

Default

NO

Usage note

You must ensure that your report's layout contains enough margin spacing such that your data falls within the printable area. Margin fields in the Page Setup dialog box have been disabled to ensure consistency with OracleAS Reports Services.

See also

Environment variables