Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi all

am making an invoice generator in winforms.
i have two forms in form1 i added some textboxes , and a button
and then a button is cliked

all the data i enterd in textboxes at form1 is displaying in labels i placed at form2. by making obejects

these steps went fine ,
but now the problem is that i want to print my values from FORM2 , in a report manner (i.e with headers , footer , logo , etc )

i dont wanna use crystal reports.. i want to use .net printing controls

i used print document and print preview dialog.. but i think i didnt use it in right manner ...

need your help seniors!

kind regards..
Posted
Comments
Sergey Alexandrovich Kryukov 26-Jun-12 18:09pm    
OK, use PrintDocument. What's the problem? How can you get any help if you don't explain the problem. Apparently, PrintDocument works... :-)
--SA

1 solution

Start here[^]. Amazing what you can find on Google these days: there is even a Code Project article in the list.
 
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