[Opensource] Printing using 2D graphics
Jeff Johnson
rimg at ee.net
Wed Apr 16 20:23:53 PDT 2003
I have a java app that generates a text string from a users input. upon
completing the input, the app displays the text (formatted with the
appropriate escape codes ( \n ),etc) in a starOffice document, and it
can be printed from there. Now I'm trying write the app to insert a
logo (picture.bmp) and then the text string into the document, so that
the app can print the letter on letterhead..
After numerous failures, the only recourse seems to be java 2D. As I
read the 2d tutorial, it seems that you can insert a graphic and then
print a text string, but it seems cumbersome, and I have a feeling that
the text string will have to be formatted to look acceptable.
Additionally, with 2D it seems that the user can't have a look like he
could if it was all displayed in a S/O template(I think). Does anyone
have any experience with 2D who would like to offer some advice? Or is
there a better method, or better yet, does anyone know if S/O can do it
and I am just dumb for not seeing it?....J Johnson
More information about the Opensource
mailing list