This is a migrated thread and some comments may be shown as answers.

Problem with margins when printing

1 Answer 182 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 01 Mar 2010, 07:04 PM
I am having a problem with margins when printing my report. I can reproduce the issue by creating a new report, setting the background color of the report header to light gray, and printing it from the designer. By default, my newly created report uses a 1" margin all around and has a width of 6.46". When I print a hard copy of the report, the top and left margins are always larger than the bottom and right margins. Per my measurements, the left margin ends up ~1.125" and the right margin is ~0.875, a 0.25" difference. This becomes more of a problem when I use the 0.25" margins that my customers prefer and things get cut off on the right side (they do not roll over onto another page). Interestingly, printing to a file (using CutePDF or the MS Office Image Writer) or exporting to PDF does not produce the same issue (even if I print the PDFs with no page scaling).

I'm thinking I must be missing something, or someone else would have noticed this already (maybe it's just that my forum search skills are lacking??). I'd like to re-iterate that I am printing these from the report designer in Visual Studio because we have not yet been able to get the printing working from the Silverlight report viewer. I'd also like to note that our reports are in their own project and that I've tested this on 3 different printers.

Anyone seen this before or have any other ideas?

Thanks,

Adam

1 Answer, 1 is accepted

Sort by
0
LAxmikant
Top achievements
Rank 1
answered on 13 Aug 2020, 03:51 PM
Are you able to resolve this issue?
Tags
General Discussions
Asked by
Adam
Top achievements
Rank 1
Answers by
LAxmikant
Top achievements
Rank 1
Share this question
or