|
-
April 12th, 2001, 05:51 PM
#1
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.
-
April 12th, 2001, 10:34 PM
#2
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|