How to draw openGl in Bitmap canvas

Thanks  to those who take the time to answer my question.
I want an  image of what is drawn on my openGl window.
I would like to draw the OpenGl objects in bitmap to save it  or to
print it how can I do it ?
Help me please.