hello, i have an application that renders an openlg context to a dibsection, and this is in turn printed on a printer from a dib. everything works great but the problem is that i want to specify 300 dpi as the output resolution on the printer's device context. there must be a way to set this, i have done it in other applications (printes out at 300 dpi that is, but i did not write the code). can anyone tell me how to set the resolution? i know i can get the current resolution with GetDeviceCaps and LOGPIXELSY, and LOGPIXELX. what i want to be able to do is set these values to 300, or by some other way set the output resolution of the device context. i want to be able to create my image such that it will always print out at 300 dpi. the only thing i cannot figure out how to do after researching is how i can explicitly set the output resolution of the printed page, provided of course the printer can handle it.