I have a Canon MG3100 printer.
How can I scan documents from printer to laptop for an application? Really have no idea
https://canondownloaddriver.com/canon-pixma-mg3100-series-drivers-software/
If the printer can also scan, you should read the manual.
For this purpose, a corresponding scan software must be installed on the laptop, which is actually contained in the Canon driver software download and can be downloaded from the Canon support page.
Look in the start menu under "Canon…" to see if this scan software is not installed.