The 5011 mistakes is a popular hardware errors; seeing that you have already tested that there aren't any paper jams inside the printer, with a flashlight or different shiny mild, please check the paper feed and print head areas of the printer to confirm that there are no different obstructions inside the printer that can be inflicting the Canon pixma support code 5100.