‎2007 Apr 03 3:14 PM
Hi Experts,
I used function module CONVERT_OTF_2_PDF to convert my OTF file to PDF. When i open this file through Adobe acrobat reader on my PC, it displays pop-up saying that "File is damaged, but it is being repaired". I get this message for a fraction of second and then file opens. There seems to be no issues with file contents. I got to know that there exists a XREF table which stores references of all objects in PDF file. If these references or offset value of this XREF table is not proper then we receive above mentioned error. Since i am just passing OTF file to function and receiving binary contents, i am not getting whats going wrong.
Can anyone help me to resolve this issue ?
Regards,
Nishad
‎2007 Apr 03 4:43 PM
how u got OTF data ?
check the sample program then u will come to know RS*PDF4/5
Regards
Prabhu
‎2007 Apr 05 2:57 PM
Hi,
We are actually creating two spools. We read these spools into internal table with the help of functions RSTS_OPEN_RLC, RSTS_READ and RSTS_CLOSE. Data for two spools are maintained in two different internal tables which are later merged to have one table containing OTF data. This internal is table is then passed to CONVERT_OTF_2_PDF for conversion.
Do you think merging of two OTF files are causing problem ?
I ran program RSTXPDFT4 to download two spools separately on local machine. There is no error at all while opening these files.
Regards,
Nishad