Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Print on continuous paper using c#

I write a one POS system. I want to print on continuous paper but I don't figure out how I can accomplish this.

I use the .net (C#). I try with crystal report as well as System.drawing classes.

Any idea will be helpful for me...

like image 795
user404561 Avatar asked Oct 31 '10 17:10

user404561


1 Answers

If you're using a C# PrintDocument to generate your print job, could you just initialize the paper size to what you need for header/footer then increment the PageHeight property before you draw a new line?

printdoc.DefaultPageSettings.PaperSize.Height += lineheight;
like image 174
Kevin Stricker Avatar answered Nov 04 '22 09:11

Kevin Stricker