Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Problems with convertings RTFs to PDFs using Content Transformation services
System
Server OS: Solaris 10
Teamsite : Version 6.7.2
Opendeploy : Version 6.2.x
Content Transformation services installed on the same machine.
We are in the process of setting up Content Transformation Services to convert RTFs to PDFs using a perl script.
The sequence of events is as follows:
1. Access generates an RTF format file and places in under a folder in the workarea
2. Perl Script reads the folder and picks up the RTF to convert to PDF
3. Perl Script invokes a xDOC.sh shell script with the following options to convert the RTF to PDF
/usr/local/cdocs_xte/APISamples/CommandLineSample/xDoc.sh /usr/java/bin /usr/local/cdocs_xte /default/main/igpinfo/WORKAREA/daily-updates/incoming/iey/5005aiey.rtf Common RTF2FO2PDF /default/main/igpinfo/WORKAREA/daily-updates/docs/clients/gmotors/reports/iey/5005aiey.pdf /tmp/CTS/cmdline_results2.xml /tmp/CTS/cmdline_output2.txt
4. The above command would place the pdf report under the correct folder.
Issue:
The above command works only after the RTF generated is opened in either MS Word/Wordpad, saved and closed. The RTF generated does not convert as is. The RTF2FO2PDF mapping being used is the standard OOTB mapping bundled with CTS.
Attached are the output(s) of the above command with the same file.
1. cmdline_output1.* is the output of the command which fails to convert the RTF to PDF
2. cmdline_output2.* is the output of the command which successfully converts the RTF to PDF after the RTF has been opened in MS Word and saved.
3. Sample RTF file
Please advise on what could be the problem here.
Find more posts tagged with
Comments
There are no comments yet