Click here to Skip to main content
15,902,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear sir this is the first time i am posting my question and Thanks in advance.

sir i have developed billing software and now i wanted to get printout of the

Eg:
itemname itemcost itemdisc  total
aaaa     100      40          60

   subtotal:100
       disc:40
       tax:{total+tax(10.3%)}
grand total:66.18rs

so can you help me with the code for this.
Posted
Updated 30-Dec-11 8:29am
v3

Look at using a PrintDocument[^] - the link has an example.
It isn't difficult, but it can seem a little fiddly, as you have to position text / graphics / lines by code instead of with a designer. It is pretty simple, but it's worth using a PDF writer or similar as the print device for development!
 
Share this answer
 
Another possible tool could be Sql Server Reporting Services. Have a look at Reporting Services and ReportViewer Controls in Visual Studio 2010[^]
 
Share this answer
 

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