-
Print Preview
Hi Everyone,
I have cooked up some code to print everything that is on a form. The only problem though, is that I cannot see what I have done until I print the form. Is there any code out there that I can use to create a print preview? On the form I currently have some text boxes, a ListView control, labels and a few horizontal lines on the page. I would appreciate any help. Thanks.
-
Re: Print Preview
There are a number of good print preview's out there (some with code, some without), assuming you are using ordinary printer functionality like CurrentX, CurrentY, Line, Print, etc. You may have to modify your code a bit to utilize these, since the object you print to is the print preview window rather than the printer itself. Here is one with code:
http://www.freevbcode.com/ShowCode.Asp?ID=1167
Also go to http://www.codehound.com/vb and do a search for "print preview". Quite a number of links there.