.TITLE: Annotating and Printing Text and Ink Together

Summary:

In the Microsoft Software Library, there is a sample called
AnnoPrnt.  This is a Windows for Pens sample that demonstrates
how to annotate a text file with ink, and then print out the
resulting annotated text to any printer.

More Information:

Using this sample as a starting point, developers can see one
possible way to output their annotated text.  Observing that
certain Pen API's are more suited to output to printer devices,
such as in this case, you use DrawPenData; not RedisplayPenData,
which is more device dependent on the video driver and not meant
to be used in printer calls.

The sample also shows how to output different colors of ink, so
that developers can see the results of the color mapping on their
respective printer; some colors will be mapped such that they will
not show up on a printer.

Another method of printing would involve printing the entire image
(the annotated textfile) as a DIB (Device Independent Bitmap), thus
allowing the driver, not GDI, to do the color mapping.  Drivers 
typically do a better mapping to grayscale, so if color is important,
using DIB's is an alternative.  The WINCAP sample in the software
library demonstrates outputting DIB's to printers.

This sample was carefully checked for any possible printing problems,
but since so much is dependent on printer drivers, future errors are
possible.  If you experience problems with this sample, you can 
contact the Windows for Pen support personnel on CompuServe, in the
WINEXT forum, section 8 (the Pen Section.)

