New Forum | Previous | Next | (P-PDF) Developers
Topic: Types of streaming?
Conf: (P-PDF) Developers, Msg: 115791
Date: 7/21/2004 03:54 AM
I have been able to set up a CGI that accesses a database and uses a DLL to output pdf data to stdout, which displays a pdf file on a remote ie client.
The current implementation does not start to send any data to the client browser until the stdout file is closed. I am not using Linearization so, I am not getting any streaming.
What I want to do is have streaming data arrive at the client browser as it is accessed from the server database. Sometimes our database reports take 10 minutes to run so, we don't want users to have to wait that long to see any info. So, I looked at the docs for Linearization. It appears that I can not start streaming to the client while data is being retrieved from the data base since the the Linearized file page one must know about the full file size (which I won't know until I'm done accessing the database). Is there a pdf format that can stream as the data is being drawn from the database?
If not, I must retrieve all data from the data base before I can begin streaming, I guess. If this is the case, I'm sure there are many ways to continue. Most practical would be collect all data in a file then, convert to Linearized before streaming?
What I want to do is have streaming data arrive at the client browser as it is accessed from the server database (with expected processing and transmission delays, of course). Is this possible?