Adjust PDF format for faster printing

I am using a combination of iTextSharp and PdfSharp to assemble a large PDF file for printing on a Canon Oce VarioPrint 6000 printer. The PDF file replaces the postscript file.

Both of this new file and the old one are transferred to the printer using the LPR command.

The postscript file will take maybe 10 minutes to copy to the printer. My PDF version of the same file takes over 30 minutes to process before it's ready to print. In the meantime, there is no need to worry about it.

Can anyone point me to pointers on how I can change the way I write / create this file, which will reduce the processing time on the Vario?

EDIT: I took a file that was copied so quickly and ran it through Acrobat Preflight, and found many RGB images that he wanted to convert to CMYK. When I look at the PDF, they are all black and white logos, so I provided Preflight to convert all images to black and white.

I also noticed that Preflight merges the background. Half of the pages have the same logo on them, so using this transform is probably helpful as well.

When I LPR'd this file, it gets copied and ripped in less than 5 minutes! So, I think the real question is, how can I do this programmatically?

I am changing the title and tags.

Thank!

+3


source to share


1 answer


In this case, an equivalent result for the preprocessing process can be obtained with iText (or in my case iTextSharp). I replaced the PdfSharp method for aggregating PDF files with the PdfSmartCopy class. This significantly reduced the size of the output PDF when combined with the use of the iText.RemoveUnusedObjects () reader, and my copy-to-printer time was reduced to the same or below the previous breaks we had with the postscript file. Very nice.

Thus, RGB images, which probably contributed to the long processing time, were reduced by duplicate Smart Copies.



More information on PdfSmartCopy can be found at: http://api.itextpdf.com/itext/com/itextpdf/text/pdf/PdfSmartCopy.html

and in Bruno's book iText In Action , more specifically in Chapter 6 .

+1


source







All Articles