Click here to Skip to main content
15,879,490 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello, i want to know that hoe to cut the RDLC Reciept in c#. I am printing it from Thermal printer with report viewer Print Button, But now i have to cut it from middle and the rest Reciept will be generated automatically after cut. Please guide me through this, i will be grate full..
Below is my simple Report Genrating code.
Kindly guide me..
Warm Regards
Tariq Habib

What I have tried:

this.POS_VIEWTableAdapter.FillBybill(this.dataSet1.POS_VIEW, int.Parse(txtbillno.Text));
                this.Payment_InfoTableAdapter.FillBybill(this.dataSet1.Payment_Info, int.Parse(txtbillno.Text));
                this.reportViewer1.RefreshReport();
Posted
Updated 7-Jul-20 2:10am
Comments
Garth J Lancaster 7-Jul-20 23:40pm    
What you have provided so far doesnt provide us with enough information to be able to help you. Please use the 'Improve question' button to add more information, maybe the data and how FillBybill reads it. It may be that you have to 'partition' the data by a number of rows for the 1st 1/2 of the Receipt, then the rest of the items go on the 2nd 1/2 of the receipt.

It also depends on the RDLC definition though

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900