[Opensource] Printing using 2D graphics

William Boyd laidback at telus.net
Thu Apr 17 11:14:31 PDT 2003


Jeff,

You may want to post your question to the Vancouver Java User Group. I'm
sure you will find someone with direct experience there. To subscribe to
that list go to http://www.openroad.ca/vanjug/majordomo.html

Good Luck

Will

-----Original Message-----
From: opensource-admin at jcorporate.com
[mailto:opensource-admin at jcorporate.com]On Behalf Of Jeff Johnson
Sent: April 16, 2003 8:24 PM
To: 'opensource at jcorporate.com'
Subject: [Opensource] Printing using 2D graphics


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

_______________________________________________
Opensource mailing list
Opensource at jcorporate.com
http://mail.jcorporate.com/mailman/listinfo/opensource
Archives: http://mail.jcorporate.com/pipermail/opensource/




More information about the Opensource mailing list