WordWrap - Printing-with-word-wrap demo for Visual Basic 5
Copyright (c) 1994-97 SoftCircuits Programming (R)
Redistributed by Permission.

This demo program demonstrates a technique for printing unformated
text to the printer. The code is implemented as a class module to
make it easy to reuse the code in other projects. The code prints the
text to the printer with word wrap, margins and page headers and
footers. You can customize the margin settings and header text using
the class's public members.

Note: The page margins implemented by this code are only close
approximations and do not take into account the edge of the page that
the printer cannot print to. For more precise control over margin
sizes, use GetDeviceCaps to determine the physical page offsets and
adjust margins accordingly.

At the time this demo was put together, SoftCircuits was working on
an enhanced version of this code that would be implemented as a VB
control. This enhanced version will most likely not be free but, if
you find youself needing better support for text printing, you might
want to stop by our web site and see what we have to offer.

This program may be distributed on the condition that it is
distributed in full and unchanged, and that no fee is charged for
such distribution with the exception of reasonable shipping and media
charged. In addition, the code in this program may be incorporated
into your own programs and the resulting programs may be distributed
without payment of royalties.

This example program was provided by:
 SoftCircuits Programming
 http://www.softcircuits.com
 P.O. Box 16262
 Irvine, CA 92623
