‎2009 Jul 21 9:10 AM
Hi all,
I'm having problems opening PDF files. I'm using FM CONVERT_OTFSPOOLJOB_2_PDF to generate the file into the server.
Then I'm using class/method VIEWER->VIEW_DOCUMENT_FROM_TABLE to open it. The problem is that some files are opened and others don't.
It appears an error form Adobe Reader 'The file is damaged and can't be repaired ' .All the files are generated in the same way. Any clue what can be?
Thanks
‎2009 Jul 21 9:13 AM
Are there images or different characters in the files which could not be opened ? I lived same problem once only in files which contain images and I resolve it trying different conversions.
‎2009 Jul 21 9:13 AM
Are there images or different characters in the files which could not be opened ? I lived same problem once only in files which contain images and I resolve it trying different conversions.
‎2009 Jul 21 9:22 AM
No, I´m generating receipts. The only thing that change from one to other is data. No special characters either images.
‎2009 Jul 21 10:35 AM
What about printer definitions or device types are you sure they are all same for all outputs ?
‎2009 Jul 21 11:34 AM
Yes, they are all the same. I'm using FM 'gv_func_mod_name' to set printer definitions. All outputs have the same.
When I open PDF files directly from the server, there are no errors. It only happens when I use the report.
‎2009 Jul 21 1:08 PM