Reducing the size of the spool file and increasing PDF print performance.

Q: We are using PDFDraw class from PDFTron SDK to send PDF Documents to different papertrays in our Enviroment.
`We moved from a Wiondows 2000 Server (32-Bit) to Windows 2008 Server (64Bit). At the moment we have a Problem with the Dokument in the outqueue on some Printers. Some Printers have Dokuement with up to 30MB in the outqueue. Is there any known issue with PDFTron and some Printers?``------- A:`

The problem is that you are using pdftron.PDF.PDFDraw to print the document. With PDFDraw the entire page is rasterized to bitmap which results in a large spool size.

As a more efficient alternative you may want to use 'pdftron.PDF.Print.StartPrintJob (as shown in PDF Print sample: http://www.pdftron.com/pdfnet/samplecode/PDFPrint.cs). Alternatively you can convert PDF to XPS (which is a new Windows spool format) using ‘pdftron.PDF.Convert.ToXps()’ and use MS XPS Print API (http://msdn.microsoft.com/en-us/library/windows/desktop/ff686814(v=vs.85).aspx) to print the document.