Hi Philippe, nice work! Am 02.02.2011 um 18:02 schrieb philippe.houdoin@xxxxxxxxx: > Unfortunatly, BPrintJob is not layout aware, and none of these are currently > recorded in the print job yet, except for corner marks. > > TestPageView* testPage = new TestPageView(pageRect, printer); > + BWindow* dummyWindow = new BWindow(paperRect.OffsetByCopy(40, 40), > + B_TRANSLATE("Test Page"), B_TITLED_WINDOW, 0); > + // B_NOT_RESIZABLE | B_NOT_ZOOMABLE); > + // dummyWindow->Show(); > + dummyWindow->AddChild(testPage); > + > + if (testPage->LockLooper()) { > + job.DrawView(testPage, testPage->Bounds(), B_ORIGIN); > + testPage->UnlockLooper(); > + } I guess the TestPageView is recorded, but the bounds of the child views will be wrong. They are all probably (0,0,0,0)? Does anybody know how the layout can be computed for "testPage"? Maybe setting a layout manager for dummyWindow would already do the trick? Bye, Michael