View Full Version : TO CONVERT RTF DOC IN IFS TO MODCA OR TIFF FORMAT???
David Abramowitz
11-29-2005, 02:52 AM
Have you tried converting the RTF into a word document? Dave
Nandaaa
11-29-2005, 05:48 AM
Hi Dave No. I have not tried converting RTF to word Document. Waiting for ur feedback. Thanks Nand
David Abramowitz
11-29-2005, 01:03 PM
Simply point Word to the folder within the IFS where the document is located. Open the document and Word will do the rest. Be sure that you have installed all of the conversion filters for Word. It is not the default in all editions, but it is available. Dave
Nandaaa
11-29-2005, 06:41 PM
Hi I have a RTF document in IFS( QDLS). This RTF has my company logo embedded in it. We have WAF and IWP viewer installed in our AS/400 and Windows. We need to view the RTF document through IWP. But this RTF is not properly viewed through IWP. The text part is displayed properly but the logo doesnt appear properly(It consists of junk characters). I need to convert RTF document to MODCA format so that it is viewed properly through IWP(Image Workstation Plus Viewer). There is WAF API which converts spool file to MODCA and overlays the Logo automatically and imports to CASE(a directory in IFS) where it is viewed properly through IWP. For this I need to convert my RTF (without LOgo. I have removed the embedded Logo coz it is automatically overlaid when I convert the spool file to MODCA format) to a spool file. I tried to convert my RTF to spool file as follows: 1) I used CPYFRMIMPF to convert the RTF file to a database file. I have already created the database file with recordlength of 132. 2) Then I used CPYF file(qsysprt) to get the spool file. But to my dismay I got the Spool file with the junk characters like below:
tf1ansiansicpg1252uc1deff0stshfdbch0stshfl och0stshfhich0sts f36fscriptfcharset0fprq2{*panose 00000000000000000000}Comic San f41fromanfcharset162fprq2 Times New Roman Tur;}{f42fromanfchar f45fromanfcharset163fprq2 Times New Roman (Vietnamese);}{f397fs f401fscriptfcharset162fprq2 Comic Sans MS Tur;}{f404fscriptfch red255green255lue0;
ed255green255lue255;
e d0green0lue128; ql li0
i0widctlparaspalphaaspnumfaautoadjustri ght
in0lin0it and inbetween the text of my RTF. Is there any way to convert the RTF to a readable Spool. I mean i need only text that is in the RTF document. So that i can import the spool file to case and view through IWP viewer. Is there any AS/400 tool or java api or java tool which converts this RTF document to MODCA or TIFF or JPEG format??? Your help will be graetly appreciated. Plz help me. I am really struck at this point. Thanks a lot in advance. Have a nice day Waiting eagerly for your suggestions and help. Thanks and Regards. Nand.
Nandaaa
11-29-2005, 06:41 PM
Hi David Thanks for the reply. Actually my requirement is , I need to Convert the RTF file in IFS to MODCA OR TIFF Format so that the logo appears when viewed through IWPM(Image Plus Workstation Viewer). So is there any AS/400 utility or Java source code to perform this????? If thatz not possible, Is there any way to convert the RTF file to a spool file without the junk characters( I.e I need only the text in the spool file not the Junk characters like /par}}}}@#####*&^$ ) Thank u once again for ur reply. Waiting for ur reply Thanks a lot. Regards Nand.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.