Here you can learn how to control 3D printer or any device with octoprint using raspberry pi .In this video i have used Flash forge 3D printer .This 3D printer comes with inbuilt camera and wifi but we have used for demonstration only .
For any Kind of help comment down below I will help asap .
Thank you