I try to adapt Bitmap sample (from DDK) to save in JPEG or other
formats, all pages printed.

I'ts works well when all pages have the same orientation (all pages in
portrait, or all pages in landscape).

But when I try to print mixed pages from Word or other software, I get
only the last one.

Example : 1st page is in Portrait
2nd page is in Landscape
3th page is in Portrait

I get only the page #3.

In debug mode, i see the OEMSendpage is never called in these case.

Have you an idea of my problem ?

Thanks