Click here to Skip to main content
15,923,789 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
I want to create a printable invoice from items in listview and some comboboxes and textboxes when a button is clicked. I want it to be printable and the content in it should be aligned and in order. what should i do for this. plz help.
Posted

Hello;
You need to use the class System.Drawing.Printing.PrintDocument. The idea of using it is: you obtain an instance of the class System.Drawing.Graphics and render all the graphical primitive you need.
kindly follow that link :Link 1
Link2

regards...
 
Share this answer
 
Well, my brother told me that he uses the .net component of list and label (combit) for invoice generation. it has barcode capability and outputs a pdf (i think) and maybe there's a free version available (i can add it to my projects, may be shipped with vs!?). that's all i can tell.
 
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