logo       

Printing And Really Big PDF's: msg#00262

php.tcphp

Subject: Printing And Really Big PDF's

Hey Listers

I'm trying to create a pdf that could potentially contain up to 150+ jpg
images of about 300Kb in size. I've been using fpdf, but it seems to die
when it tries to handle that many images.

http://www.fpdf.org

After digging into the fpdf code, I've found that it creates a buffer
containing the entire pdf, then presents the pdf inline to the browser, as
a local file on the Web server, or returns the binary pdf data to a php
script. This buffer creation seems to be where the script dies - probably
because it take a ton of memory to do this since all 150+ images are in
memory at once.

The environment is IIS on Windows and PHP 5.

The ultimate goal here is to be able to print these 150+ in one print job.
Seems easy enough, right? 8-) I've looked into printing directly from
the Web server too, but that doesn't seem to save any memory.

Can anybody on the list throw a clue at me and/or give me an idea of how
to print a job that can potentially contain 150+ pdf's? I know this whole
thing seems pretty tricky, but this is what the customer wants...

Thanks a ton





Mark Courtney

http://www.MarkCourtney.com

__
+|oo|+
+|oo|+
||
||
||
||
||
||
_ || _
\\_||_//
| [] |
| || |
/ [] \
\______/




---------------------------------------------------------------------
To unsubscribe, e-mail: talk-unsubscribe-4zcLI8jJc/rYtjvyW6yDsg@xxxxxxxxxxxxxxxx

Please read and follow the list guidelines:
http://www.tcphp.org/mailing_list/guidelines

The tcphp.org mailing list is sponsored by pajunas interactive, inc.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise