how to fit content of reports so that we can print it on A4 size - ssrs-2008

I have created a report in ssrs 2008 r2.It is larger then the normal A4 size .So when i export the report in word i see it clearly but when i see print preview of the report in to the word its contents get cut from the right end.I think it is due to report size. Is there any way so that we can fit the content at the time of export in to the ms word so that user can clearly take a print out in A4 size.

The only way to do this is to physically decrease the size of your report when building it as there is no auto size capability in report builder.
Right click and properties on the grey back ground. Then change the size and orientation as required.
Then click on the white body and ensure the properties bar is open. Expand the size properties option and set the size of your report to reflect the previous selection.
Also don't forget to set the margins as this will effect the amount of printable space on your report.
Lastly ensure you alter the size of you fonts and report parts to fit on the size required.
I'd love to see an automatic sizing feature in the report builder for exporting.

This is because your report content size is greater than the report size.
Report size for an A4 page is 8.5*11 inch,if your content is greater than the report size then it will move the columns to the next .
Adjust the Size of each Tablix which should be less than your report size.
Select Tablix to view properties.
expand the size option and adjust width and height accordingly.
Thanks

Just increase height and width of paper size in Report builder properties. Doesn't have any sense but it works for me.

In Report Builder in the Report Properties change the width of the report so that it exceeds the width of your data. Exporting to both Word and PDF will mean that it fits the page width. You can also adjust the height so that the report fills your desired paper size.

Related

How to get rid of the vertical line in SAP Crystal report

​I am not sure how to get rid of this vertical line? is it in the margin?
and when I click the Design Tab, the page is not in full screen
The line indicates a page break when printing. Your report is designed to print on paper that is either A2 or ANSI C in size, likely with landscape orientation.
First you need to determine what size paper this report is intended to use when printing. Then go to File > Page Setup in your Crystal Report designer and configure the Printer Options and Page Options. Printer Options should either be set to No Printer, or the printer that can print the paper size you plan to use. Page Options will define the paper size, orientation and margins.
If you plan to use a paper size that is smaller than 22 inches in width, you will need to reduce the size of the objects in your report to fit the size of the paper or allow it to span multiple pages.

How to set max height of a picture in crystal report?

Is it possible to set maximal height of a picture in crystal report and preserve original ratio of a picture?
If can grow is disabled, every picture is streched or shrinked to default picture object size, if is enabled, I'm losing limits of picture size.
I'm using crystal reports for VS 2013 (13.0.5)
Actually I solved this problem for Visual Basic 5.0 and Crystal Reports 6.0 (Seagate version). You asked the newer version but maybe this gives you an idea to solve the problem or it may help some other guys searching an answer for their problems.
Before you assign the report source you can change the height of the picture:
Set crxFieldObject = Report.Sections.Item("D").ReportObjects.Item(269)
crxFieldObject.Height = theNewHeight
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
PS: After you assign the report source you can not change the height property. Below code does NOT work:
Private Sub Section3_Format(ByVal pFormattingInfo As Object)
Picture1.Height = theNewHeight 'this code does NOT work
End Sub
In this code:
.Sections.Item("D")means the Detail Section of the report and
.Item(269) means the Picture Object. After you insert an OLE Object you can check the item number with a small code such as:
aa = Report.Sections.Item("D").ReportObjects.Count
For i = 1 To aa
Set crxFieldObject = Report.Sections.Item("D").ReportObjects.Item(i)
bb = crxFieldObject.Name
If Mid(bb, 1, 7) = "Picture" Then
crxFieldObject.suppress = False 'You can put a BreakPoint here to check the value of i
End If
Next i
Hope it helps
The answer is No. I did many tests and researches and I didn't found any way to control the height and, without controlling the height, it's not possible to fit an arbitrary image in the object box and keep is ratio at the same time.
Looks like it's and old problem.
But if all your images are limited to the same dimensions, like you have set your limits to 500x500, so you can have, for example, images that do 500x200, 500x500, 250x500, etc., there's a way to do it.
The object box needs to have the same ratio as your limits. In my example, 500x500, the ratio is 1:1 (square) so your object box needs to be square also. You need to check Can grow and, in the Image tab, set the size exactly like the object box's size. You also have to set the bitmap image size (right-click on the box, choose Bitmap Image Object then Modify) to the image limits (500x500).
Perhaps too late, but when you right click on picture -> shaping of the object
You've a checkbox "modular size", uncheck it and put manually the size you want on Image tab.

Set the default settings og paper size in crystal reports

How can I set the paper size of legal as default. i.e Whenever user prints the report, it will be print in legal size paper by default.
You can set printer properties( default margin and paper size) through the control panel. You can only set 1 paper size at a time like A4,Legal etc…
You can specify the paper type for a report in crystal report itself. From the File menu take Page Setup and you can specify the paper size there. This will affect only the current report.
Also there are methods available to set paper size at the run time also
For that please refer the link below
Setting PageSize for Crystal Report

Crystal Report sub report grow issue

I am using crystal 10.2, with VS2005 .net. I have used sub report in section and given can grow true in reports. When it displays in browser it shows text vertically grows in columns, where i wanted it to grow horizontally, even if there is so much space it does not grow horizontally.
Please help me how i can do formatting horizontally.Thanks in advance.
You have to extend the field's width to fit the page's max width, then set Text Wrap option for multilines.

jasper report height

I am creating a jasper report. The default size of the report is A4. I want to change the report's height dynamically. I am using HTML Export.So it is creating a html for A4 size(Even though content size is half of the A4 size). If the report content size is small, I want the html page size also small.
Is it possible to achieve?
Try setting the contents Position type to Float in the elements properties.