Post
by mrtflv »
I can change orientation during a print calling the
ResetDC(hDcPrinter, pDevMode);
just after the EndPage(hDcPrinter);
the pDevMode is a pointer to the original DevMode struct. You have to set the field pDevMode->dmOrientation with the orientation you desire.
Hope this help
Flavio