Description: NicePreview is a Delphi component that aimed to be an easy-to-use print preview control. This is a shortcut to add a sophisticated print preview and off course printing feature to your application, bypassing a nitty-gritty screen-printer dpi (dot per inch) issue. All you have to do is dropping the component and write some routines to paint on it like an ordinary screen canvas (96 dpi by default). Yes, it uses screen dpi, not printer s. So you don t have to worry about converting them to different dpi of printer. All in pixel coordinate.
NicePreview will not be notified when printer configurations change. So you have to call ReadPrinterConfig method after executing TPrinterSetupDialog or TPrintDialog, and redraw all pages to reflect the changes. Seems complicated, but trust me, it s not difficult. See demo project included.
To Search:
File list (Check if you may need any files):
SomeDemo
........\Project1.cfg
........\Project1.dof
........\Project1.dpr
........\Project1.dsk
........\Project1.exe
........\Project1.res
........\Unit1.dfm
........\Unit1.pas
License.txt
NicePreview.pas
NicePreview.res
NicePreviewD7.cfg
NicePreviewD7.dof
NicePreviewD7.dpk
NicePreviewD7.res
Readme.html