My Oracle Support Banner

Environment Variable REPORTS_ADD_HWMARGIN Does Not Take Effect When Printing (Doc ID 745320.1)

Last updated on OCTOBER 03, 2023

Applies to:

Oracle Reports Developer - Version to [Release Oracle9i to 10gr2]
Generic Windows


Environment variable REPORTS_ADD_HWMARGIN is set to YES, and is working fine on one server, but on an identical server with the same OS, Reports environment and printer driver, the variable is not taking effect.

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 reports independent of the printer hardware margin. These reports can then be deployed across various printers.

The default value for this environment variable is NO.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.