Printer Prints with some white extra spaces on header using rdlc report - c#

I am doing Winforms with RDLC report. My RDLC report show white space at the Top of the report . The size is exactly same as my header.
I also set ConsumeContainerWhitespace to True , but it still not helping
see Images

Related

How to show report data in center of RDLC report?

I am using RDLC to generate product receipt but facing issue with layout and design in RDLC.All my report contents are not coming in the center.
My page size is 7.30 centimeter and I want this content to be in center of the report
This is what I am trying to achieve(Expected Output) :
https://i.stack.imgur.com/eV8Mc.png
This is what I am getting :
Also my first table side border is cut as shown with red circle.
How do I make all my contents in center of the rdlc report ?
Updated : Print Layout setting of reportviewer with A4 size and Landscape:
This is what it looks like when I print receipt using Thermal Printer :
There are 2 receipt in above image : Original company generated receipt(right side) and the one generated by rdlc(Left one).
Left side : That receipt is generated by my winform application using RDLC report.As you can see there are lots of content that is cut(removed) in the receipt.
Right side : This is the original receipt and output I am trying to achieve and the red circle indicates things that are being cut(removed) in my reciept(Left one).As you can see BillNo,Date,Time,Title as well as both the table contents are cut(removed in my left side receipt).
I have measured the size of table in Original receipt and it is as below :
I have tried to set the size of table i.e 5.2 centimeter in my rdlc report but there is no such option available.
Update 2 : Based on my current RDLC setting this is what I have got :
I have manage to got the receipt size as per company original receipt but now only problem here is data is not coming in center and tables are being removed(cut).
Here is the Thermal Printer setting used for original receipt :
Based on above image,that is why I have kept report Width : 8cm and Height as 29.7 cm
Looking at your photo it seems that you have a 8cm receipt with 1.4cm left/right margin and 5.2 body.
So you can use this settings in Report > Report properties > Page setup:
paper size: custom
width: 8cm
left/right margin: 1,4cm
The body width must be 5.2cm and you could fill it without using margins.
This is the output with light blue body and white margins.

C# - How to Responsive StimulSoft Design

I am new to C# and StimullSoft Report.
I have a report.mrt file that created by Stimulsoft (ver 2012) and Paper size that report has been designed is A4.
On form I have a header, Footer and several textboxes. no panel and etc.
If users change paper size from print preview, all of content on REPORT.mrt has been moved! (Big, Small, Change and So ugly!) What is the solution?
Thanks
Align the Header and footer texts by using Dock style property. Also it will be better if you use use latest versions of Stimulsoft.

Crystal Reports with Arabic text alignment

I'm using ASP.NET, Visual Studio 2013- SP4 with Crystal Reports v13.0.15 and I have problem of Arabic text alignment as follows:
Right and center aligned text always appear left aligned on printing, it is shown OK in browser and designer (I have tried
different printers:my Deskjet printer, Microsoft XPS writer and pdf
writer).
This problem is with Arabic text only, English text aligned well when printed.
I face this problem with TextObject and with multiline FieldObject (or FieldObject with CanGrow set to true).
Exporting to pdf works well, I have problems with printing only (using the ActiveX Mode in CrystalReportViewer, IE11).
For example the following picture is browser view (everything is aligned Right, gray boxes are text objects):
while the printed version is as follows:
I appreciate any help. thanks in advance.
This is due to use english word with arabic.
if only arabic text come it work good if english text come with arabic then it align automatically left.

Printing in Crystal Reports in Visual Studio 2010

I have a project written in C# in VS2010. I am attempting to print a barcode but am having an issue. The barcode print page is located in a crystal report.
The bar code field has the formula that equals *25664A-1$1%0/A* which is correct.
It is in the font - SKANDATA C39.
When it prints, the rest of the report prints correctly but where the barcode should show, it instead shows- *25664A-1$1%0/A* .
Is this due to a wrong font? I need to get this to print the barcode instead of the numbers. It is something specifically wrong with the barcode field since the rest of the report works/prints fine and the formula extracts the correct data.
Any help would be appreciated? If you need more information let me know.
Thanks.
I downloaded a new barcode font - C39hrp24dhtt0 (from http://www.free-fonts.com/font/c39.html)
Simply changed my old font to my new font (SKANDATA C39 to C39hrp24dhtt0) (in format editor - font tab) and it now prints the barcode and scans perfectly. Had to make changes to the font size to get the same appearance but after that it works properly.

ReportViewer 2010 control either prints part of a table on a separate page or prints an extra empty page

I just started using ReportViewer control VS2010 (web, local).
My report is very simple - 4 columns, all fit on a screen fine.
When I click "print" button, the report is printed on 2 pages ( 2 columns on one and 2 on another).
If I change the margins on a page, all 4 pages are printed on the same page but I still have 2nd empty page printed as well.
If report spans across multiple pages (2 for example), with margins changed I get first page, second page is empty, then third page fine and the fourth page is empty.
Any suggestion how to make the report printed without empty pages?
Thank you,
Jenny
In my experience (which has been a painful one...), I found that if the report is printing an extra page it means that somewhere, your margins or page size of the subreports (if you're using any) are not equaling 8.5 X 11 (or whatever size paper you're using). make sure that your your table (i'm assuming that's what you're using?) is in the bounds of a sheet of paper. keep in mind you need take an inch of of each side (if you're using .5" margins [.5" for each side]) to keep the table on one page.
I had the same problem and m.webster's answer was spot on for me.
Check that the SIZE property of the reports BODY is within your REPORTs Pagesize and Margin properties.
In my case, I had set my report to A4 and the properties of the report (click in the grey area of the designed) showed: PageSize: 21cm, 29.7cm. I built my report but printing resulted in content spilling over to a second page.
When I turned on the RULER option, it was immediately obvious that my reports BODY (white content area) was wider that then PageSize of the Reports page size.
When I reduced the BODY's size->width property down to 21cm (after rearranging all my content to allow this resizing) I found there I was still getting the second page problem. A quick change to the reports margins down to 0 resolved this.
The final white space problem I had was an empty page appearing at the end of some of my reports. This was resolved by reducing the height of the reports BODY so that there was no blank space after my content. Because the initial report body appears in a nice portrait layout, I had assumed that it was just representing the final page which was not the case.
Its a bit of a late answer to the problem but I've added it to save someone else the wasted hour of head scratching when using this slightly unintuitive piece of kit.

Categories

Resources