On Feb 13, 2007, at 2:00 AM, Jacopo Cappellato wrote:
David E. Jones wrote:The itext library does have tools for combining PDFs into a single big PDF. We use this in the CompDoc stuff in a content manager. If the docs are too big you might have memory problems, but otherwise that should work fine. Alternatively, something for server side printing that just adds the documents to a queue for asynchronous printing might work even better. I guess you could create a service that prints (or creates and prints...) a single document and use the service engine for the job management.-DavidDavid,the second approach is really interesting. So, when the user bulk submit a print request for a set of documents (for example orders), using a service-multi event I can submit async service job to the job sandbox: each service could be a service that given an orderId, creates a PDF and stores somewhere in the server (?); when all the async services will be executed the user will find the list of documents in the folder.Is this what you were suggesting?
You could even go a step further and call the service that generates the PDF asynchronously, and then have it call a service to print the PDF from the server (ie have the server connected to the printer, or accessing it over the network). Then as documents are ready they just go right to the printer.
-David
smime.p7s
Description: S/MIME cryptographic signature