In my C# .Net windows application am using crystal reports to print employee information.Am using Roll Paper (A4) for printing purpose.Here when i print the report,its working fine.My issue is that if the table contains only one row of record,it takes the whole page to print there is no page break. ,i mean the whole A4 paper to print the report.But i need only a small portion of the same.How to put page break and remove the white blank space after the report. .
I understand your problem.it is not a one sided problem even if the records are more than A4 page capacity then your print will not be printed in single piece.
Crystal Report does not support dynamic paper size and roll printing does not have fixed paper height. so, using crystal report you could not place page break at the end of your report data.
You have to create your code to print your report if the report structure is not complicated. I don't know much about microsoft reporting tool. i think microsoft reporting tool may help you.
Related
I am trying to generate a report in SSRS BIDS 2008 and export it to PDF format in my applicaiton. I have a main report with 20+ sub reports. On Exporting to PDF I am getting multiple blank pages in between.
I have googled up a few things like setting the Page Width, Margins, Keeptogether and Remove White Space. But still I am facing the issue.
Please help.
I believe that your Sub Report page size are not even, ensure that all are using the same page size E.g.: if you use Letter format as page size ensure all the Sub Report have the same Letter format. Also your Main report also must use the same page size. Hope this helps!
I have developed a POS application in C# with crystal report, i want the invoice to be printed on a continues paper(thermal printer size), i have designed a receipt, but when it prints, it goes on multiple pages. i have even tried to collapse header and footer of report. but no good.
Can anyone help me out?
I am working on a project that prints bar-code labels using crystal reports in windows forms application by c#.
the problem is what happens when i am trying to print the report:
at the end of every page there are two free labels added to the printed report.
i want the report to be printed continuously without any gabs or free labels in between pages.
here is the report page setup and the printer preferences:
as the picture shows, my report has 4 bar-codes, and every page in the report has only 2 bar-codes, so i have 2 pages to be printed ... after every page there are the 2 free labels as the picture,
the question is how to prevent that and print the 4 bar-codes without any gabs?
This is due to the crystal report headers and footers.
Open your report and suppress all its headers and footers if you are not using them. (Suppress report header, report footer, page header and page footer)
Hope you have set your printer settings properly.
[solved]
i keep watching the number of pages at the report and offline printer
i found that the number of pages always get duplicated at the printer how ever i changed the height of the report page for example to be 1 cm there always one free page at the end of every page,
so i tried to change the width of the Details Size to be more width and make all margins equal 0
then it get worked fine as expected
I'm working on a WinForms program in C# which uses a ReportViewer control to display a fairly large *.rdlc report. The report was recently upgraded to the 2008 version, and now displays what should be 80+ pages as a single page and cuts off the bottom. It only seems to happen on one specific report, though it works fine in print preview and exports to PDF OK.
It may be that the report is just too long?
The only thing I've come across on Google suggested making all the cell KeepTogether properties true, which didn't help.
Open Your .rdlc file
goto Report-->ReportProperties-->Layout
Adjust your height,width,top,bottom
I have a receipt made using Crystal Reports where the page is 4 inch wide and the height should be dynamic. I set the height to 2 inches, because I don't know how to make it dynamic. The printer is a TVS RP-45 Justbill printer.
The printer is ejecting paper after printing. How do I stop this from happening?
Any solution besides Crystal Reports would be helpful. The program is written in C# .NET 2.0 Winforms and connects to a SQL Server 2005 database.
Report Header Section
Bill no : 101
______________________________________________
Detail Section
Item Code Qty Amount
[ItemCode] [Qty] [Amount]
______________________________________________
Report Footer Section
Grand Total [GrandTotal]
______________________________________________
The Report Footer Section is using around 2 inches so I set the Height of the paper to 2 inches. This did not solve the problem. The paper height is now 2 times what it should be if there is more than 1 item.
The printer uses roll paper and it should feed more paper proportionally with the number of items sold.
Please help me solve this without wasting paper.
I'm going to suggest something a little different.
Create a new document in Notepad on Windows or a plain text editor on other OS's.
This document (.txt) should just contain one line: TEST_LINE_1
Send that document to your printer and see if the same after print feed continues.
If it continues to feed after the single line of print:
Check settings as follows ( I know you said you've already checked ):
From the manual:
[ http://www.tvs-e.in/pos/pdf/RP-45%20User%20Manual.pdf ]
To set the factory settings of the printer, first press FONT, Line feed and
PRINT buttons together and then switch ON the printer using ON/OFF
switch.
Usually you have to hold those buttons while switching it off and back on - hold until the printer prints its config off.
If you can post back with what the print out says word for word that would be good.
If it doesn't feed after the single line:
Your design is most likely too wide for the format/internal limits of the paper width and it's wrapping around onto a new line for every line you have.
Are you able to post a photo of what is being printed with how much paper it's on-feeding by?
Try printer on a different computer or laptop if possible with single line text file (as above) or with your custom report job - is it the same output?
If the printer is installed as a USB device: Remove all traces of the driver files and completely uninstall it as a printer - reinstall fresh copies and see what happens - the same?
I appreciate some of these things always 'seem obvious' when you're up against a problem but it does help to start over with the most basic of things..
Just remove headers and footers, It will work fine.