Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
Multiple PDFs in the same spool? |
Post Reply
|
| Author | |
BobW
Senior Member
Joined: 27 Feb 13 Location: Minnesota Status: Offline Points: 64 |
Post Options
Thanks(0)
Quote Reply
Topic: Multiple PDFs in the same spool?Posted: 04 Mar 16 at 5:36PM |
|
I need to print up to 25,000 documents at a time. In some cases these could be existing PDFs on disk. In most cases these are PDF documents I create on the fly using a stock PDF as a form I fill in, print, then discard. If I use PrintDocument it creates a separate print job for each PDF. I need a way to have all the documents be in the same spool file. This is particularly important when I print to a large production printer. The operator wants a single 50,000 page job, not 25,000 two-page jobs. Is there a way to do this? I am imagining something like:
Start Print Job For each PDF PrintPages 1, QP.PageCount next PDF End Print Job Currently I do something like this by using another tool that is a wrapper around the printer object. I use RenderPageToDC to send each page to the spool file. Unfortunately it has one disadvantage I can not overcome: The spool size is enormous -- twice what PrintDocument produces. It's tied to the DPI of the printer and with most printers at 600 DPI and more printers being 1200 DPI, it takes way longer to render and the printers run out of memory. I'm not willing to try to create the entire run as a single PDF in memory as a) I am certain to run out of memory, and b) the user will often have to wait for the entire document is rendered rather than be able to start printing as soon as the first pages are spooled. |
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 Mar 16 at 7:06PM |
|
Hi Bob,
my idea goes in the direction "save all pdf-documents into a special path... merge them all in a periodical way... and then do the printout". I fear you won't like it ;-) Google told me something using the open source pdf creator. Perhaps this is what you like more: http://docs.pdfforge.org/pdfcreator/2.0/en/com-interface/user-manual/how-to/merge-all-jobs/ http://www.pdfforge.org/pdfcreator/manual/queue |
|
|
Cheers,
Ingo |
|
![]() |
|
mLipok
Senior Member
Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 Mar 16 at 7:08PM |
|
http://www.debenu.com/products/development/debenu-pdf-library/features/pdf-printing/
http://www.debenu.com/docs/pdf_library_reference/RenderingAndPrinting.php http://www.debenu.com/docs/pdf_library_reference/PrintDocument.php http://www.debenu.com/docs/pdf_library_reference/PrintPages.php |
|
|
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store