Subj : Re: Setting Printer Orientation between pages To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Tue Oct 28 2003 11:49 am Peter Klinge wrote: >does anyone have some hints to change the printer orientation between >the pages of one print job. I have tested with ResetDC between EndPage >and StartPage, but I have got an error 183 (=ERROR_ALREADY_EXISTS) >everytime I have switched from portrait to landscape (the other way >round works without problems) Good question. Don't know for sure, but it looks like SetJob() with a JOB_INFO2 which has a DEVMODE might do the trick. Perhaps a GetJob() to set the other parts, then fix up the devmode with the orientation, then SetJob(). You'll want to set a new font as well... Let us know if this works. .