Printing rtf documents in java

T

Thorsten23

Hello,

I have lots of rtf documents that were created using wordpad. Now I have to
printout these documents out of a java application. Does anyone know how
this might work or in which direction to search?

Thanks for any help!

Thorsten
 
S

Stefan Ram

Thorsten23 said:
I have lots of rtf documents that were created using wordpad. Now I have to
printout these documents out of a java application. Does anyone know how
this might work or in which direction to search?

I do not know anything about printing with Java.

I only can give some hints regarding reading, writing
and RTF in general.

My semantic net knows three programs that can read RTF.

http://purl.net/stefan_ram/garnoo/XOCATALOGUEXOYTREEGXOPROGRAMMINGXOLANGUAGEX
SYRYTYFXOREADER

As one can see there, this includes at least two that are
available as Java libraries.

An RTF documents is written with Java as follows.

new java,io.FileWriter( "example.rtf" ).
append( "{\\rtf\\ansi Hi!\\par}" ).close();

General information about RTF:

http://msdn2.microsoft.com/en-us/library/aa140277(office.10,d=printer).aspx
http://msdn2.microsoft.com/en-us/library/aa140297(office.10,d=printer).aspx
http://latex2rtf.sourceforge.net/rtfspec_45.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top