Printing using PrinterJob frequently produces partial pages
I've written some code using the Book object which produces a set of pages. It uses drawRect and drawString but is really pretty simple. It works fine, API is clear and it works ... intermittently.
But ... frequently (at least half the pages of a 6 page document) a page will not render completely. The next page will render just fine.
If I render the document again (same code, same document, same printer) other pages will produce a partial update and the pages that were bad will work fine.
This is very annoying. I looked into just producing a postscript version and using the DocPrintJob, but thats not obvious and I kept running into problems getting the printer to use 8.5x11 instead of 17x11.
I would much rather have the PrinterJob style solution work.This is on a Windows XP system communicating to an HP laser printer with postscript support (level 2 or level 3).
It almost feels like a synchronization problem, since it is so random. I am running this on a PC with 4 CPUs.
Has anyone had this problem before and is there a solution?

