Printing an Edit Control

An application can display a pen edit control in any device context by sending the control a WM_PRINT message. The message's wParam contains the HDC handle for the device context. This technique, which applies to all pen edit controls, provides a means for printing the contents of a control window.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
Unix Manual Pages
Delphi Examples