Printing a sales bill using dotmatrix printer
Hi,
I am developing a windows application project for a super market.Now i want to create a sales bill .I need ITEM NAME,QTY,RATE,AMOUNT as Columns. I should enter the item name ,qty, rate and amount .For this which control should i use in c#.net and how can i print the contents of that control through a dotmatrix printer to make printing faster.The bill format which i expect to be printed out is should be like what i have shown below
ABC SUPERMARKET
No/10,Ammankovil street
Chennai
-------------------------------------------------------------------------------------------------------------------------------------------
Bill NO : 1 Date: 12/12/2012
-------------------------------------------------------------------------------------------------------------------------------------------
Sl.No Item Name Qty Rate Amount
-------------------------------------------------------------------------------------------------------------------------------------------
1 xyz 2 120.00 240.00
2 abc 1 500.00 500.00
3 asd 3 100.00 300.00
-------------------------------------------------------------------------------------------------------------------------------------------
Total : 1040.00
Please provide me the code to do this.I have asked this question many times but nobody has given me a right solution.I do not want a printdialog to appear first and then go for printing as this will be tedious process in a crowdy supermarket where continous bill printing is to be made
Thanks in advance
Ullas