I recently "dismembered" a discarded HP printer and saw exactly the same component, as well as a couple of DC motors with optical encoders at the back. I think this tutorial may point you in the right direction (some of the questions you are asking are addressed in the second half).
Please do post back if you find out more...It will be a few days at least before I have time to play around with the goodies I retrieved from my "victim".