pls help to print

i want to take a hard copy of the ogl window usning print option. pls help me asap. the windows has an image.

thanks in advance.

This isn’t a very advanced question, nor is it particularly OpenGL-related.

OpenGL doesn’t do printing. Take a screenshot of the viewport using glReadPixels() and print it using the appropriate Windows API functions. More info on MSDN.

– Tom