Scale the margins according to the DPI of the printer.  The margins were fixed at 500 units which caused the margins to be huge for low DPI (low quality) printing output.

BUG=http://crbug.com/14502
TEST=Print with different DPI settings and notice how the margins stay the same physical width.

Review URL: http://codereview.chromium.org/145008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19032 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed