Hi there,
I'am currently experiencing big problems (OutOfMemory stuff) while trying to print a huge FixedDocumentSequence on Windows 8. It is no problem to construct the sequence from our Visuals and hold it in memory. I have solved this by creating temp documents
that are max 100 pages long and merging them into one sequence.
The problem occurs on XpsDocumentWriter.WriteAsync(sequence) and only on Windows 8. There is no code from our side, that can influence this process. There is just a FixedDocumentSequence and the call to WriteAsync. This call causes at some point the OOM.
I must say that the document sequence countains 1160 pages, each with a serialized visual for the page content.
Because I asume, that there is somewhere a bug in the XPS printing implementation of Windows 8 (no problems with same code on Windows 7), I need a way to print a FixedDocumentSequence directly without using an XpsDocumentWriter at any point. Does anybody know a way with a PrintQueue and a FixedDocumentSequence in hand?
Thanks for replying.