drawPixel problem, please help!

I am trying to draw pixels directly into frame buffer. I can do draw to a default starting position (0,0) by use glDrawPixels().

What I should do if I want to draw to a specific position? I tried glRasterPos2i, but it doesn’t work like what I thought? So my questions is how to move the “pen” to a specific position, need I set any flags?

Can anyone help? Thanks

glRasterPos2i should work, but if you type all code right and it doesn’t work…
I suggest you using glTranslate() to change the 0,0 position to some other