Rasmus Moustgaard, The Nordic Cochrane Centre
This project demonstrates how you print directly through the Windows API. Two class libraries are included: 'APIprinter' is a generic class for printing through the API using StartDoc, StartPage, EndPage, and EndDoc functions. It can be used for printing from controls which write directly to a device context. 'RTFprinter' uses 'APIprinter' to preview and print the contents of a rich text control with user defined margins, header, footer, and page numbers.