I am trying to print (send to a printer) styled text from a JTextPane, which
uses the DefaultStyledDocument
in its constructor. By styled text, I mean, text at different sizes, fonts,
colors, and types. I've been looking at
at all of the java.awt.print tutuorials, but all they do is explain how to
print a graphical component, or print
a graphic. This seems simple, but all I need to do is print the text inside
the JTextPane, and maintain the
text's styles. Thanks in advance,