How To…Add Preview Hot Key Support

Question

“How do I add hot key support to the preview window?  For instance pressing F8 prints the report?”

Solution

Create a preview plugin that overrides the KeyDown routine.  From there you can capture any key presses and perform any task you need.

Download: HotKeyPrintPlugin.zip

Sample Delphi code: