Page size issue when printing
I have created a report. Interactive size is 71mm (height) x 48mm (width). Page size is 72mm x 49mm. Margins are all set to 0. It's designed to print to a label printer.
The problem is that the report seems to always print in proportion to the page size, rather than the size that I've specified. For example, if I print to an A4 sheet of paper, it will print to the top right corner of the page leaving the rest
of the page as white space, as i'd expect. If I print to a label sized piece of paper (72mm x 49mm), rather than occupy the entire page, it scales down the report to a tiny portion in the top left, leaving the rest as white space.
I can't work out why it scales the report down despite the paper being the same size as the page size specified in the report.
Where is all of this white space coming from?
Regards,
June 23rd, 2011 1:24am
Hi ibeme99,
Thanks for your question. Based on your requirement, it seems that when you printed the report with an A4 sheet paper, it displays the correct
effect as you expected, then when you printed to a label sized piece of paper,
the position and size is incorrect. In this condition, I have a question want to confirm with you: Had you reset the Paper/Output property of the printer to make it
suits to the Label paper after you printed to the A4 paper? If hadn’t, please follow below detail steps to set it.
1. In the HTML Viewer of your report, click the Print link to open the Print dialog box.
2. In the Print dialog box, click Properties button, in the printer’s Properties dialog box, click Advanced button.
3. In the Advanced Options dialog box, in the drop-down list
of Page Size, select the correct page size name of your label paper, click OK.
Hope it helps you, if your issue still exists, please feel free to let me know.
Thanks,
Sharp Wang
Best Regards. Sharp Wang
Free Windows Admin Tool Kit Click here and download it now
June 24th, 2011 4:33am
Hi Sharp, thanks for your reply.
Unfortunately, my issue is that regardless of what paper size I choose using the steps that you provided, my report just scales down. For example, if my report was a quarter the size of an A4 sheet of paper, after selecting and A8 paper size using the steps
that you provided, my report would scale down to be a quarter the size of the A8 paper. I need it to hold it's real size, not scale down.
By the way, I'm using IE9 and SSRS 2008 if that makes any difference. I can't help but think that it's a bug with the print feature in the report viewer.
June 24th, 2011 8:28am
Hi ibeme99,
Thanks for your reply. Could you help me to collect the result of this question: Have you ever exported the report in word or excel format?
If haven’t, please export the report in word format then print the exported word document with an A8 sheet, meanwhile, pay attention to
whether the result scales down.
Thanks,
Sharp Wang
Please remember to mark the replies as answers if they help you and unmark them if they provide no help.
Free Windows Admin Tool Kit Click here and download it now
June 29th, 2011 6:19am
Hi Sharp,
This problem only seemed to be occuring when using the ReportViewer print functionality, so I've aborted using that altogether.
Instead, I now use the ReportViewer for viewing only. For printing, I've provided my own print button, and in the code behind, I render the report to pdf. I'm using iSharpText to add javascript actions that open Adobe viewers print dialog on open, but I'm
actually hiding the pdf document in a hidden iframe, so the user just sees the print dialog when they hit the print button on the web page. It then prints as expected.
This has provided a nice workaround with added benefits for my purpose, but doesn't explain why it behaves differently when using the reportviewer print functionality.
June 30th, 2011 1:52am
Hi ibeme99,
I’m glad to hear that you got it working.
If you can share your solutions
&
experience here,
it will be very beneficial for other community members who have similar questions and
help us to find the root cause of this issue.
Thanks,
Sharp Wang
Please remember to mark the replies as answers if they help you and unmark them if they provide no help.
Free Windows Admin Tool Kit Click here and download it now
July 7th, 2011 3:49am


