Find a way to print a given document.
If the document implements the correct interface(s) then the document is returned,
else a default
java.awt.print.Printable is used as a wrapper. In this last case it is useful
NbDocument.Printable to describe how to print in terms of
attributed characters, rather than specifying the complete page layout from scratch.