How to Print 2 window-widgets on same paper?

Hello!

I have a problem printing 2 windows on the same sheet of paper.

Problem: on first Preview, both windows are on the Sheet, but
if you zoom in, or print it out, the first widget is not displayed/ printed.

Can Anyone help me out?

Code is like:

pc=PpCreatePc();
dim=PpGetCanvas(pc);
dim.h+=dim.h;
point.x = 0;
point.y = 400;
PpSetCanvas(pc, dim);
PpStartJob(pc);
PpContinueJob(pc)
ppPrintWidget(pc, dialog, NULL, NULL, Pt_PP_NO_RESIZE);
ppPrintWidget(pc, dialog2, &point, NULL, Pt_PP_NO_RESIZE);
PtFlush();
PpEndJob();
PpPrintReleasePC(pc);

thx.

andreas