I am using C# with Winforms. I am trying to print bills on a paper roll. The width of the paper is 3in but the length of the paper is dynamic (its a roll paper). The length depends on how many items are there in the list. E.g. in a purchase if there are 100 items sold then it will be quite long roll while for a single item purchased it would be of small length.I want to print the required lines, then stop printing. I save the bill details in one table( bill).
I use a roll of paper, not A4 or A3 .