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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Multiple PDFs in the same spool?
  FAQ FAQ  Forum Search   Register Register  Login Login

Multiple PDFs in the same spool?

 Post Reply Post Reply
Author
Message
BobW View Drop Down
Senior Member
Senior Member


Joined: 27 Feb 13
Location: Minnesota
Status: Offline
Points: 64
Post Options Post Options   Thanks (0) Thanks(0)   Quote BobW Quote  Post ReplyReply Direct Link To This Post 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.



Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 453
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store