All printings in .Net are done using the PrintDocument class. Basically, you will handle the PrintDocument.PrintPage event and write your code there using GDI+ to draw the page. When you want to print, you just call the Print method of your PrintDocument object. Whether you're printing a picture, a text page or a listview is not important. The principles are the same. You will get the paper size, the margins and calculate your print area. You also calculate the x, y cordinates of each item being printed. It's not simple in my opinion, but it's not too difficult either.
I am sorry for taking long to respond to your help.Thanks a lot Luc001,Chibex64, Aldeene and Pocohontus.i have made some progress and i am capable of printing and priviewing in richtextbox only but for listview i get a blank page.could you help me do it.attached here is an example.
Thanks alot lolafuertes for the assistance.i can see great sense in your code.i got one problem.the listview1 has an error."Expression is of type 'system.windows.forms.form.lisview 'which is not a collection type."could you further assist.thanks in advance.