Print format/style customization

Hi. I have created a custom script report, with .html file I have design the report printable layout.
The problem is the print preview and actual print are totally different in terms of designing.

I have used on-page css styling which is working in print-preview but its not propagated on actual print.

I have attached screen shots of print-preview and actual print.

P.S I would like to resize page margins and font-size.

Hi! This css code is used to mitigate margin differences.

.print-format {
	padding: 0.1in;
	margin-top: 0mm;
  	margin-left: 0mm;
  	margin-right: 0mm;
body {
        margin: 0 !important;
        border: 0 !important;
        padding: 0mm 0mm 0mm !important;