November 29, 2000 - Got another update from Joseph Wilcock on the print preview component, here are his notes and a link to the new file:
I've done some more work on your print preview component. There is a slight problem that occurs when you call the "PrintDialog" method that allows the user to change the printer. If the user changes the printer, and the two printers have different resolutions, then the result is a printout with the wrong width/height. This came to light when some of our users were changing from Acrobat PDF Writer (with a resolution of 72dpi -- don't ask why that low, but that's what they had) and changed it to an HP LaserJet that had a 600 dpi resolution. The printout always looked like a thumbnail sketch.
The other things that I did was to allow the individual naming of each page. That way, if the user were to "SaveToFile" the pages into metafiles, each page would have a unique identifier. This had a specific application for us when I did it.
I zipped up my "Preview" directory, so it has more than your component, but all of them were free as well, so I don't think any of them would mind. I hope you find it useful!
jw-preview.zip (1,000 KB)