Click to See Complete Forum and Search --> : How to print with OpenGL?
Natali Levit
May 5th, 1999, 03:21 AM
When I try to create OpenGL rendering device context for printer DC, wglCreateContext() returns NULL. Are there need to be any other initialization before calling this function? I tried to use SetPixelFormat() with all possible flags and parameters, but nothing changes.
Thanks for help
Karl
May 5th, 1999, 05:03 AM
Have a look to the section code of this site; there are 3 articles to print with OpenGL.
Printing OpenGL in MFC - John Wagner (1998/08/08)
Printing and Print Preview OpenGL with MFC - Wenfei Wu (1998/11/02)
Printing with OpenGL - Another method - Andrew Bryan (1998/12/15)
K.
Ash to ash and clay to clay, if the enemy doesn't get you, your own folk may.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.