OnDemand User Group

Support Forums => OD/WEK & JAVA API => Topic started by: niteskum on February 18, 2014, 11:11:18 PM

Title: Large Object Support for AFP.
Post by: niteskum on February 18, 2014, 11:11:18 PM
Hi All,
I've huge sized AFP documents (say 500 pages per document) and would like to retrieve 100 pages at a time and convert it  into PDF. I know we can retrive those into segment but how would we know that user has reached last page of first segment and second segment need to be retrived and displayed.
Title: Re: Large Object Support for AFP.
Post by: rick on February 19, 2014, 12:47:29 AM
I don't think API converts the documents based on segments.. When user need to view the document the complete document will be converted as pdf. When accessing such large documents the system and JVM should have enough resources to do this. I have seen JVM crashing when accessing huge ones
Title: Re: Large Object Support for AFP.
Post by: niteskum on February 19, 2014, 06:59:42 AM
Thanks Fred, Can we retrieve all segment into some other area or file and then convert to PDF ?
Title: Re: Large Object Support for AFP.
Post by: jeffs42885 on February 19, 2014, 07:43:54 AM
What about convert to PDF and then turn on compression. I forget what the option is but on our MP system where we convert--load, it was within a2pxopts.cfg...I forget what its called.
Title: Re: Large Object Support for AFP.
Post by: rick on February 19, 2014, 09:55:18 PM
Thanks Fred, Can we retrieve all segment into some other area or file and then convert to PDF ?

If u are not using API and trying to do outside JVM then it can handle large sizes.
Title: Re: Large Object Support for AFP.
Post by: niteskum on February 19, 2014, 10:13:56 PM
We are using ODWEK API.