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?
Related
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
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.
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 problem with my printers. I write an c# .net application. I used report viewer (rdlc file) to view and print reports. It have worked fine, but in these days my printers can not print directly, I must press ok button on printer. This situation does not happen with all printer, just 2 printer (hp 2050 and hp 1006).
Thank for your supporting.
I'm working on rewriting a vb6 application in .NET that exports our Crystal Reports to Pdfs on a daily basis. I'm running into an issue when I export to PDF, the report renders properly (2 pages) in a Crystal Report Viewer, but when I export it (either through the viewer or programatically, it turns into a 11 page document, when it should be a 2 page document). I'm not sure if this is something with the report, or if this is something with the Export()... Please help!
[The text of this answer was originally written by Eric]
Figured it out, I went into the Report Explorer and noticed there were a ton of extra fields in the details section that were not actually showing up in the viewer. I removed the extra fields and voila, back to two pages