Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Page Break in C# Crystal Reports

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. .ReportImage

like image 639
Nidheesh Avatar asked Feb 02 '14 17:02

Nidheesh


People also ask

What is the break statement in C?

The break statement terminates the execution of the nearest enclosing do , for , switch , or while statement in which it appears. Control passes to the statement that follows the terminated statement.

What is break statement in C with example?

The break is a keyword in C which is used to bring the program control out of the loop. The break statement is used inside loops or switch statement. The break statement breaks the loop one by one, i.e., in the case of nested loops, it breaks the inner loop first and then proceeds to outer loops.

What is the definition of Page Break?

page break. noun [ C ] IT. in an electronic document, a mark that shows the start of a new page: Put a page break at the end of the paragraph.

How do you insert a Page Break?

Put your cursor where you want one page to end and the next to begin. Go to Insert > Page Break.


1 Answers

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.

like image 58
Shell Avatar answered Sep 24 '22 17:09

Shell