Phylanx wrote:So, the utility process renders the PDF to EMF and tells the browser process when he is done.
Does he do that for every page he rendered?
So that the browser process sends every single page to the printer?
Each page is rendered separately. See CefPrintViewManagerBase::OnDidPrintPage. You'll need to dig into the printing implementation to see if they're sent to the printer individually or only after all pages have finished.
Phylanx wrote:When is the utility process terminated?
It should be after all pages have rendered.
Phylanx wrote:when the rendering is not finished yet and the browser process terminates, what happens? the utility process doesn't send the pages to the printer, so is this the problem?
Or is it possible that the browser process terminates the utility process (even UP isn't finish yet) when the Chromium GUI is disposed?
This is what you'll need to figure out.