title: TVS RP-45 roll paper printing
body: <p>I have a receipt made using Crystal Reports where the page is 4 inch wide and the height should be dynamic. I set the height to 2 inches, because I don't know how to make it dynamic. The printer is a <a href="http://www.tvs-e.in/pos/home-just-bill-rp45.asp" rel="noreferrer">TVS RP-45 Justbill printer</a>.</p>
  
  <p>The printer is ejecting paper after printing. How do I stop this from happening?</p>
  
  <p>Any solution besides Crystal Reports would be helpful. The program is written in C# .NET 2.0 Winforms and connects to a SQL Server 2005 database.</p>
  
  <pre>
  
  Report Header Section
                        Bill no : 101
  ______________________________________________
  Detail Section
  Item Code               Qty           Amount
  [ItemCode]             [Qty]         [Amount]
  ______________________________________________
  Report Footer Section
  Grand Total                      [GrandTotal]
  ______________________________________________
  
   </pre>
  
  <p>The <strong>Report Footer Section</strong> is using around 2 inches so I set the Height of the paper to 2 inches. This did not solve the problem. The paper height is now 2 times what it should be if there is more than 1 item.</p>
  
  <p>The printer uses roll paper and it should feed more paper proportionally with the number of items sold.</p>
  
  <p>Please help me solve this without wasting paper.</p>